Applies to ReadyAPI 2.4, last modified on June 7, 2018

To send a GET request, create the JSON testSteps array with one object having the type, method and URL values. The type should be REST Request, and the method should be GET. The URL value should lead to your URL. You can specify request parameters in the URL or in separate parameter elements.

{
  "testSteps": [
    {
      "type": "REST Request",
      "method": "GET",
      "URI": "http://maps.googleapis.com/maps/api/geocode/xml;mat1=val1;mat2=val2?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false"
    }
  ]
}

See Also

JSON Format of Test Recipes
TestServer REST API
REST POST Recipe
Text-Based Recipes

Highlight search results