Nope - that doesn't work either. It runs steps 1,2,4 once per thread. Also, I tried moving steps 1,2,4 directly under the test plan. That didn't work either - I guess everything outside of a thread group is ignored when the test is run.
Regards, Krishnan -----Original Message----- From: Mike Lindsey [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 12:01 PM To: JMeter Users List Subject: Re: Jmeter sequencing question Hrm. Ah. Right. Use the Once Only controller. After rereading the docs, I think it'll just do it once per test, rather than once per thread, if it's a direct child of the thread group. So: Thread Group | |-Once only | |- Steps 1 and 2 | |-Loop Controller | |- Step 3 | |-Once only |- Step 4 Anantheswaran, Krishnan wrote: > Mike, > > Thanks for your quick response. Unfortunately this does not work (I'm > using Jmeter 1.9.1). > > The UI does not allow a child element of a thread group under a parent > thread group. I can workaround this by adding the new thread group > under the test plan and then doing a drag-drop on the new thread group > so it's under the main one. > > When I run the test however, both outer and inner thread groups start > concurrently and I see pages from step 3 being hit at the same time as > the pages from steps 1 and 2. > > Regards, > Krishnan > > > -----Original Message----- > From: Mike Lindsey [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 23, 2003 11:40 AM > To: JMeter Users List > Subject: Re: Jmeter sequencing question > > > Add a second thread group as a child of the main thread group. The > outer thread group is executed once, and contains steps 1, 2, inner > thread group, and step 4. > > The inner thread group you set up to do step three with multiple > threads. > > That should work. > > Anantheswaran, Krishnan wrote: > > >>Hi, >> >>I'm using JMeter to run a load test on my web app. I also have some >>benchmarking code in the app that I'll use to check the performance of > > >>various objects in the system. I need to be able to do the following >>and can't seem to find an easy way to do it. Any help will be >>appreciated. >> >>1. Hit URLs A,B,C,D,E just once (to ensure all page compiles have >>taken >>place) >>2. Hit URL BENCHMARK_INIT just once (initialize the benchmark > > component) > >>3. Multiple threads X multiple times >> Hit URLs A,B,C,D,E in sequence. (actual load test) >> >>4. After (3) is complete Hit URL BENCHMARK_PRINT just once (print the >>benchmarks accumulated) >> >>I can figure out how to do each of the steps but I can't seem to >>sequence the calls so that steps 1, 2 and 4 happen just once (and not >>once per thread). I guess I can always have 3 test plans and run them >>one after another but it would be good if I can use just one test plan > > >>for the whole thing. >> >>Thanks in advance. >> >>Regards, >>Krishnan >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > > -- Mike Lindsey "The universal aptitude for ineptitude makes any human accomplishment an incredible miracle." --------------------------------------------------------------------- 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]

