Forum Discussion
4 Replies
Sort By
Hi Roman,
Currently, there is no way to do this. We will consider changing this behavior.
- roman_glazNew Contributorbut i found the way:
i catch responce by built-in fuction OnLoadTestingResponse received from one of connections from first Task (the responce body contain set-cookie parameter with sessionID) and i just copy it to request of Task 2.
but i have another question:
can i catch responce triggered not by clients request , i mean "server push" mechanizm ?
- AlexKarasChampion Level 3Hi Roman,
I may be wrong, or it may be specific to your application, but according to my understanding, (in http) the server does not try to push anything out until it receives the request from the client. (Otherwise, it looks like the server keeps some list of the clients and constantly in cycle tries to 'ping' these clients and send them something if they reply. Such approach seems to be very resource wasteful and may be treated by the (anti-virus/firewall) software as an attack attempt.)
The request from the client may be explicit (triggered by the button press) or implicit (executed on the client start). This is completely irrelevant from the load-testing functionality point of view, as the functionality cares only about requests/responces sequence.
So I think that TestComplete load-testing functionality should work for you after you've found how to handle session ids. Hi Roman,
can i catch responce triggered not by clients request , i mean "server push" mechanizm ?
The current version of TestComplete does not support the server push technology.
Related Content
- 11 months ago