This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.
Summary
Getting "constant string too long" error in compiling a java vuser script.
Question
Compiling a java vuser script returns "constant string too long" error .
Answer
This is a limitation of the Sun Java compiler.The work-around is to break the string up into smaller variables. Then concatenate them to send the message:myPutMessage.writeString(string 1 + string 2 + string 3);