I am trying to use TCP Sampler for creating an automatic tests on top of IMAP4.
I am not using the Mail Reader Sampler because i need to allow injecting pure IMAP4 commands.
My IMAP4 server (like any IMAP4 server) expect to receive any IMAP4 command end with CRLF (0D0A) so there fore i have ended my command in the Text to send area with a new line (Enter).
I sniffed the traffic and noticed that the JMeter added only LF (0A) after the command (without the Carriage return)
Is there something that i am missing here ?
How can i enforce JMeter TCP Sampler to add CRLF at the end of every TCP command ?
Using XML-escaped solved the problem !!! http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
In the JMX file that is based on XML I appended the 0xD Character explicitly:
1 login [email protected] a123456A
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With