-
Notifications
You must be signed in to change notification settings - Fork 103
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
Record&Replay: regex being send in place of the actual query or header value #61
Comments
PS. great tool Alexander and thanks for sharing it! |
Hi @rrabio , thanks for reporting this. I already have a fix. Will you be able to build a SNAPSHOT from the |
Fixed in version P.S.: |
- Issue #61 : when record & play, stubbed regex query being sent in-place of the actual query - Variable name refactoring & removal of harcoded strings
It works perfectly now, thanks! |
Releasing version 4.0.4 |
When a response is recorded with Record&Replay, the regex values in the header and query fields are used to create the request sent to the server specified in the response.body field. The actual value should be used instead.
Example:
a request such as :
http://myserver/Search?queryvalue=ciao
intercepted by the following yaml request:
method: GET
url: /search
query:
queryvalue: "([a-zA-Z]+)"
response:
status: 200
body: http://127.0.0.1:8888
will create an http request for 127.0.0.1:8888 that will contain a queryvalye=([a-zA-Z]+) rather than a queryvalue=ciao.
The text was updated successfully, but these errors were encountered: