not recognized as one since Feature 'ALLOW_COMMENTS ' not enabled for parser

Hi All,

I am getting below error while passing Json body in the request body.

Error Message: body=
“errorMessage” : “Bad JSON request: Unexpected character (’/’ (code 47)): mayb
e a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS
’ not enabled for parser)\n at [Source: com.appnamel.util.Resettabl
eStreamHttpServletRequest$ResettableServletInputStream@642bdc5d; line: 6, column
: 8]”

My request body is below:

“userId”:“Location Url” // captured from previous request
“status”: “Active”

Please help me to resolve this issue and how I have to enable ALLOW_COMMENTS for parser ?


The component telling you that its JSON parser is not configured for supporting comments is not Gatling but YOUR APPLICATION, because of your " // captured from previous request". Just remove it or configure your application accordingly.