tsung
tsung copied to clipboard
Unable to run Tsung for testing POST Request in distributed load.
Scenario: Generate Load to Test File Upload & Download at our Application Server. Installation: a) Controller Node b) 2 Client Nodes
Transacation contains 2 Requests a) POST Request to Upload to Server. b) GET Request to Download from Server.
It works fine, when the payload size of POST is 2 KB, when I increase the size of file to 1MB or any payload greater than 2KB, I could see no POST Request is sent to Application Server.
Logs : [email protected]
=INFO REPORT==== 21-Nov-2018::13:37:27 === ts_client:(5:<0.116.0>) Stop in state think, reason= {system_limit, [{erlang,
=INFO REPORT==== 21-Nov-2018::13:37:40 === ts_client:(5:<0.117.0>) Stop in state think, reason= {system_limit, [{erlang, list_to_atom, [[236,7, 106,220, 235,237, 39,16, 140,34, 66,240, 121,237, 202,101, 218,233, 14,28, 218,191, 27,41,41, 65,156, 254,252, 28,190, 243,221, 223,70, 40,20, 196,220, 194,20, 181,88, 28,47, 188,240, 10,202, 139,34, 248,228, 244,57, 212,212, 214,98, 106,116, 8,121, 141,135, 209,81, 93,0,59, 53,102, 48,179, 16,133, 153,169, 56,127, 225,18, 218,78, 190,141, 144,138, 64,84, 229,66, 65,154, 11,87, 174,119, 226,127, 249,55, 255,2,31, 126,250, 25,159, 95,140, 217,233, 73,220, 32,142, 139,145, 41,222, 151,242, 234,70, 50,194,0, 10,243, 114,169, 65,178, 241,222, 251,31, 227,103, 127,255, 215,184, 218,183, 0,175,97, 21,137, 68,2,67, 35,227,4, 172,235, 219,87, 60,144, 72,97,45, 14,53,23, 224,179, 187,51, 248,131, 239,125, 7,217, 153,65, 116,222, 184,71, 22,184, 129,41, 50,229, 88,108, 75,27,30, 126,238, 45,228, 165,90, 81,81, 217,132, 154,154, 106,76, 18,3,13, 79,45, 226,149, 23,78, 162,111, 100,134, 196,37, 157,213, 156,192, 202,226, 52,150, 87,159, 36,5,21, 21,245, 216,187, 187,134, 100,228, 12,90,59, 142,162, 190,52,7, 119,123, 111,192, 19,46, 199,137, 147,135, 209,208, 76,192, 76,77, 236,79, 77,195, 25,146, 157,163, 207,189, 134,162, 220,20, 50,113, 45,142, 180,213, 194,100, 52,96,83, 111,167, 246,111, 70,140, 100,105, 117,117, 21,106, 189,21, 47,158]], []}, {ts_search, extract_function, 5, [{file, "src/tsung/ts_search.erl"}, {line, 103}]}, {ts_search, subst,2, [{file, "src/tsung/ts_search.erl"}, {line, 57}]}, {ts_http, subst,3, [{file, "src/tsung/ts_http.erl"}, {line, 254}]}, {ts_http, add_dynparams, 4, [{file, "src/tsung/ts_http.erl"}, {line, 182}]}, {ts_client, handle_next_request, 2, [{file, "src/tsung/ts_client.erl"}, {line, 791}]}, {gen_fsm, handle_msg, 8, [{file, "gen_fsm.erl"}, {line, 486}]}, {proc_lib, init_p_do_apply, 3, [{file, "proc_lib.erl"}, {line, 249}]}]}
=ERROR REPORT==== 21-Nov-2018::13:37:40 === ** State machine <0.117.0> terminating
Another Questions: a) Does the file(payload in POST) needs to be kept at controller node or it should be kept at client nodes.