AnsweredAssumed Answered

Is there an option to check if a particular JSON node is returned in response using JSON assertion in DevTest 8.1??

Question asked by arulvenkatesh on Jul 8, 2015
Latest reply on Jul 10, 2015 by arulvenkatesh

Hi,

I have a requirement where I have to check if Date node is present in the JSON response. Similary to Count(XPATH)

 

JSON Response:

 

{

  "Date" : "1998-01-01 23:00:55",

  "name" : "An ice sculpture",

  "price" : 12.50,

  "tags" : ["cold", "ice"],

  "dimensions" : {

  "length" : 7.0,

  "width" : 12.0

  },

  "warehouseLocation" : {

  "latitude" : -78.75

  }

}

Outcomes