Creating API Test Case

To learn more about how to create a new Test Case Folder, Test Case, click here.

Creating New API Test Step Group

To add a Test Step Group in a Test case, perform the following actions:

  1. On the Home page, select the required project and select Design Studio.

  2. Go to the Test Case tab and select the created Test case.

  3. On the Test Case tab, select Create Test Step Group and select Add new test step group. The Test Step Group dialog opens.

  1. Enter the name in the Test Step Group Name text box and select Webservice as an Application Type.

  2. Select Create to add a new Test Step Group.

circle-info

Note: You can also add a Test Step Group from the Reusable Library.

  1. This creates a new Webservice Test Step Group inside the Test case.

  1. Select the required options to add the Test Steps. Here are the two ways to add steps:

  • Add from repository

  • Add Manually

chevron-rightAdd from repositoryhashtag

To add Webservice elements from the Element Repository to the Test Step Group, perform the following actions:

  1. On the Test Case tab, select the created Test Step Group and select Add from Repository. The Element Repository page opens.

  1. From the Element Repository page, drag-and-drop the Webservice elements repository into the Test Step Group.

circle-info

Note: Once you drag and drop elements from the Element Repository in a Webservice Test Step Group, all JSON and XML keys, including parent and nested keys, are available in the Element Name dropdown, and the Element Name, Action (Keyword), and Input Value fields automatically populate in the Test Steps.

  1. Select Save to save the Test Steps.

chevron-rightAdd Manuallyhashtag

To add Webservice elements manually to the Test Step Group, perform the following actions:

  1. On the Test Case tab, select the created Test Step Group.

  2. Select Add Manually to add a new Test Step.

  1. Select Add Step (+) icon and select Add step manually to add more steps to the Test Step Group.

circle-info

Note: You can also add multiple Test Step by selecting the Add Step (+) icon for an individual step.

  1. A new Test Step is created. Select the Webservice List as an Element Type and Action from the dropdown.

  1. Select Save to save the Test Steps.

circle-info

Note: To run the created Test Steps, you can either select Debug or create an Execution List.

Key Points to Know

  • You can directly create a Test Case and perform API testing without executing any API request from the Element Repository page.

  • To automate Webservice in Avo Assure, there is no need to capture application elements as APIs work in the backend.

  • To automate Webservice applications successfully, it is important to understand the correct actions, applicable to your application. For a detailed list of supported Webservice list actions, to view the article, click here.

Other Related Links:

  • To learn more about how to create and execute an execution list, click here.

  • To learn more about how to view the API Test Case execution Reports, click here.

Last updated

Was this helpful?