Hi Experts,
I am trying to parameterize a value in Java Vuser protocol but it is not replacing as expected.
Eg. I have parameterized recordNbr as shown below in my script
String recordNumber="{p_recordNbr}" System.out.println(recordNumber); String messageStr="{\n\t \"leadiLoadHeaderId\": \"12345\",\n\t \"recordibr\":\{p_recardNbr}\",\n\t \"firstName...... // Here is the response I am getting. It's not replacing with parameter value but just print parameter name as below // System.err: System.out: {p_recordNbr} // System.out: { // "leadLoadHeaderId": "12345", // "recordNbr":"(p_recordNbr}", // "firstName": "abcdName", // "lastName": "xyzName",
Could anyone help to fix this issue ?
[EDIT] Put code in code block