Testing Multiple values from API

  • Replace any variables with their runtime values is
    • URL
    • Query Parameters
    • Headers
    • Body
  • Call the API using appropriate Post/Get method
  • If api returns a response – process the response and return a value, it supports processing json using the following formats~data~users~[1]~name will fetch Bob from this json object 

{

  “data”: {

    “users”: [

      { “name”: “Alice” },

      { “name”: “Bob” }

    ]

  }

}

    • All the tests defined for the API will be executed and validated against the data received from the API response

Have other questions? Access our full knowledge base!

Verified by MonsterInsights