Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

BQ also provides it's users the functionality to create and execute API tests within the platform itself. 

How to create an API Test?

  1. Click on DESIGN on left panel.
  2. Click on Test case.
  3. Create a module.
  4. Click on Add Test button.
  5. Enter the test details under Test Case Details tab. Make sure to select the test type as API from Type drop down.
  6. Click on save button.
  7. Click on Test Steps tab.
  8. The request made is displayed under the Requests section, while the request details are displayed under the Details section.
  9. For any request made, enter the meta data : Group name, URL for the request, Authentication.
  10. Enter the parameters to verify under Header Parameter, Query Parameter, Body Parameters, Extract & Store and Assertions tabs.
  11. Click on Save button.



How to execute an API Test locally?

  1. Click on DESIGN on left panel.
  2. Click on Test case.
  3. Select the test case to be executed.
  4. Click on Test Steps tab.
  5. Click on Run button.


How to execute an API Test remotely?

Prerequisite :

  • Test case should be added to a Test Suite.

  1. Click on EXECUTE on left panel.
  2. Click on Execute Automated Tests.
  3. Select the Suite that you wish to execute. You should be able to view the 'list of test cases' under that suite along with its 'Last Execution Details'.

  4. Select the test cases that you wish to execute.
  5. In the Execution Details section, please enter/select the below details. 

    • Run Name
    • Executing in Sprint (Select the sprint in which you are executing the test cases)
    • Build Number
    • Browser instance (the number of browse instances you wish to run the test cases on)
    • Distributed across Machines (Select the check box if you wish to distribute tests on various connected machines)
    • Execution Tags (if used any in the test cases)
  6. If you expend the Advanced Settings section, you will see two options Uninstall App (Mobile) and Clear App Data (Mobile). Clear App Data (Mobile) checkbox will be checked by default. 
  7. When you expand the Execution machine(s) section, you will see the Desktop/Device(s) section, where you should be able to view the connected machine's name and the browsers available on that machine.
  8. Select the browser on which you wish to execute the test case.
  9. Click on Run Selected button (if you have wish to execute selective test cases) or either click on Run All button (if you have wish to execute all test cases in the suite).



Remote Execution

Execution

API Testing




  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.