SlideShare a Scribd company logo
LOAD IMPACT
Automate Load Testing
with CI Integration
LOAD IMPACT
Robin Gustafsson
CTO, Load Impact Agenda
● Performance testing in DevOps
environment
● Introduction to k6 open source load
testing tool
● Automating load testing with k6, Load
Impact 4.0 and GitLab
LOAD IMPACT
Performance testing is changing
DevOps adoption
Developers are getting involved in performance testing alongside QA
LOAD IMPACT
Performance testing fits into your CI workflow
● Developers can load test
early in the dev cycle
● Load test in parallel with
other types of tests
● CI tool integration
LOAD IMPACT
k6 - Open source load testing tool
● Built for developers & QA
testers
● Built in Go, scripting in JavaScript
ES6
● > 3800 GitHub Stars
● Local & Cloud Execution
● Fits nicely into DevOps
workflows / Automation
pipelines
LOAD IMPACT
k6 execution modes
Local execution
○ Traffic is generated locally, results can be stored locally or
in the cloud (k6 run -o cloud script.js)
Cloud execution
○ Traffic is generated from cloud servers managed by Load
Impact, results are stored in the cloud and analyzed in Load
Impact Insights (k6 cloud script.js)
LOAD IMPACT
Creating load tests for k6
Create user scenario
script(s) locally ● A single .js file defines the whole test
● Tests can also be modular/multi-file
● Use your favorite editor
LOAD IMPACT
Running load tests with k6
Start test locally or in
the cloud using k6 CLI
Create user scenario
script(s) locally
LOAD IMPACT
Automating tests with k6
Create test(s) Run baseline test(s)
Set thresholds for
pass/fail
Setup notifications
Setup automated
execution
Lean back and watch
the blinkin’ lights!
LOAD IMPACT
Automating tests with k6
Create test(s) Run baseline test(s)
● Manually executed tests, find “normal” performance
level
● Tests can be run locally/on your infrastructure or in the
cloud!
LOAD IMPACT
Automating tests with k6
Create test config(s) Run baseline test(s)
Set thresholds for
pass/fail
● Thresholds are set in the .js script, and will be honored
both when executing locally/on your infrastructure, or in
the Load Impact cloud
LOAD IMPACT
Automating tests with k6
Create test config(s) Run baseline test(s)
Set thresholds for
pass/fail
● Notifications can be taken care of by your CI system,
or by loadimpact.com (if you send results there for
storage) Setup notifications
LOAD IMPACT
Automating tests with k6 and GitLab
Create test config(s) Run baseline test(s)
Set thresholds for
pass/fail
Setup notifications
Setup automated
execution in GitLab CI
LOAD IMPACT
Create a GitLab Configuration File
The GitLab Configuration File (YAML file): .gitlab-ci.yml manages the k6 load test job
YAML File
LOAD IMPACTLoad Impact 4.0
k6 + Load Impact Insights + Cloud Execution
LOAD IMPACT
k6 + Load Impact 4.0 summary
k6, Insights & Cloud Execution
● Write test cases as JavaScript (ES6) code
● Store test cases locally, in VCS, on GitHub/GitLab, etc.
● Debug test cases locally, using k6 CLI tool
● Run tests locally or in the Load Impact cloud, using:
○ k6 CLI tool (locally or in the cloud)
○ SaaS UI (in the cloud)
● Integrate with your CI tool: GitLab, Jenkins, CircleCI, etc.
● Store/view/analyze results locally or at loadimpact.com
LOAD IMPACT
Learn More
k6 documentation: https://k6.io (join our slack team! https://k6.io/slack/)
GitHub repo: https://github.com/loadimpact/k6
Insights: https://loadimpact.com/insights/
Load Impact Docs: https://support.loadimpact.com/4.0/
Load Impact Support - support@loadimpact.com
Example project on GitLab: https://gitlab.com/loadimpact/k6-gitlab-example
Note: Load Impact 4.0 is available as a free 30-day trial
LOAD IMPACT
Automate load testing with CI integration
Thank you!

More Related Content

PDF
Functional Tests Automation with Robot Framework
PDF
Karate - powerful and simple framework for REST API automation testing
PDF
Google Firebase presentation - English
PDF
Introduction of cloud native CI/CD on kubernetes
PPTX
Vert.x for Microservices Architecture
PPTX
A brief study on Kubernetes and its components
PDF
Kubernetes
ODP
Test Automation Framework using Cucumber BDD overview (part 1)
Functional Tests Automation with Robot Framework
Karate - powerful and simple framework for REST API automation testing
Google Firebase presentation - English
Introduction of cloud native CI/CD on kubernetes
Vert.x for Microservices Architecture
A brief study on Kubernetes and its components
Kubernetes
Test Automation Framework using Cucumber BDD overview (part 1)

