Forum Discussion

omen123's avatar
13 years ago

Assertions of properties

I would like to verfiy, that result -which is comming in the Response/json - is smaller than maxValue

The response jason looks like this:

{

"result": 4
}

I have defined properties as follow:

   result: 4

maxValue: 5


Using contains Assertions, I can assert, that result equals 4 as follows:

"result":"${#TestCase#result}"


My Question: How to assert, that result < maxValue?
No RepliesBe the first to reply