DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28866>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28866 Line terminators converted into spaces. Summary: Line terminators converted into spaces. Product: JMeter Version: 1.9.1 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Main AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When the JMeter is used to post strings with line terminators into a server, the line termination characters in the document must be preserved (and URL-encoded while posting) in order for the remote server to parse the document correctly. However, while creating a test where a document with line terminators must be posted to a remote server - when I paste the document into the HTTP sampler's 'Send Parameter with Request' Value box (this is the only way to get this data into JMeter), the line terminators are incorrectly converted into spaces (which breaks the test). I tried pasting it under both Windows and Linux - no luck. Currently, I use the following workaround which is quite cumbersome: 1. URL-encode the text outside JMeter - this encodes the line terminators as well. 2. Strip URL-encoding from all JMeter variables 3. Put the modified URL-encoded data into HTTP sampler (Ensure HTTP sampler’s 'Encode' tickbox is unticked so that data is not double encoded.) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
