Re: [tclwebtest] Non blocking http requests
Status: Abandoned
Brought to you by:
tils
From: Tilmann S. <ti...@ti...> - 2003-03-05 05:31:46
|
* Grzegorz Adam Hankiewicz <gr...@ef...> [20030304 16:06]: > Once I have tclwebtest running inside my server I get the urge > to run several tests concurrently, but looks like geturl is the > bottleneck, and while one test case is blocked querying some slow > external server, another test case which runs against the local > server doesn't progress. Can this be solved with the callback > feature of geturl? When running outside the webserver you can use the -processes switch to make tclwebtest fork into several processes that run in parallel. Within the webserver you might have to invent your own way of making use of its multithreading capabilities. I don't know how callback would help in this case as that would mean that you want the same instantiation of tclwebtest (e.g. a set of initialised global variables etc.) to do several requests in parallel, right? So when the callback fires tclwebtest should know which currently running set of global variables to associate that with - this is totally impossible with the current architecture. til -- http://tsinger.com |