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:
I have defined properties as follow:
Using contains Assertions, I can assert, that result equals 4 as follows:
My Question: How to assert, that result < 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?