Skip to content
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

Test suite call.on.body element sends double quotes for plain text values #67

Closed
kajf opened this issue Feb 8, 2018 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@kajf
Copy link
Owner

kajf commented Feb 8, 2018

bozr -i -H http://localhost:8080 ./login.suite.json
example suite

[
  {
    "name": "test",
    "calls": [
      {
        "on": {
          "method": "POST",
          "url": "/Admin.login",
          "body": "Username=abc&Password=xyz"
        },
        "expect": {
          "statusCode": 200
        }
      }
    ]
  }
]

generated request

POST http://localhost:8080/Admin.login HTTP/1.1

"Username=abc&Password=xyz"

expected request (no double quotes in POST payload)

POST http://localhost:8080/Admin.login HTTP/1.1

Username=abc&Password=xyz
@kajf kajf added the bug label Feb 8, 2018
@kajf kajf self-assigned this Feb 9, 2018
@kajf kajf closed this as completed in 0d1085a Feb 9, 2018
@kajf kajf added this to the 0.8.12 milestone Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant