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
I have a URL (GET REQUEST) of the following pattern
^/testpath/1/test?pathid=1 ^/testpath/1/test?pathid=1,2 ^/testpath/1/test?pathid=1,2,5 where pathid query string parameters are comma separated
I have the following stubby mappings to match these url patterns
- request: url: ^/testpath/(.*)/test query: pathid: '1' method: GET response: headers: Content-Type: application/json status: 200 file: response/path-1.json - request: url: ^/testpath/(.*)/test query: pathid: '1,2' method: GET response: headers: Content-Type: application/json status: 200 file: response/path-2.json - request: url: ^/testpath/(.*)/test query: pathid: '1,2,5' method: GET response: headers: Content-Type: application/json status: 200 file: response/path-3.json
but I can't get this URL mapping to properly deliver different payloads based on different parameter combinations.
1 -> payload1 1,2 -> payload2 1,2,5 -> payload3 how can this be done?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a URL (GET REQUEST) of the following pattern
^/testpath/1/test?pathid=1
^/testpath/1/test?pathid=1,2
^/testpath/1/test?pathid=1,2,5
where pathid query string parameters are comma separated
I have the following stubby mappings to match these url patterns
but I can't get this URL mapping to properly deliver different payloads based on different parameter combinations.
1 -> payload1
1,2 -> payload2
1,2,5 -> payload3
how can this be done?
The text was updated successfully, but these errors were encountered: