[Tsung] FW: Sending text that includes carriage return and line feed using WebSocket

Kevin Voth kevin.voth at sympatico.ca
Wed Aug 5 18:46:22 CEST 2015


Resending this as I don't see this original email in the mailing list. Just
thinking that I need to be registered before it show up?

 

Kevin.

 

From: Kevin Voth [mailto:kevin.voth at sympatico.ca] 
Sent: Tuesday, August 4, 2015 12:37 PM
To: 'tsung-users at lists.process-one.net' <tsung-users at lists.process-one.net>
Subject: Sending text that includes carriage return and line feed using
WebSocket

 

I am attempting to test a websocket based service is expecting to receive
some text followed by a carriage return and/or line feed.

 

I have not been able to figure out how to encode the CR LF within the tsung
xml configuration file.

 

The websocket request is below but it does not work. I have tried other
encoding but they do not work either.

 

<websocket type="message" frame="text">echo message \n</websocket>

 

Everything else is working, the connection and websocket are created
successfully and I see the text being sent but the line feed is always
stripped from the message.

 

I am attaching a wireshark trace of what it should look like, I used Chrome
to send the websocket message.

 

Thanks .

 

Kevin.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.process-one.net/pipermail/tsung-users/attachments/20150805/6c39ed54/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EchoMessage.png
Type: image/png
Size: 18183 bytes
Desc: not available
URL: <http://lists.process-one.net/pipermail/tsung-users/attachments/20150805/6c39ed54/attachment-0001.png>


More information about the Tsung-users mailing list