Now, with the help of utility methods, you an extract the variables of your test case response. This functionality is helpful in extracting variables
response: Test Case Response in string format. If the API is returning JSON response then the response parameter will be stringified JSON. You may overwrite the response parameter for JSON response using the below line:
response = JSON.parse(response); |