5. Configure the Request

Applies to ReadyAPI 3.52, last modified on April 25, 2024

To use the data from a data source, you need to modify the request test step.

  1. Open the Request 1 step editor and switch to the Request tab. If you created the Data Source loop earlier, the request will contain the ${Data Source#email} value:

    Functional API testing: The request with a dynamic value

    Click the image to enlarge it.

    If the email parameter has another value, type ${Data Source#email} in it or use the Get Data command to select the email property with a special wizard.

    Show Steps

  2. Click Send request on the editor toolbar to run the request.

    You will see the response data on the right:

    Functional API testing: Received response

    Click the image to enlarge it.

    Note: If you did not test the data source on the previous step, the property does not have a value, so the request does not send a valid parameter.

Now, you can add assertions to the request test step to validate response data.

Prev          Next

See Also

Text Files as Data Sources

Highlight search results