Thursday, August 13, 2015

building work load model and creating business scenario for load testing.

To explain work load modelling, would like to give inventory order processing example.
Requirement:-
There is inventory management portal to create,process,submit the orders. And user uses this application for 8 hours in a day(including 1 hour break)
with 200 users,in 8 hours 600 orders  get processed manually.

As performance testing we have following requirement
- Identify the minimum time of load testing
- Identify application behavior during  peak load
-

Strategy
- write down business use cases according to its order processing
- break the test cases as
  1. create order
  2. process order
  3. submit the orders
- We can do load testing of 60 order for 1 hour
 
Simulating load test using Jmeter
- create jmeter script for create , process, submit orders
- individual load testing for create,process,submit orders
- mix load testing for above orders
- peak load testing using Synchronizing Random timer after 15 mins of load start (No. of simulated user=50, Timeout=2000 ms)