Re: [Htt-users] Load test and benchmarking
Brought to you by:
ia97lies
|
From: Dossy S. <do...@pa...> - 2012-11-13 15:33:41
|
On 11/13/12 2:41 AM, Christian Liesch wrote: > Thanks very much. No currently there is no defined process for httest > development. If you have a usefull patch feel free to send me that. The > module concept in httest makes it relativly easy to add new > functionality blocks :) Excellent. I'll take a look into it. I'll also probably look at integrating Tcl which should be fairly easy if Lua's already supported. > I think many stuff you want have is allready there: > > * shared variables > ... > * Init blocks could be done this way The variables are shared across threads? Perfect. In the user-guide.pdf for 2.2.11, I don't see mention of the "GLOBAL" keyword. Is that only in the dev 3.x code, or is that in 2.2.11 and not documented in the user guide? Using a CLIENT/GO combo to implement the init block is a clever idea. I'll give that a try. I'm not sure if I'm interpreting the behavior correctly, but in a script that contains both a CLIENT and DAEMON block, it seems like the FINALLY block is being executed when the DAEMON block terminates, even though the CLIENT block is still executing? I was under the impression that the FINALLY block should only evaluate when _all_ CLIENT/SERVER/DAEMON blocks terminate? I suppose I should start reading the test suite and the source and not solely rely on the user-guide (which is fantastic, by the way). Thanks for the tips! -- Dossy Shiobara | "He realized the fastest way to change do...@pa... | is to laugh at your own folly -- then you http://panoptic.com/ | can let go and quickly move on." (p. 70) * WordPress * jQuery * MySQL * Security * Business Continuity * |