zerocode icon indicating copy to clipboard operation
zerocode copied to clipboard

Validator does not dig to resolve jsonpath and other type of value placeholders

Open a1shadows opened this issue 1 year ago • 4 comments

When we use verify/assertions, we can supply a JSON through a parametrized test or use jsonPath in the matching section.

For validators, we can only use jsonPath in the "field" part. The "value" part does not accept jsonPath or stuff like ${JSON.FILE:filename}

a1shadows avatar Mar 31 '24 05:03 a1shadows

@authorjapps what are your thoughts on this?

a1shadows avatar Mar 31 '24 05:03 a1shadows

jsonPath in th

Can you please provide an example scenario with couple of steps if possible? That will help to get to the bottom of the issue/feature.

authorjapps avatar Apr 23 '24 10:04 authorjapps

@authorjapps Hey sorry I've been busy for the past month. I'll share a sample soon

a1shadows avatar May 19 '24 10:05 a1shadows

@authorjapps Hey I added a test case to demonstrate the issue. Can you take a look?

a1shadows avatar May 25 '24 07:05 a1shadows