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 user this config.json below
config.json
[ { "request": { "uri": "/test/123" }, "response": { "json": { "data": "123" } } }, { "request": { "uri":"/test/proxy" }, "response": { "proxy": { "url": "http://localhost:12306/test/123", "playback": "playback.json" } } } ]
then I try curl -X GET http://localhost:12306/test/123 got response {"data":"123"}
curl -X GET http://localhost:12306/test/123
{"data":"123"}
however then I try curl -X GET http://localhost:12306/test/proxy got no response but playback.json seems out of expectation
curl -X GET http://localhost:12306/test/proxy
playback.json
[ { "request" : { "version" : "HTTP/1.1", "content" : "", "headers" : { "Host" : "localhost:12306", "User-Agent" : "curl/7.54.0", "Accept" : "*/*", "content-length" : "0" }, "method" : "GET", "uri" : "/test/proxy"
It seems proxy playback doesn't work , did I make a mistake?
The text was updated successfully, but these errors were encountered:
@dreamhead hope you could solve my confusion
Sorry, something went wrong.
@xzywait 请问有结论了吗?我也遇到了这个问题,想把请求和返回体录制下来
43919fc
It's definitely a bug. It takes me a long time to figure out how to fix it in 43919fc.
@xzywait @huangxd- Would you please help me to verify it in your environment?
No branches or pull requests
I user this config.json below
config.json
then I try
curl -X GET http://localhost:12306/test/123
got response
{"data":"123"}
however then I try
curl -X GET http://localhost:12306/test/proxy
got no response but
playback.json
seems out of expectationIt seems proxy playback doesn't work , did I make a mistake?
The text was updated successfully, but these errors were encountered: