I've recently checked in some changes to the 2.0 branch which allow you to stop a test or stop an individual thread (by name) using a BeanShell server connection. This is intended for use when running in batch mode, but should work in other modes too.
Have a look in extras/startup.bsh for details - this will contain a definition of stopEngine() if you've got the updated version. Once the server is started, just connect to the port using a Java-enabled browser, or connect to port+1 using telnet. Choose port pair that is not visible beyond the firewall... == You can also use BeanShell to set a property, and have the test use the property to determine wait times or throughput or whatever. We're using that for throughput (this has been in JMeter for some while). S. -----Original Message----- From: nlunebur [mailto:[EMAIL PROTECTED] Sent: 30 June 2004 00:06 To: JMeter Users List Subject: Re: how can i see which thread is currently being run?(solution to RAMP DOWN!) yeah stupid me. i realized that soon after! by the way, i've figured a way to ramp down! i have a Counter, then and If Controller with all the http requests underneath. in my If Controller i have : ${__threadNum} >= ${counter} now i just gotta figure a way to manipulate the counter so i can also control the ramp down /period. /woohoo! nicole Michael Stover wrote: >Make the name of the HttpRequest element be: "request-${threadNum}" and >then in the Tree Listener, you'll see the name with the thread number >for each request. > >-Mike > >On Mon, 2004-06-28 at 23:40, nlunebur wrote: > > >>hi all, >>i've implemented (in theory) a way to run the http requests under the >>thread group only if the ${threadNum} >>is at a particular value. >>i want a way where i can see if it is really only running that >>particular thread number. >>is there a way i can do this? >> >>i have: >> >>Thread Group >> If Controller (if threadNum = 2) >> HttpRequests >> >>i thought perhaps i can have some sort of jmeter element where i can see >>the thread number being run. >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___________________________________________________________________________ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. ___________________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

