Comments (9)
Since tsung uses an XML configuration, you need to encode the \n
properly (e.g. using
).
from tsung.
Thanks for your reply.
I have tried that and it doesn’t work. It always seems to strip out the CR or LF.
Here is what I have tried.
echo message
\n
echo message \n
CDATA
I have also tried CDATA with an actual line break in the editor as well as ( ) and ( ).
I can provide wireshark traces if you want.
I am attaching my configuration file for your review.
Again thanks for your reply.
Kevin.
From: Sebastian Cohnen [mailto:[email protected]]
Sent: Saturday, August 15, 2015 3:25 AM
To: processone/tsung [email protected]
Cc: Kevin Voth [email protected]
Subject: Re: [tsung] Unable to send a line feed in websoscket request (#121)
Since tsung uses an XML configuration, you need to encode the \n properly (e.g. using ).
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/121#issuecomment-131312350.
from tsung.
In addition I an using Tsung version 1.6.0 and it is installed on openSUSE version 13.1.
Thanks …
From: Sebastian Cohnen [mailto:[email protected]]
Sent: Saturday, August 15, 2015 3:25 AM
To: processone/tsung [email protected]
Cc: Kevin Voth [email protected]
Subject: Re: [tsung] Unable to send a line feed in websoscket request (#121)
Since tsung uses an XML configuration, you need to encode the \n properly (e.g. using ).
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/121#issuecomment-131312350.
from tsung.
Just wondering if you had any thoughts on the issue I am having.
Thanks …
Kevin.
From: Sebastian Cohnen [mailto:[email protected]]
Sent: Saturday, August 15, 2015 3:25 AM
To: processone/tsung [email protected]
Cc: Kevin Voth [email protected]
Subject: Re: [tsung] Unable to send a line feed in websoscket request (#121)
Since tsung uses an XML configuration, you need to encode the \n properly (e.g. using ).
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/121#issuecomment-131312350.
from tsung.
No, I'm not using websocket tests on a regular basis and I have very limited time currently to go through the tsung code. As far as I remember there is nothing special in terms of data handling for websockets, so I thought this would just be an XML encoding issue.
Maybe @nniclausse can help?
from tsung.
the string was explicitly cleaned by tsung ... i removed the faulty line. Can you try the latest git version?
from tsung.
tested with:
echo test message
result:
0x0030: 1e0d dbd6 8112 6563 686f 2074 6573 7420 ......echo.test.
0x0040: 6d65 7373 6167 650a message.
from tsung.
Excellent, thanks.
I will try and test it tonight.
From: Nicolas Niclausse [mailto:[email protected]]
Sent: Wednesday, August 26, 2015 6:05 PM
To: processone/tsung [email protected]
Cc: Kevin Voth [email protected]
Subject: Re: [tsung] Unable to send a line feed in websoscket request (#121)
tested with:
echo test message
result:
0x0030: 1e0d dbd6 8112 6563 686f 2074 6573 7420 ......echo.test.
0x0040: 6d65 7373 6167 650a message.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/121#issuecomment-135187632.
from tsung.
Yes that worked.
What about encoding the linefeed? I tried but that did not work.
Thanks for all your help.
Kevin.
From: Nicolas Niclausse [mailto:[email protected]]
Sent: Wednesday, August 26, 2015 6:05 PM
To: processone/tsung [email protected]
Cc: Kevin Voth [email protected]
Subject: Re: [tsung] Unable to send a line feed in websoscket request (#121)
tested with:
echo test message
result:
0x0030: 1e0d dbd6 8112 6563 686f 2074 6573 7420 ......echo.test.
0x0040: 6d65 7373 6167 650a message.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/121#issuecomment-135187632.
from tsung.
Related Issues (20)
- Mean value is empty and count is 0 in the generated report
- The load is not generated from mulitple client instances as expected in distributed environment HOT 1
- Cannot do "contents_from_file" and '<request subst="true">' at the same time HOT 1
- datestr_test failed with erlang 21 HOT 1
- Error using tsung view after running load test
- Tsung 1.7.0 crashes on start HOT 3
- Getting config error while start a demo mqtt.xml.in script
- Are there any methods for getting only 400s or 500s error in tsung protocol dump file?
- Can I test TCP in tsung but using SSL? HOT 1
- Unable to view graphs on webui HOT 1
- Massive CPU usage after a certain point
- Tsung doen't respond with PONG
- Monitoring with snmp does not work
- Will start 0 users? Do I config error? HOT 1
- How can I test TCP and check recv package?
- How can i send all XMPP messages to a specific user? HOT 1
- Erlang OTP 26 ssl defaults HOT 2
- ssl hand shake fail
- tsung-recorder creates unusable data
- Missing opening curly bracket near @formats
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsung.