webinar how to set up a load test in 5 minutes
TRANSCRIPT
![Page 1: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/1.jpg)
How to set up a load test in 5 minsUsing Apache JMeter
Webinar / August 4th 2016
![Page 3: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/3.jpg)
How to set up a load test in 5 mins
Agenda
● Ultimate Goal
● Load Testing Principles & Tool
● Test Plan Templates
● Result Analysis
● Additional Considerations
● Live Demo
● Q&A
![Page 4: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/4.jpg)
How to set up a load test in 5 mins
Ultimate Goal
Provide a set of template scripts to streamline the execution of load tests
during project development cycles.
![Page 5: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/5.jpg)
How to set up a load test in 5 mins
Software Testing Levels
![Page 6: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/6.jpg)
How to set up a load test in 5 mins
Load Testing - Why?
1. Measure an application’s typical response times under
normal load conditions
2. Evaluate performance degradation when facing
incrementally heavier load conditions
3. Identify performance bottlenecks under concurrent usage
![Page 7: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/7.jpg)
How to set up a load test in 5 mins
Load Testing - Best Practices
● Generate seed data to help identify database bottlenecks
● Set up ramp-up periods and pauses to generate
incremental load and emulate users’ think time
● Use distinct user accounts to avoid contention over session
data retrieval
● Monitor queued requests to pinpoint infrastructure limits
● Design your tests to be idempotent in order to compare
results
![Page 8: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/8.jpg)
How to set up a load test in 5 mins
The Tool - JMeter
✓ Free and open-source
✓ Extremely Powerful
✓ Highly Extensible
✓ Community Driven
✘ Steep Learning Curve
✘ Outdated Look & Feel
Grab it here: http://jmeter.apache.org/
![Page 9: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/9.jpg)
How to set up a load test in 5 mins
Test Plan Templates
● Login/Logout
● Screen Preparation (Navigate)
● Submit Request
● Submit Request (AJAX)
● REST/SOAP service call
![Page 10: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/10.jpg)
How to set up a load test in 5 mins
Test Plan CompositionThread Groups
Configurations
Samplers
Assertions
Extractors
Listeners
![Page 11: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/11.jpg)
How to set up a load test in 5 mins
Result Analysis
Service Center Logs
JMeter Output Performance Counters
![Page 12: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/12.jpg)
How to set up a load test in 5 mins
Additional Considerations
● JavaScript code won’t be executed by JMeter
● Adjust number of concurrent threads to the hardware
resources running JMeter
● Isolate test script custom data using request defaults, user
variables and CSV data sets
● Use parameters to instantiate variables via command line
● Use “View Results” listeners when fine-tuning test scripts
![Page 13: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/13.jpg)
How to set up a load test in 5 mins
Live Demo
![Page 14: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/14.jpg)
How to set up a load test in 5 mins
Test Application
Case Manager
![Page 15: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/15.jpg)
How to set up a load test in 5 mins
HTTP Request / Response
![Page 16: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/16.jpg)
How to set up a load test in 5 mins
Test Scenarios
1. Landing Page
Perform Login Request Landing Page
![Page 17: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/17.jpg)
How to set up a load test in 5 mins
Test Scenarios
2. Submit Form (AJAX)
Request Form (after Login) Submit Form Data
![Page 18: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/18.jpg)
How to set up a load test in 5 mins
Infrastructure Capacity Metrics
(From the Sizing OutSystems Platform KB entry)
![Page 19: Webinar how to set up a load test in 5 minutes](https://reader031.vdocuments.site/reader031/viewer/2022030305/5872eba41a28abfa548b7249/html5/thumbnails/19.jpg)
Thank you!See you in two weeks..!