Scenario: A scenario describes the events that occur during a testing session. A
scenario includes a list of machines on which Vusers run, a list of scripts that
the Vusers run, and a specified number of Vusers or Vuser groups that run
during the scenario.
We creates the scenario depending on NFR document/SLA. In NFR/SLA contains the what are all performance testing type need to do.
Below are the high-level business scenarios:
Scenario 1: Performing light load testing on the following scenarios with the load distribution shown below.
Script 1: With 33 % load
Script 2: With 67% load
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjao5h_xHpRDo9gEEgInT_idNas8nQS2GVIZex98pBD1RmSAyClyK9z_KJFd4zVYb8b9ocoz0uzvZvgsC6zA3Z6gwGm5cdH78lJ_99ZIwckGQCv5vdGafxb5ZYTE0RTHcReFoA3DV7H3FHI/s320/img1.png)
Scenario2: Performing Load testing on the below scenarios with 100 users, with the load distribution shown below.
Script i: with 33 % load of 100 Virtual users
Script ii: With 55% load of 100 Virtual users
Script iii: With 12% load of 100 Virtual users with the below scenario settings
Ramp up: Every 2 for 4 sec
Ramp down: Stop every 5 users for 10 sec
Duration: 2 hours
Think time: 14 sec
Pacing: 9 sec
With the following ramp-up and ramp-downs:
a. Ramp up and stay at max users for few hours (Fig - 2)
b. Single hump, ramp up, stay at max users for few hours, and then ramp down (Fig ‑ 3)
c. Multiple humps during ramp up / ramp down (slowly ) (Fig - 4)
d. Spikes, multiple ramp up / down within short interval of time (Fig - 5)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWUg6qa9v4ThvOf2szgY6rR6CcoHpdWY3jb0bB54Ar_qKM3bhrdnHIrTWYauHg6J4d1TEs7USHuJ6-jpicwhccxyROuGRie2MVO1F80nNpDcbHM_RCzbcnZub5v2VgHNGCHdQj1NRUNEdG/s320/img2.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzKgoV4cyKmQPEqnn_lf9UrhVtDi7si5S0HzU_RT8AkEKk_Nv-vu1jbGycV0FPej-xah-eH5KRmoGxt9gOIO4Qvvz4fei7xx-1w-7FLLNAMkyUHtBRrW0-cpPWBTO5gCU1Zi-KsQGx4sT7/s320/img3.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR_5HmLBDRoWF0e1R01tQWHQto7oGnN9pGg4CCgwpLCMpkwRXZEdvbv1O6YxDfmf1npus4qSX_R_K8Obgs89sp_kzm8nnlMCo3F4lMAUx0RSlXr0uFltI3VDOccrHUMAG-VQ190WbzeWbl/s320/img4.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizB5Ld5NTvIZNLch41HZGxRk35XjCFKNVQyNlIbjiWv2pufazUXM8ueufFehICt-zAA6Wuoewe68wIJKk26bOaapyIFpQjdygHkKKgvDNIjhvCEp7Adabz89srT36-z579DTecqKqE9KXU/s320/img5.png)
Scenario 3: Performing the Peak Load test on the below scenarios between 8 AM to 11 AM and 12:30 PM to 4 PM with 100 users, with the load distribution shown below.
Script i: with 33 % load of 100 Virtual users
Script ii: With 55% load of 100 Virtual users
Script iii: With 12% load of 100 Virtual users with the below scenario settings
Scenario 4: Perform the longevity test for Scenarios 1 and 2 for longer duration with the following settings.
Ramp up: Every 2 for 4 sec
Ramp down: Stop every 5 users for 10 sec
Duration: 18 hours
Think time: 14 sec
Pacing: 9 sec
Scenario 5: Perform the load test for Scenarios 1 and 2 with rendezvous point (concurrent users) with 10 users.
Ramp up: Every 2 for 4 sec
Ramp down: Stop every 5 users for 10 sec
Duration: 1 hour
Think time: 14 sec
Pacing: 9 sec
Scenario 6: Perform the Stress test for Scenarios 1 and 2 beyond the SLA for Scripts I and II.
Ramp up: Every 3 for 7 sec
Ramp down: Stop every 5 users for 10 sec
Duration: 2hour
Think time: 14 sec
Pacing: 9 sec
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDeTHUWP4D1IMG_BFrADgBJNp4bVqk81q-V1nXYJxZhBxCKQiv9JYFtChmNKgTPlpx-umQ7BKph7L2GSfhverIN1CRr86n0XjC_QpFgH_A1e2-eZ6sIqr1ZyXjzqMP-RkU7t-bc74TvkSq/s320/img6.png)
Script i: with 33 % load of 100 Virtual users
Script ii: With 55% load of 100 Virtual users
Script iii: With 12% load of 100 Virtual users with the below scenario settings
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_Jde7rGKcJmnAO2jBZxAJg5yLTq8kDjsszuZo6WUxsCp6DPVXkysMYTeGaftOI9amaDTHXhjbaPVfitn0iXtMiFuo_S5fLmq4dGu6uSVnSVcwleU4oc3HJjTQZkFIWiWd0qOV08_kzYYs/s320/img7.png)
1 comment:
tHI
Its Good Stuff for performance testing guys.
Thanks for publishing different types of scenarios.
Post a Comment