orimarko commented on issue #6387:
URL: https://github.com/apache/jmeter/issues/6387#issuecomment-7096013731
@DrLuRen
If nickName contains nick"name, create a CSV-encoded JMeter variable before
the JDBC Request in JSR223 PreProcessor attached to the JDBC Request, so it’s
set immediately before the request runs:
```
String nickname = vars.get("nickName");
String nicknameCsv = "\"" + nickname.replace("\"", "\"\"") + "\"";
vars.put("nicknameCsv", nicknameCsv);
```
Or in groovy
```
def nickname = vars.get('nickName')
vars.put('nicknameCsv', '"' + nickname.replace('"', '""') + '"')
```
Then set Parameter values to:
${nicknameCsv},${id}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]