We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. You want to return a specific scenario based on a regex again a value in a respose.
Describe the solution you'd like Given following request:
Scenario 1
{ "id": "A0001" }
{ "id": "1" }
Scenario 2
{ "id": "A0002" }
{ "id": "2" }
Scenario 3
{ "id": "A0003" }
{ "id": "3" }
Solution:
{ "_post": { "my-path": [ { "_req": { "_bodyPaths": { "$.id": "^[A].*[1]$" } }, "_res": { "_body": { "id": "1" } } }, { "_req": { "_bodyPaths": { "$.id": "^[A].*[2]$" } }, "_res": { "_body": { "id": "2" } } }, { "_req": { "_bodyPaths": { "$.id": "^[A].*[3]$" } }, "_res": { "_body": { "id": "3" } } } ] } }
The text was updated successfully, but these errors were encountered:
#83: include regex
7c7460e
#83: include regex (#84)
5e12939
hector-js
No branches or pull requests
Is your feature request related to a problem? Please describe.
You want to return a specific scenario based on a regex again a value in a respose.
Describe the solution you'd like
Given following request:
Scenario 1
Scenario 2
Scenario 3
Solution:
The text was updated successfully, but these errors were encountered: