The extension should have custom matcher functions for doing greater than and less than with regards to numeric values. The functions could be called @gt and @lt, and could be used like this:
Response
{
"value": 123,
"some other value": 456
}
Step
Then the response body contains JSON:
"""
{
"value": "@gt(100)",
"some other value": "@lt(500)"
}
"""
The extension should have custom matcher functions for doing greater than and less than with regards to numeric values. The functions could be called
@gt
and@lt
, and could be used like this:Response
Step