Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
286 views
by The go-to Tester (190 points)

Hi friends,

             I recorder a script and its process is

Goto url -> sign in -> create an order .

In this scenario with the help of csv data config i can perform multiple user can do this process

but in real time if 20 user's login to my application and will not create order at same time 

i) some of them will create order

ii) some of them will view the status of the order

iii) some of them will download the bills etc

my que's 

consider if i entered 20 user's means 5 of them will create order -> 5 of them will view the order status -> 5 of them will download the bills -> 5 of the will simply view my application 

how to perform the above scenario ? in jmeter

1 Answer

0 like 0 dislike
by The go-to Tester (190 points)
selected by
 
Best answer
I solved this one

using CSV data config am passing user name and password

after the process of sign in i created an if controller and i check the user name if it matches it will perform specific action.

it will be useful for same Account type's

if this one is not correct process means

Tell me other way to solve this  ?
by Expert (748 points)
moved by
I think you have provided incomplete answer , please check my previous answer
by The go-to Tester (190 points)
I Added Thread group
I Added Transaction controller
And I run the Process
Eg:
MyPage --> Transaction controller
Sign_In --> Transaction controller
---------------
IF Controller Username == Abhi
Create_Order --> Transaction controller
IF Controller Username == Shek
Check_Dashboard --> Transaction controller

So based on user name it will execute the process (create_order and Check_Dashboard)
This way of process is correct ?


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...