Forum Discussion

NinjaMarvel's avatar
NinjaMarvel
New Contributor
5 years ago
Solved

Script Assertion

I am using ReadyAPI and I am getting following response from API in JSON. { "message" : "IDs found for the given request", "ids" : [ { "id" : 3831740, "Member" : false }, { "id" : 5088068, ...
  • nmrao's avatar
    5 years ago
    Here you go:

    The script which can be tested online(note that it is using fixed json):
    https://ideone.com/6oaYhn

    You need modify to use dynamic json in script assertion.