Re: [Grinder-use] Replay a recorded script
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
|
From: VmasterZen <vma...@gm...> - 2006-04-26 15:05:52
|
Thank you for this work around. I've an another question... I want to simulate real connections (multiple users, these users identified as a number) on a webserver and i have to respect a 1 request/s rate. . To do this, i want to launch every second a worker process with one worker thread. You will tell me probably .. you can use one worker process and put a "while do" in the script... but the execution time of 1 request take more than 1 second.. So my problem is to give to the worker process the right parameter (user's id)... is it possible? (to give to the worker process the right user's id after the user's id has been incremented ?). Is there a worker process management ? o= r a worker thread management ? PS: excuse me for my bad english... 2006/4/25, Philip Aston <pa...@be...>: > > [please keep grinder-use cc'd] > > Yep, that's definitely a bug in the TCPProxy script. Well spotted! > > You can work around this for now by doing the following: > > 1. Making a copy of etc/httpToJythonScript.xsl > 2. Editing the copy, and changing line 605 from: > > <xsl:value-of select=3D"helper:quoteForPython($token-id)"/> > > to > > <xsl:value-of select=3D"helper:quoteForPython($name)"/> > > 3. Start the TCPProxy with > java net.grinder.TCPProxy <other options> -http etc/myCopy.xsl > > (changing the path to whatever you called your copy). > > I'll fix this for the next beta. > > - Phil > > > -----Original Message----- > From: VmasterZen [mailto:vma...@gm...] > Sent: Tue 25/04/2006 16:46 > To: Philip Aston > Cc: > Subject: Re: [Grinder-use] Replay a recorded script > > > Yeaah ! cool ! I found the mistakes... the TCPProxy which generate= d > file (file generated by TCPProxy) add the key word "token_" as a prefix t= o > the NVPair parameter... so the webserver didn't understand the request...= . > > > 2006/4/25, Philip Aston <pa...@be...>: > > [please keep grinder-use cc'd] > > No, there are no known problems with POST. > > You might like to follow this: > http://grinder.sourceforge.net/faq.html#use-the-tcpproxy > > - Phil > > -----Original Message----- > From: VmasterZen [mailto: vma...@gm...<mail= to: > vma...@gm...> ] > Sent: Tue 25/04/2006 15:01 > To: Philip Aston > Cc: > Subject: Re: [Grinder-use] Replay a recorded script > > > Yes, i'm replaying the script through The Grinder. = I > have one form on this page and the webserver returned me an error. Do the > POST method have any problem with The Grinder ? The webserver returned an > error message (500) > > > > 2006/4/24, Philip Aston <pa...@be...>: > > I presume you are replaying the script > through The Grinder? That is, you are running the agent (java > net.grinder.Grinder) with either the grinder.script property set > appropriately or the script set via the console. > Do you get error messages? > If not, how do you know the form is not > executed? > > - Phil > > _____ > > From: > gri...@li... [mailto: > gri...@li...] On Behalf Of VmasterZen > Sent: 24 April 2006 14:18 > To: gri...@li... > Subject: [Grinder-use] Replay a recorded > script > > > > Hello > > > I've recorded a script by the HTTPproxy > recorder. When i want to replay it, the script does not execute the form = on > the page executed during the record. Someone can help me ? There is an > option which have to be enable ? > > Thank you.. > > ___________________________________________= ____________________________ > Notice: This email message, together with > any attachments, may contain > information of BEA Systems, Inc., its > subsidiaries and affiliated > entities, that may be > confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely > for the use of the individual > or entity named in this message. If you are > not the intended recipient, > and have received this message in error, > please immediately return this > by email and then delete it. > > > > _______________________________________________________________________ > Notice: This email message, together with any attachments= , > may contain > information of BEA Systems, Inc., its > subsidiaries and affiliated > entities, that may be > confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of > the individual > or entity named in this message. If you are not the > intended recipient, > and have received this message in error, please immediatel= y > return this > by email and then delete it. > > > > _______________________________________________________________________ > Notice: This email message, together with any attachments, may contain > information of BEA Systems, Inc., its subsidiaries and affiliated > entities, that may be confidential, proprietary, copyrighted and/or > legally privileged, and is intended solely for the use of the individual > or entity named in this message. If you are not the intended recipient, > and have received this message in error, please immediately return this > by email and then delete it. > |