tsung icon indicating copy to clipboard operation
tsung copied to clipboard

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

Open lserranov opened this issue 4 years ago • 1 comments

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

lserranov avatar Nov 12 '20 20:11 lserranov

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

mohandass-pat avatar Aug 05 '21 10:08 mohandass-pat