SlideShare a Scribd company logo
1 of 2
Perf testing strategy
For all apis
1. Endurance test
1. Perform a continuous requests @ 1 request / second for 8 hours
1. Metric: Any request that can't be sent in that 1 second window.
2. Load test
1. Perform requests from up to 20 users simultaneously for 8 hours
1. Metric: Length of test
2. Metric: Average of elapsed_time for all requests
3. Metric: 90th percentile of elapsed_time for all requests
4. Metric: TPS
5. Metric: Uptime calculation
3. Stress test
1. Perform unlimited requests with increasing number of users until servers will no
longer respond
1. Metric: # of success before api fails
2. Metric: Length of test
3. Metric: Max TPS
4. Metric: Max number of users
Simple POSTrequest | 1 user | merchant_name & merchant_url | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations)
Simple GETrequest | 1 user | request ids from 1.1 | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations)
Simple POSTrequest | 10 users | merchant_name & merchant_url | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations)
Simple GETrequest 10 users | request ids from 1.3 | 1000 cases Measuring tps, using unique data set (Will record all common aggregations)
Simple mixed request | 10 users | merchant_name & merchant_url | 2000 cases |
Large POSTrequest | 1 user | All request params | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations)
Large POSTrequest | 10 users | All request params | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations)
Large mixed request | 10 users | Pseudo random request params | 2000 cases |
Load mixed test | 10 users | Pseudo random request params | 12 hrs |
Stress mixed test | 100+ users | Pseudo random request params| Unlimited test cases |
Creating test scripts and test data Test scripts in Jmeter. Test data in Excel (CSV)
Mix of POSTand GETrequests. The request ids from the POSTs have to be stored
for use with the GETs.
Measuring tps, using unique data set (Will record all common aggregations)
Mix of POSTand GETrequests. The request ids from the POSTs have to be stored
for use with the GETs.
Mix of POSTand GETrequests. The request ids from the POSTs have to be stored
for use with the GETs.
Mix of POSTand GETrequests. The request ids from the POSTs have to be stored
for use with the GETs.
Measuring durability. The lever here is users. Keep adding users until server
"breaks"

More Related Content

Similar to Load test plan

Performance testing - Accenture
Performance testing - AccenturePerformance testing - Accenture
Performance testing - AccentureGeetikaVerma16
 
Load Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWSLoad Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWSVladimir Ilic
 
Aakarsh 038 csit142_lab_work (1)
Aakarsh 038 csit142_lab_work (1)Aakarsh 038 csit142_lab_work (1)
Aakarsh 038 csit142_lab_work (1)Shambhavi Vats
 
InfiniFlux performance
InfiniFlux performanceInfiniFlux performance
InfiniFlux performanceInfiniFlux
 
stackconf 2023 | How to reduce expenses on monitoring with VictoriaMetrics by...
stackconf 2023 | How to reduce expenses on monitoring with VictoriaMetrics by...stackconf 2023 | How to reduce expenses on monitoring with VictoriaMetrics by...
stackconf 2023 | How to reduce expenses on monitoring with VictoriaMetrics by...NETWAYS
 
Jmeter interviewquestions
Jmeter interviewquestionsJmeter interviewquestions
Jmeter interviewquestionsgirichinna27
 
Pratiques administration avancées et techniques de développement
Pratiques administration avancées et techniques de développementPratiques administration avancées et techniques de développement
Pratiques administration avancées et techniques de développementParis Salesforce Developer Group
 
Big Data LDN 2018: USING FAST DATA AND STREAM PROCESSING TO OPERATIONALISE MA...
Big Data LDN 2018: USING FAST DATA AND STREAM PROCESSING TO OPERATIONALISE MA...Big Data LDN 2018: USING FAST DATA AND STREAM PROCESSING TO OPERATIONALISE MA...
Big Data LDN 2018: USING FAST DATA AND STREAM PROCESSING TO OPERATIONALISE MA...Matt Stubbs
 
How To Write Middleware In Ruby
How To Write Middleware In RubyHow To Write Middleware In Ruby
How To Write Middleware In RubySATOSHI TAGOMORI
 
Waiting Line Management
Waiting Line Management Waiting Line Management
Waiting Line Management Joshua Miranda
 
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...Iosif Itkin
 
Real Time Monitoring and Electro Magnetic Interference causing Data corruption
Real Time Monitoring and Electro Magnetic Interference causing Data corruptionReal Time Monitoring and Electro Magnetic Interference causing Data corruption
Real Time Monitoring and Electro Magnetic Interference causing Data corruptionRekaNext Capital
 
Monitoring with exometer at AdRoll
Monitoring with exometer at AdRollMonitoring with exometer at AdRoll
Monitoring with exometer at AdRollBrian Troutwine
 
OpenERP Performance Benchmark
OpenERP Performance BenchmarkOpenERP Performance Benchmark
OpenERP Performance BenchmarkAudaxis
 
Basic of jMeter
Basic of jMeter Basic of jMeter
Basic of jMeter Shub
 
Automated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from MeasurementsAutomated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from MeasurementsWeikun Wang
 

Similar to Load test plan (18)

Performance testing - Accenture
Performance testing - AccenturePerformance testing - Accenture
Performance testing - Accenture
 
Load Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWSLoad Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWS
 
Aakarsh 038 csit142_lab_work (1)
Aakarsh 038 csit142_lab_work (1)Aakarsh 038 csit142_lab_work (1)
Aakarsh 038 csit142_lab_work (1)
 
