microsoft/restler-fuzzer

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

wilbaker opened this issue · 0 comments

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