-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
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
improve JS API to retrieve request and response #1962
Comments
also see another use-case: https://stackoverflow.com/a/72245287/143475 |
the same api works in mocks as well to get the request, see updated test in this commit a lot more useful operations are possible via the graal proxy for both request and response the main benefit of this api is to make getting a header ignoring case easy you can even get multi-value headers as an array
cc @fscarlato - this is implemented. here are the new API-s possible:
the same works for Scenario: pathMatches('/v1/headers') && karate.request.header('foo') == 'bar' |
1.3.0 released |
refer conversation here: #1861 (comment)
proposing the following for a start:
The text was updated successfully, but these errors were encountered: