Validate a value 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
  1. ~data~users~[1]~name will fetch Bob from this json object

{

  “data”: {

    “users”: [

      { “name”: “Alice” },

      { “name”: “Bob” }

    ]

  }

}

  • Validate the retrieved value against the testdata

Have other questions? Access our full knowledge base!

Verified by MonsterInsights