The solution with multiple test plans is definitely the simplest. You can run it also from GUI mode, but you need to machines (you can use the schedule option from the thread gui element to start testing simultaneously on both machines).
Another question about parallel execution: How to make the jmeter script run a parallel execution of two threads for the same user using the same session? More details: - consider having TC01 and TC02 (test cases) - I need to run TC01 and TC02 in parallel for each user (example: user1 session is set with a TC01 request and after that I want 1 thread in TC02 thread group to get that same session and use it from now on for its requests, but at the same time to continue testing in TC01_user1_thread). I can easily extract a session id and use it in the same thread, what I don't know is how to "give it" to another (specific) thread (and at the same time make sure that each TC02 thread gets one unique id from TC01). How would you approach this? I need this because the application makes "status" requests to the server in loop in parallel with what the user is doing in the application (therefore I need a minimum of two threads for each user if I want to make this a little bit more realistic). On Fri, Aug 21, 2009 at 6:02 PM, Ivan Ivankovic<[email protected]> wrote: > Thank you! > > The first approach seems to fit in nicely. I didn't consider running JMeter > from the command line, before. :) > > As for the second solution , as you said it could be to complicated for me > to implement, since I am JMeter beginner. > > Regards, > Ivanko. > > On Fri, Aug 21, 2009 at 3:42 PM, sebb <[email protected]> wrote: > >> On 21/08/2009, Ivan Ivankovic <[email protected]> wrote: >> > Hi, >> > >> > I am trying to implement the following test scenario in JMeter: >> > >> > (100*TC01+200*TC02+200*TC03) , 100*TC01 >> > >> > Where TC01, TC02, TC03 are test cases, "+" sign means parallel execution >> and >> > "," means serial execution. >> > >> > My first shot was to make 3 ThreadGroups to implement TC01, TC02, TC03 >> so >> > they can work in parallel, but I have a problem how to start another 100 >> > threads to execute TC01 after all previous thread group are finished. >> > >> > There is a way to execute Thread Group in serial manner but I need mixed >> > behaviour. >> > >> > Is this possible with JMeter? >> >> Use two different test plans, and run them consecutively, e.g. >> >> jmeter -n -t parallel.jmx >> jmeter -n -t serial.jmx >> >> > Maybe I am taking wrong approach by >> > representing Test cases as Thread Groups? >> > >> >> A ThreadGroup groups threads that all process the same test plan. >> >> However JMeter supports conditional execution so it may be possible to >> combine different test scenarios in a single thread group. Depends on >> how different the tests are and how much effort you want to put into >> setting up the conditional behaviour. >> >> > -- >> > Pozdrav, >> > Ivanko >> > >> >> --------------------------------------------------------------------- >> 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]

