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
Escaped characters in data of curl should not cause "unbalanced quotes in curl issue" and should allow data to be sent to the request
` @test void curlWithEscapedCharactersInBodyWork(){ String curl = " curl -X POST "localhost.com" --data 'tes\'t'"; BasicCurlParser basicCurlParser = new BasicCurlParser(); BasicCurlParser.Request request = basicCurlParser.parse(curl); assertNotNull(request.getPostData());
} @Test void curlWithEscapedCharactersInBodyWorkDoubleQuote(){ String curl = " curl -X POST \"localhost.com\" --data \"tes\\\"t\""; BasicCurlParser basicCurlParser = new BasicCurlParser(); BasicCurlParser.Request request = basicCurlParser.parse(curl); assertNotNull(request.getPostData()); }
` these test cases help recreate the problem.
5.5
11
mac os
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
Escaped characters in data of curl should not cause "unbalanced quotes in curl issue" and should allow data to be sent to the request
Actual behavior
Steps to reproduce the problem
` @test
void curlWithEscapedCharactersInBodyWork(){
String curl = " curl -X POST "localhost.com" --data 'tes\'t'";
BasicCurlParser basicCurlParser = new BasicCurlParser();
BasicCurlParser.Request request = basicCurlParser.parse(curl);
assertNotNull(request.getPostData());
`
these test cases help recreate the problem.
JMeter Version
5.5
Java Version
11
OS Version
mac os
The text was updated successfully, but these errors were encountered: