Applies to ReadyAPI 3.4, last modified on October 26, 2020

Add Request to test case

To use a request in tests, you need to create a test step based on the request. To do this:

  1. Click Add to TestCase in the top-right corner:

    Testing REST services in ReadyAPI: Add REST request to a test case

    Click the image to enlarge it.

  2. In the Add REST Request Test Step dialog, select a test case to which you want to add a new test step.

    Tip: To add a new test suite or test case, right-click a test suite in the right tree of the dialog.
  3. You can configure the Valid HTTP Status Code and Valid Response SLA assertions and add them to the new test step.

  4. Click Add Test Step to create a test step.

  1. Click Add to TestCase in the top right corner:

    GraphQL support in ReadyAPI: Add GraphQL request to a test case

    Click the image to enlarge it.

  2. Choose the test case to which you want to add a new test step. Click OK.

    You can also create a new test suite or test case. In this case, ReadyAPI asks you to name the new items.

  3. In the Add Request to TestCase dialog, specify the name of a new test step:

    GraphQL support in ReadyAPI: Add GraphQL request to a test case

    Select Show TestCase Editor to open the test case to which you add a test step.

    Select Show Request Editor to open the newly created test step.

  1. Click Add to TestCase in the top right corner:

    Testing SOAP services in ReadyAPI: Add SOAP request to a test case

    Click the image to enlarge it.

  2. In the Add SOAP Request Test Step dialog, select a test case to which you want to add a new test step.

    Tip: To add a new test suite or test case, right-click a test suite in the right tree of the dialog.
  3. You can configure the Valid HTTP Status Code, Valid Response SLA, Not SOAP Fault or Schema Compliance assertions and add them to the new test step.

  4. Click Add Test Step to create a test step.

See Also

REST Requests
Response tabs

Highlight search results