DrLuRen opened a new issue, #6387:
URL: https://github.com/apache/jmeter/issues/6387

   ### The documentation URL
   
   https://jmeter.apache.org/usermanual/component_reference.html#JDBC_Request
   
   ### Feedback
   
   I try to make a JDBC request
   `update user set nickname = ? where id = ?`
   
   Parameters is
   `${nickName},${id}`
   
   Beanshell is
   `String nickname = vars.get("nickname");
   log.info("before ===>" + nickname);
   nickname = nickname.replaceall("\"","\"\"\"");
   log.info("after ===> "+ nickname);
   vars.put("nickname",nickname);
   `
   but I get a error 
   
   > before ===> nick"name
   > after ===> nick\"\"\"name
   > cannot have quote-char in plain filed:[nick\"]
   
   i also use
   
   but it doesn't work too.
   
   the document say 
   
   The list must be enclosed in double-quotes if any of the values contain a 
comma or double-quote, and any embedded double-quotes must be doubled-up, for 
example:
   `"Dbl-Quote: "" and Comma: ,"`
   
   how to make it work?


-- 
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: dev-unsubscr...@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to