Learn how to get started with performance testing of your website, web app or API. This session is a Q&A with Load Impact founder and performance testing expert, Ragnar Lonn.
2. LOAD IMPACT
Mark Meier
Client Success, Team Lead
Load Impact
Agenda
● Setting the Stage
● Q&A with Mark & Ragnar
● Audience Q&A
Ragnar Lonn
Load Impact Founder
3. LOAD IMPACT
Setting the Stage
Mobile App
● Standard REST API, running on
AWS
● Python Backend
● App is live, positive user growth
DevOps developer needs to load test
● Automated tests on staging
system
● High level performance goals
4. LOAD IMPACT
Q: Where should we start?
Start with Requirements
● Per Endpoint Goals
● Which endpoints are important?
● How do they affect user satisfaction?
Start Small
5. LOAD IMPACT
Q: Test script considerations?
Test Considerations
● Checks & Thresholds
● Sleep time
● Parameterization
6. LOAD IMPACT
Q: How long should my tests run?
API Testing
Requests per Second
5+ minutes
Website / Web App Testing
Virtual Users (VUs)
2-5+ complete iterations of the user
journey for ALL Virtual Users
Ramping VUs
7. LOAD IMPACT
Q: How do I interpret my test results?
● Exceeding defined Thresholds?
● Request rate should follow VUs
● Response time should stay stable
8. LOAD IMPACT
Q: What are the different types of load tests?
Baseline Tests-- Establish your Threshold Levels
Load Tests
Spike Tests
Stress Tests
Endurance Tests
Threshold
Threshold
9. LOAD IMPACT
Q: What else can performance testing tell me?
Performance Trends
● Has a code change introduced a performance
regression?
Infrastructure Issues
● Identify licensing, connection, memory, etc.
configuration issues
● Optimize your app to reduce SaaS
infrastructure costs
Performance Trend
Over Multiple Test Runs
10. LOAD IMPACT
Q: How often should I run tests?
Continuous Integration Pipeline
● Nightly builds - run small load
tests
● Other considerations for
DevOps and QA teams
11. LOAD IMPACT
Q: How can I ensure scalability of my testing process?
● Use your Version Control System (VCS)
● Modularization
● Collaboration
12. LOAD IMPACT
Learn More
k6 documentation: https://k6.io (join our slack team!
https://k6.io/slack/)
GitHub repo: https://github.com/loadimpact/k6
Load Impact Docs: https://support.loadimpact.com/4.0/
Load Impact Support - support@loadimpact.com
Try out k6 & Load Impact 4.0 with a free trial