Home Ask Login Register

Developers Planet

Your answer is one click away!

Rajneesh February 2016

TSung HTTP not working with header

We are performing load testing using tsung.

We were able to load test a HTTP end point without any headers. But when add HTTP header, tsung is failing and not able to make the request.

I am unable to decipher from the tsung logs the issue. The format of the configuration tsung.xml is exactly as per the tsung help docs.

please find the below tsung.xml configuration we used and also error from logs,


      <session name="http-example" probability="100" type="ts_http">
          <http url="" version="1.1" method="GET">
            <http_header name="Authorization" value="Bearer a3b84dd8-d8a3-4e37-9468-5244333df0e0"/>


** Reason for termination =
** {{case_clause,false},

Please let me know what I am missing


Rajneesh February 2016

I was using tsung 1.5.1 earlier. But the issue is resolved in 1.6 :) :)

I am able to add http headers.

Post Status

Asked in February 2016
Viewed 2,351 times
Voted 6
Answered 1 times


Leave an answer

Quote of the day: live life