Re: [Htt-users] Load test and benchmarking
Brought to you by:
ia97lies
From: Christian L. <li...@gm...> - 2012-11-13 07:41:33
|
Hi Dossy 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 :) I currently up work the syntax and make it more flexible, would be httest 3.x. But I do not have plans when to launch it and how to read/migrate old scripts. I think many stuff you want have is allready there: * shared variables GLOBAL yourVar yourVar2 GLOBAL yourVar3 CLIENT _SET yourVar=foo END CLIENT _SLEEP 1000 _DEBUG $yourVar END * Init blocks could be done this way CLIENT # do what ever you need to start with your tests END GO #now start your tests CLIENT ... END * Performance Tests: I think httest is not the fastest on the market, needs a lot CPU power :( But with the PERF:DISTRIBUTED <host>:<port> PERF:RAMPUP <clients> per <interval> you could even distribute and ramup your clients (Rampup even works distributed). But it is a little quricky this distributed thing. Please have a look into the test folder within the tar ball. You will find there many examples how a command could be use, just grep the command ;) I hope that helps. Best regards Christian On 11/13/12 05:37, Dossy Shiobara wrote: > Hi, > > I just discovered httest today, and like what I see so far. Simple > concurrency primitives, simple syntax, compiled executable: all huge > plusses. > > The FINALLY block is useful. Could an INIT block be similarly defined > that gets executed at the start? > > It appears that variables are not thread-shared. There's PROC:LOCK and > PROC:UNLOCK, but no IPC mechanism to pass data between threads. That's > unfortunate. > > I'm looking to use httest for benchmarking and load testing. At the > minimum, having an INIT block implemented would be helpful for executing > stuff before testing starts (set up test, etc.). > > What's the development process like for httest? Is there a patch > submission process? > > Thanks for all the great work, > > Dossy > |