InfiniFlux performance
InfiniFlux performanceInfiniFlux performance
InfiniFlux performance
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
stackconf 2023 | How to reduce expenses on monitoring with VictoriaMetrics by...
stackconf 2023 | How to reduce expenses on monitoring with VictoriaMetrics by...stackconf 2023 | How to reduce expenses on monitoring with VictoriaMetrics by...
stackconf 2023 | How to reduce expenses on monitoring with VictoriaMetrics by...
 
Jmeter interviewquestions
Jmeter interviewquestionsJmeter interviewquestions
Jmeter interviewquestions
 
Pratiques administration avancées et techniques de développement
Pratiques administration avancées et techniques de développementPratiques administration avancées et techniques de développement
Pratiques administration avancées et techniques de développement
 
Big Data LDN 2018: USING FAST DATA AND STREAM PROCESSING TO OPERATIONALISE MA...
Big Data LDN 2018: USING FAST DATA AND STREAM PROCESSING TO OPERATIONALISE MA...Big Data LDN 2018: USING FAST DATA AND STREAM PROCESSING TO OPERATIONALISE MA...
Big Data LDN 2018: USING FAST DATA AND STREAM PROCESSING TO OPERATIONALISE MA...
 
How To Write Middleware In Ruby
How To Write Middleware In RubyHow To Write Middleware In Ruby
How To Write Middleware In Ruby
 
Waiting Line Management
Waiting Line Management Waiting Line Management
Waiting Line Management
 
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
TMPA-2017: Regression Testing with Semiautomatic Test Selection for Auditing ...
 
Real Time Monitoring and Electro Magnetic Interference causing Data corruption
Real Time Monitoring and Electro Magnetic Interference causing Data corruptionReal Time Monitoring and Electro Magnetic Interference causing Data corruption
Real Time Monitoring and Electro Magnetic Interference causing Data corruption
 
Monitoring with exometer at AdRoll
Monitoring with exometer at AdRollMonitoring with exometer at AdRoll
Monitoring with exometer at AdRoll
 
OpenERP Performance Benchmark
OpenERP Performance BenchmarkOpenERP Performance Benchmark
OpenERP Performance Benchmark
 
Basic of jMeter
Basic of jMeter Basic of jMeter
Basic of jMeter
 
Testing in a distributed world
Testing in a distributed worldTesting in a distributed world
Testing in a distributed world
 
Automated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from MeasurementsAutomated Parameterization of Performance Models from Measurements
Automated Parameterization of Performance Models from Measurements
 

More from Gopi Raghavendra

kalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentationkalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentationGopi Raghavendra
 
Key Measurements For Testers
Key Measurements For TestersKey Measurements For Testers
Key Measurements For TestersGopi Raghavendra
 
i_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Owni_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_OwnGopi Raghavendra
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Gopi Raghavendra
 
Test_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.pptTest_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.pptGopi Raghavendra
 

More from Gopi Raghavendra (8)

kalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentationkalyanasundaram,Gopi_tcoepresentation
kalyanasundaram,Gopi_tcoepresentation
 
Testing Services
Testing ServicesTesting Services
Testing Services
 
Key Measurements For Testers
Key Measurements For TestersKey Measurements For Testers
Key Measurements For Testers
 
i_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Owni_Mobile Testing Service Desk_Own
i_Mobile Testing Service Desk_Own
 
QA Process
QA ProcessQA Process
QA Process
 
Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)Maven TestNg frame work (1) (1)
Maven TestNg frame work (1) (1)
 
Test_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.pptTest_Automation_-_Let's_Talk_Business.ppt
Test_Automation_-_Let's_Talk_Business.ppt
 
Sikuli_Demo.pptx
Sikuli_Demo.pptxSikuli_Demo.pptx
Sikuli_Demo.pptx
 

Load test plan

  • 1. Perf testing strategy For all apis 1. Endurance test 1. Perform a continuous requests @ 1 request / second for 8 hours 1. Metric: Any request that can't be sent in that 1 second window. 2. Load test 1. Perform requests from up to 20 users simultaneously for 8 hours 1. Metric: Length of test 2. Metric: Average of elapsed_time for all requests 3. Metric: 90th percentile of elapsed_time for all requests 4. Metric: TPS 5. Metric: Uptime calculation 3. Stress test 1. Perform unlimited requests with increasing number of users until servers will no longer respond 1. Metric: # of success before api fails 2. Metric: Length of test 3. Metric: Max TPS 4. Metric: Max number of users
  • 2. Simple POSTrequest | 1 user | merchant_name & merchant_url | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations) Simple GETrequest | 1 user | request ids from 1.1 | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations) Simple POSTrequest | 10 users | merchant_name & merchant_url | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations) Simple GETrequest 10 users | request ids from 1.3 | 1000 cases Measuring tps, using unique data set (Will record all common aggregations) Simple mixed request | 10 users | merchant_name & merchant_url | 2000 cases | Large POSTrequest | 1 user | All request params | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations) Large POSTrequest | 10 users | All request params | 1000 cases | Measuring tps, using unique data set (Will record all common aggregations) Large mixed request | 10 users | Pseudo random request params | 2000 cases | Load mixed test | 10 users | Pseudo random request params | 12 hrs | Stress mixed test | 100+ users | Pseudo random request params| Unlimited test cases | Creating test scripts and test data Test scripts in Jmeter. Test data in Excel (CSV) Mix of POSTand GETrequests. The request ids from the POSTs have to be stored for use with the GETs. Measuring tps, using unique data set (Will record all common aggregations) Mix of POSTand GETrequests. The request ids from the POSTs have to be stored for use with the GETs. Mix of POSTand GETrequests. The request ids from the POSTs have to be stored for use with the GETs. Mix of POSTand GETrequests. The request ids from the POSTs have to be stored for use with the GETs. Measuring durability. The lever here is users. Keep adding users until server "breaks"