Automated Load test with 100 new users order product at the same time using jmeter each time to use the unique user

I have an online order site. How to Load test with 100 new users order a product at the same time using JMeter(not one user after another. Order with 100 users at the same time).

For order submitting user has to go multiple pages like as Menu > Checkout > Basket > Your Details with email & password > Payment > Confirmation page. I have tried it by BlazeMeter recorder tools for 1 user order process and then save as a JMX file and then import it on Jmeter. Finally unable to get a solution. I have passed 2-3 days did not get a solution. Could you please advise?

1 answer

  • answered 2021-07-27 12:16 Dmitri T

    1. First of all make sure that the test works fine for 1 user as record-and-replay in the majority of cases won't produce a valid script due to dynamic parameters which need to be correlated (at least add HTTP Cookie Manager to your Test Plan to automatically handle Cookie-related headers). So inspect each request and response details using View Results Tree listener and amend your test so each request will give the anticipated result up to the payment confirmation page.
    2. Once you will be able to run test successfully several times with 1 user you will need to get the list of 100 username/password combinations and save it into a CSV file. Then add CSV Data Set Config to read the credentials from the file and replace recorded hard-coded username and password with the JMeter Variables from the CSV file

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum