How to Write Tests

1. To start working with API HUB for Test, click on the Test tile on the API Hub main page.

API_Hub_For_Test_Screenshot_landingPage.png

2. Test Steps screen appears. Click on the plus icon to reveal the options available.

API_step.png

3. After you choose your Test Step type, fill in the details.

API_Hub_For_Test_Screenshot_APIcall1.png
API_Hub_For_Test_Screenshot_APIcall2.png

You can dynamically select values in an API response and assign them to a variable to use in another API request.

API_Hub_For_Test_Screenshot_APIcall3Values.png

To find more check Define an API request.

Once you completed all of the test steps, you can run test for your test case.

API_Hub_For_Test_Screenshot_RunTestCase.png

Click View Results to find more details connected to your test run.

API_Hub_For_Test_Screenshot_RunTestCaseViewResult.png
API_Hub_For_Test_Screenshot_TestCaseRunResult.png

4. Go to Test tab, to see the list of all your Test Cases.

API_Hub_For_Test_Screenshot_TestCases.png
Publication date: