-1

Can someone guide how can I achieve below scenarios via JMeter

1.Check if system is able to process 1,00,000 random searches per hour

2.Check if system can accept 1,00,000 transaction's per minute- this is more like form submissions

1 Answers1

0

First of all you need to implement your test scenarios (search and submitting forms) using HTTP Request samplers

The HTTP Request samplers can be:

  1. Recorded using JMeter's HTTP(S) Test Script Recorder
  2. Recorded using JMeter Chrome Extension
  3. Created manually basing on your application/endpoint specifications

Once you have test project skeleton and perform necessary correlation of dynamic values and parameterization of dynamic parameters like usernames you can start defining the workload, i.e. see Building a Web Test Plan user manual chapter

Add as many virtual users as needed, run your test and see whether your application can handle the anticipated load.

Suggested scenario:

  1. Increase the load gradually, i.e. start with 1 user and increment the number of users till the projected amount
  2. Look at Transactions per Second chart and Active Threads Over Time chart. On well-behaved system the throughput (number of requests per second) should increase as the number of users increase.
  3. If you detect the point when you increase the load but the throughput doesn't increase - it means that the system reached the maximum performance. If it is sufficient - you can report the test as passed, otherwise you will need to investigate the root cause and either report or fix it if you're capable of doing this.
Dmitri T
  • 159,985
  • 5
  • 83
  • 133