Forum Discussion

Donkey2017's avatar
Donkey2017
Occasional Contributor
9 years ago
Solved

script assertion

Hi, not being a programmer could anyone suggest a way to check if the property "apples" has a number rather than just null for example. So below is the result of running a test. I can easily ask SOAP to check if there is an item called "apples" but I have no idea how to ask if "apples" equals a numerical value- any value not just 111.

{
   "CONTENT":    {

      "apples": 111,

   },

 

thanks