processone / tsung

Tsung is a high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc.
http://www.process-one.net/en/tsung/
GNU General Public License v2.0
2.52k stars 404 forks source link

Cannot do "contents_from_file" and '<request subst="true">' at the same time #383

Open lserranov opened 3 years ago

lserranov commented 3 years ago

Hello!

I'm in tsung 1.7.

I can do a POST using "contents_from_file" when in the request I set '' and things go well.

However when doing the same request but now I set '' tsung is not sending the request to the web server and an error is printed in the log:

=INFO REPORT==== 12-Nov-2020::11:55:23 === ts_client:(5:<0.122.0>) Pending transactions: [{tr_getEndUserToken, {1605,210922, 626261}}], compute transaction time

=ERROR REPORT==== 12-Nov-2020::11:55:23 === State machine <0.122.0> terminating Last message in was {ssl, {sslsocket, {gen_tcp,#Port<0.1315>,tls_connection}, <0.124.0>}, <<"0\r\n\r\n">>} When State == wait_ack Data == {state_rcv, {sslsocket, {gen_tcp,#Port<0.1315>,tls_connection}, <0.124.0>}, {{0,0,0,0},0},

This is kind of sad because I want to use contents_from_file but I also want to send an auth token along with the requests.

Thanks Luis

mohandass-pat commented 2 years ago

I'm also facing the same issue. any update on this?