You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by naveen gs <na...@yahoo.com> on 2005/07/20 10:40:06 UTC

can i club two scenarios

Hi,
 
I have recorded two scenarios i.e.
 
     scenario 1.) i will login as admin and create users.
                  2.) i will login as user and report the details of the defect.
 
these are the two senarios, it will work fine  in sequential order,i.e.admin will create n number of users at one stretch and then login as users and report the details of the defect.
 
 now i need to do it parallel

 
i.e. i should login as admin first and create user and then logout from the admin,
then i should login as user and enter the details of the defect.
 
like this i want to work it out for n number of users.
 
could you pls suggest me to come out of this situation.

Thank you Very much

Regards

Naveen G.S.
Stag Software, Bangalore



		
---------------------------------
 Start your day with Yahoo! - make it your home page 

Re: can i club two scenarios

Posted by srikanth peddireddy <sr...@yahoo.co.in>.
u can do that,
For eg:
Admin logs in using a page called "AdminLogin", and adds users thru a page called "AddUsers" and logs off thru "AdminLogOff"
User  logs in using "UserLogin" and reports thru "ReportDefectPage"
Then in ur testplan, u create a single threadgroup under it u add http request samplers for all these pages one after another.
As u want to add mmore than user to be created by admin , u can put that particular request in a LOOP controller
Then ur testplan tree might look like this

ThreadGrp
|
|_____AdminLogin
|
|_____Loop Controller
           |
           |_____AddUser
|
|_____AdminLogOff
|
|_____UserLogin
|
|_____ReportDefect

 
regards
Srikanth.P 
naveen gs <na...@yahoo.com> wrote:
Hi,

I have recorded two scenarios i.e.

scenario 1.) i will login as admin and create users.
2.) i will login as user and report the details of the defect.

these are the two senarios, it will work fine in sequential order,i.e.admin will create n number of users at one stretch and then login as users and report the details of the defect.

now i need to do it parallel


i.e. i should login as admin first and create user and then logout from the admin,
then i should login as user and enter the details of the defect.

like this i want to work it out for n number of users.

could you pls suggest me to come out of this situation.

Thank you Very much

Regards

Naveen G.S.
Stag Software, Bangalore




---------------------------------
Start your day with Yahoo! - make it your home page 
		
---------------------------------
 Free antispam, antivirus and 1GB to save all your messages
 Only in Yahoo! Mail: http://in.mail.yahoo.com