What's hot (20)

PDF
Testando API REST - Parte 1
PPTX
API Test Automation Using Karate (Anil Kumar Moka)
PPTX
Introduction to Scala
PPTX
Using GitHub Actions to Deploy your Workloads to Azure
PPTX
Karate DSL
PDF
Introduction to Robot Framework (external)
PDF
Running distributed tests with k6.pdf
PDF
Introduction to Docker Compose
PDF
GitOps and ArgoCD
PPTX
Kubernetes PPT.pptx
PDF
Testing Spring Boot Applications
PPT
presentation on Docker
PPTX
Introduction to Docker - 2017
PDF
.NET Core, ASP.NET Core Course, Session 6
PDF
ATDD Using Robot Framework
PPTX
Appium Presentation
PPTX
Load Testing with k6 framework
PPTX
Open Closed Principle kata
PDF
Gitlab, GitOps & ArgoCD
PDF
Kubernetes - introduction
Testando API REST - Parte 1
API Test Automation Using Karate (Anil Kumar Moka)
Introduction to Scala
Using GitHub Actions to Deploy your Workloads to Azure
Karate DSL
Introduction to Robot Framework (external)
Running distributed tests with k6.pdf
Introduction to Docker Compose
GitOps and ArgoCD
Kubernetes PPT.pptx
Testing Spring Boot Applications
presentation on Docker
Introduction to Docker - 2017
.NET Core, ASP.NET Core Course, Session 6
ATDD Using Robot Framework
Appium Presentation
Load Testing with k6 framework
Open Closed Principle kata
Gitlab, GitOps & ArgoCD
Kubernetes - introduction
Ad

Similar to Automating load testing with CI integration slideshare (20)

PDF
Performance testing in the cloud webinar jul 2018
PDF
Load impact insights webinar
PDF
Webinar: Automated Load Testing Results Analysis
PDF
Performance testing for developers
PPTX
Automate your load testing using Azure DevOps, K6 and Log Analytics
PDF
List of 12 best software performance testing tools
PDF
#ATAGTR2020 Presentation - Shift Left - Performance Testing
PDF
Load Testing Tools | Testbytes
PDF
Apidays Helsinki & North 2024 - Bridging the Gap Between Backend and Frontend...
PDF
Laravel Load Testing: Strategies and Tools
PPTX
Webinar June 2017 l Apica LoadTest to compliment HP Loadrunner
PPTX
Top 10 Software Testing Tool to Help You The Most!
PDF
JMeter vs LoadRunner – Which Tool is Right for You_.pdf
PDF
qLabs Test Automation
PPTX
Software Testing includes Performance testing with Load Runner and the JMeter
PDF
Radview WebLOAD
PPTX
Multiple Dimensions of Load Testing
PPTX
B4usolution performance testing
PDF
Top Performance Testing Tools of 2025: Ensure Speed, Stability, and Scale
PPTX
Load Runner
Performance testing in the cloud webinar jul 2018
Load impact insights webinar
Webinar: Automated Load Testing Results Analysis
Performance testing for developers
Automate your load testing using Azure DevOps, K6 and Log Analytics
List of 12 best software performance testing tools
#ATAGTR2020 Presentation - Shift Left - Performance Testing
Load Testing Tools | Testbytes
Apidays Helsinki & North 2024 - Bridging the Gap Between Backend and Frontend...
Laravel Load Testing: Strategies and Tools
Webinar June 2017 l Apica LoadTest to compliment HP Loadrunner
Top 10 Software Testing Tool to Help You The Most!
JMeter vs LoadRunner – Which Tool is Right for You_.pdf
qLabs Test Automation
Software Testing includes Performance testing with Load Runner and the JMeter
Radview WebLOAD
Multiple Dimensions of Load Testing
B4usolution performance testing
Top Performance Testing Tools of 2025: Ensure Speed, Stability, and Scale
Load Runner
Ad

Recently uploaded (20)

PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
history of c programming in notes for students .pptx
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Digital Strategies for Manufacturing Companies
PDF
System and Network Administraation Chapter 3
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Transform Your Business with a Software ERP System
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
ai tools demonstartion for schools and inter college
PPTX
Introduction to Artificial Intelligence
2025 Textile ERP Trends: SAP, Odoo & Oracle
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Operating system designcfffgfgggggggvggggggggg
history of c programming in notes for students .pptx
ManageIQ - Sprint 268 Review - Slide Deck
Odoo Companies in India – Driving Business Transformation.pdf
Digital Strategies for Manufacturing Companies
System and Network Administraation Chapter 3
Softaken Excel to vCard Converter Software.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Understanding Forklifts - TECH EHS Solution
Wondershare Filmora 15 Crack With Activation Key [2025
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Transform Your Business with a Software ERP System
PTS Company Brochure 2025 (1).pdf.......
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
ai tools demonstartion for schools and inter college
Introduction to Artificial Intelligence

Automating load testing with CI integration slideshare

  • 1. LOAD IMPACT Automate Load Testing with CI Integration
  • 2. LOAD IMPACT Robin Gustafsson CTO, Load Impact Agenda ● Performance testing in DevOps environment ● Introduction to k6 open source load testing tool ● Automating load testing with k6, Load Impact 4.0 and GitLab
  • 3. LOAD IMPACT Performance testing is changing DevOps adoption Developers are getting involved in performance testing alongside QA
  • 4. LOAD IMPACT Performance testing fits into your CI workflow ● Developers can load test early in the dev cycle ● Load test in parallel with other types of tests ● CI tool integration
  • 5. LOAD IMPACT k6 - Open source load testing tool ● Built for developers & QA testers ● Built in Go, scripting in JavaScript ES6 ● > 3800 GitHub Stars ● Local & Cloud Execution ● Fits nicely into DevOps workflows / Automation pipelines
  • 6. LOAD IMPACT k6 execution modes Local execution ○ Traffic is generated locally, results can be stored locally or in the cloud (k6 run -o cloud script.js) Cloud execution ○ Traffic is generated from cloud servers managed by Load Impact, results are stored in the cloud and analyzed in Load Impact Insights (k6 cloud script.js)
  • 7. LOAD IMPACT Creating load tests for k6 Create user scenario script(s) locally ● A single .js file defines the whole test ● Tests can also be modular/multi-file ● Use your favorite editor
  • 8. LOAD IMPACT Running load tests with k6 Start test locally or in the cloud using k6 CLI Create user scenario script(s) locally
  • 9. LOAD IMPACT Automating tests with k6 Create test(s) Run baseline test(s) Set thresholds for pass/fail Setup notifications Setup automated execution Lean back and watch the blinkin’ lights!
  • 10. LOAD IMPACT Automating tests with k6 Create test(s) Run baseline test(s) ● Manually executed tests, find “normal” performance level ● Tests can be run locally/on your infrastructure or in the cloud!
  • 11. LOAD IMPACT Automating tests with k6 Create test config(s) Run baseline test(s) Set thresholds for pass/fail ● Thresholds are set in the .js script, and will be honored both when executing locally/on your infrastructure, or in the Load Impact cloud
  • 12. LOAD IMPACT Automating tests with k6 Create test config(s) Run baseline test(s) Set thresholds for pass/fail ● Notifications can be taken care of by your CI system, or by loadimpact.com (if you send results there for storage) Setup notifications
  • 13. LOAD IMPACT Automating tests with k6 and GitLab Create test config(s) Run baseline test(s) Set thresholds for pass/fail Setup notifications Setup automated execution in GitLab CI
  • 14. LOAD IMPACT Create a GitLab Configuration File The GitLab Configuration File (YAML file): .gitlab-ci.yml manages the k6 load test job YAML File
  • 15. LOAD IMPACTLoad Impact 4.0 k6 + Load Impact Insights + Cloud Execution
  • 16. LOAD IMPACT k6 + Load Impact 4.0 summary k6, Insights & Cloud Execution ● Write test cases as JavaScript (ES6) code ● Store test cases locally, in VCS, on GitHub/GitLab, etc. ● Debug test cases locally, using k6 CLI tool ● Run tests locally or in the Load Impact cloud, using: ○ k6 CLI tool (locally or in the cloud) ○ SaaS UI (in the cloud) ● Integrate with your CI tool: GitLab, Jenkins, CircleCI, etc. ● Store/view/analyze results locally or at loadimpact.com
  • 17. LOAD IMPACT Learn More k6 documentation: https://k6.io (join our slack team! https://k6.io/slack/) GitHub repo: https://github.com/loadimpact/k6 Insights: https://loadimpact.com/insights/ Load Impact Docs: https://support.loadimpact.com/4.0/ Load Impact Support - support@loadimpact.com Example project on GitLab: https://gitlab.com/loadimpact/k6-gitlab-example Note: Load Impact 4.0 is available as a free 30-day trial
  • 18. LOAD IMPACT Automate load testing with CI integration Thank you!

Editor's Notes