- Identify test objectives
- Identify key scenarios
- Identify the duration
- Identify metrics
- Implement test cases
- Simulate load and Run
- Analyze results
To confirm whether our web-site is continuously functioning well in or above an acceptable period.
Key scenarios:
Particular number of users will access home page, and top menu options like “About Us”, “Competency”, “Service Offerings”, “Careers”, “Contact Us”, “Home”, “Policies” and other sub-menu options over a given duration.
Defining Workload:
To confirm whether our server is continuously responding well for 2 days or for 10000 times for the repeated access with the same set of requests.
Metrics to be collected:
Average Response Time and Throughput values will be collected after execution.
Sample Test cases:
1. Open http://exampleworld.com site and Record by
clicking on Home button in single thread group using
Jmeter
2. Select the thread and Set No Of Thread Group = 10
Ramp-Up period = 1
Loop Count is 10000
3. Run Jmeter
Server should be able to respond all the requests successfully.
Implement test cases in JMeter:
In Jmeter record the steps given in Test cases in the same way as explained in functionality Testing.
Simulating the load and Execute:
Enter: No Of Thread Group = 10
Ramp-Up period = 1
Loop Count is 10000
Now Run Jmeter (Ctrl+R)
Results Analysis :
If Server is able to respond all the requests successfully over this duration result is Pass.
Conclusion :
All Stability cases are Executed successfully 10000 times and All cases are Passed.
No comments:
Post a Comment