Search…
Request Body Generator

Introduction

Avo Assure provides the users the ability to perform the followings processes via APIs:
  • Executions
  • Reports
  • Fetching Reports by specifying execution metrics
The request body of these APIs is made by specifying various attributes and their values. The request body templates for these APIs can be generated in this section.

Generating request body template for Execution API

  1. 1.
    Log in as a valid Avo Assure user, and click on the ‘Utilities’ plugin from the landing page.
Avo Assure Landing Page
2. Click on the ‘Request Body Generator’ icon from the action bar (left panel).
Utilities Landing Page
3. By default, the Execution API (/ExecuteTestSuite_ICE_SVN) will be selected in the ‘API Names’ dropdown.
4. Select the Execution Mode and the Execution Environment.
5. If Web Execution, select the browser. If execution mode selected is parallel, multiple browsers can be selected. If execution mode selected is serial, the test suite will be executed in order of the browsers selected.
6. If Integration is to be established, select the Integration type. Based on the Integration selected provide the following details:
  • URL
  • Username
  • Password
  • If QTest integration is selected, the QTest test steps can also be provided.
7. Select the Data source.
  • If ‘Batch Info’ is selected, specify the batch information fetched from the mindmaps plugin.
  • If ‘Git Info’ is selected, specify the Git Configuration Name, Git Branch, Folder Path, and Git Version.
8. Click on the ‘Generate’ button to generate the request body for the Execution API.
Provide module details for Execution API
9. Copy/ Download the generated data from the request body text area and pass it for the Execution API call.
Request body generated for Execution API

Generating request body template for Report API

  1. 1.
    Log in as a valid Avo Assure user, and click on the ‘Utilities’ plugin from the landing page.
Avo Assure Landing Page
2. Click on the ‘Request Body Generator’ icon from the action bar (left panel).
Utilities Landing Page
3. Select the Report API (/getReport_API) from the ‘API Names’ dropdown.
Change API selected
4. Specify the Execution ID and the Scenario ID(s) (Multiply scenario IDs can be provided by separating the IDs with a comma separator).
5. Click on the ‘Generate’ button to generate the request body for the Report API.
Provide details for Report API
6. Copy/ Download the generated data from the request body text area and pass it for the Report API call.
Request body generated for Report API

Generating request body template for Execution Metrics API

  1. 1.
    Log in as a valid Avo Assure user, and click on the ‘Utilities’ plugin from the landing page.
Avo Assure Landing Page
2. Click on the ‘Request Body Generator’ icon from the action bar (left panel).
Utilities Landing Page
3. Select the Execution Metrics API (/getExecution_metrics_API) from the ‘API Names’ dropdown.
Change API selected
4. Specify the 'From Date', 'To Date', and the 'LOB' (Line of Business).
5. Specify the Status and Execution ID. This step is optional.
6. Click on the ‘Generate’ button to generate the request body for the Execution Metrics API.
Provide details for the Execution Metrics API
7. Copy/ Download the generated data from the request body text area and pass it for the Execution Metrics API call.
Request body generated for Execution Metrics API