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

RESTler's attempts to reproduce bugs add extra quotes (") for values sourced from restler_custom_payload #879

Open
wilbaker opened this issue Mar 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wilbaker
Copy link
Member

wilbaker commented Mar 21, 2024

Description

I recently added values to restler_custom_payload in my fuzzing dictionary files:

  "restler_custom_payload": {
      "testName": ["myTest"],
      "projectName": ["myProject"]
  },

When RESTler intially uses these values as part of a request's JSON payload, they are surrounded by a single set of double-quotes, as expected:

"organizationName":"myTest",\n            "projectName":"myProject",\n

However, after encountering a 500, RESTler will add extra " around the values:

"organizationName":""myTest"",\n            "projectName":""myProject"",\n

Steps to reproduce

  1. Add values to restler_custom_payload that will be used by RESTler as part of a request's payload
  2. Have the test service return 500 to RESTler, so that it will attempt to reproduce the bug

Expected results

RESTler attempts to reproduce the bug using the same values in the request

Actual results

RESTler wraps the values with an extra set of ""

Environment details

RESTler version 9.2.4

@marina-p marina-p self-assigned this Mar 26, 2024
@marina-p marina-p added the bug Something isn't working label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants