authorjapps / zerocode

A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:
https://zerocode-tdd.tddfy.com
Apache License 2.0
909 stars 397 forks source link

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

Open a1shadows opened 8 months ago

a1shadows commented 8 months ago

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 commented 8 months ago

@authorjapps what are your thoughts on this?

authorjapps commented 7 months ago

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.

a1shadows commented 6 months ago

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

a1shadows commented 6 months ago

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