SlideShare a Scribd company logo
3
Most read
4
Most read
9
Most read
VIRAL JAIN
Points to cover:
1. What is Gatling
2. Recording
3. Execution
4. Use of feeder and saveAs option
What is Gatling
Gatling is an open-source load testing framework.
The software is designed to be used as a load testing tool for analyzing and measuring the
performance of a variety of services, with a focus on web applications.
The Project's aims include:
1. High performance
2. Ready-to-present HTML reports
3. Scenario recorder and developer-friendly DSL (Domain-specific language)
Gatling folder structure
How to operate Recorder
1. Give Listening port (of browser you want to record)
2. Give Outgoing proxy
3. Give Class name (Name for scala script)
Gatling overview
Execute scala scripts
Feeder
Gatling DSL provides facility of using feeder
We can inject data in our scenario using feeder
We will see example of csv feeder in next slide
How to use csv feeder
1. csv file should be available in data folder
2. Initialize feeder in scala script
val feeder = csv("assets23072015_1.csv")
3. Get one feeder row in our scenario
feed(feeder)
4. Use value
${asset}
${workspaceId}
5. Repeat step 3 and 4 to use next row of csv
saveAs facility
Real time scenarios require to save data from one response and use it in another request
saveAs option in Gatling gives this facility.
Let’s see a script to see use of saveAs option
Gatling overview
Gatling overview
Some important Gatling links
http://gatling.io/#/
http://gatling.io/docs/2.1.7/cheat-sheet.html
https://groups.google.com/forum/#!forum/gatling
Any questions?
Thanks,
Viral Jain
Er.viral.jain@gmail.com
in.linkedin.com/pub/viral-jain-lean-six-sigma/23/b24/b9a/

More Related Content

PPT
Postman.ppt
ODP
Gatling
ODP
Boost your App with Gatling
ODP
Gatling - Stress test tool
PPTX
Introduction to spring boot
PPTX
End to end test automation with cypress
PDF
Jmeter Performance Testing
PPTX
Jenkins tutorial
Postman.ppt
Gatling
Boost your App with Gatling
Gatling - Stress test tool
Introduction to spring boot
End to end test automation with cypress
Jmeter Performance Testing
Jenkins tutorial

What's hot (20)

PPTX
Java programming course for beginners
PDF
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
PPT
Maven Introduction
PDF
PPTX
Data driven Automation Framework with Selenium
PPT
Selenium
PPTX
Selenium WebDriver training
PPTX
Test Design and Automation for REST API
PPT
Performance testing with Jmeter
PPTX
Spring Boot
PPTX
Cypress for Testing
PPTX
API Test Automation Using Karate (Anil Kumar Moka)
PPTX
How native is React Native? | React Native vs Native App Development
PPTX
Introduction to Spring Framework
PPTX
Test Automation Framework with BDD and Cucumber
PPTX
API Testing Presentations.pptx
PPTX
Android - ADB
PDF
How to Automate API Testing
PPTX
Maven ppt
Java programming course for beginners
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Maven Introduction
Data driven Automation Framework with Selenium
Selenium
Selenium WebDriver training
Test Design and Automation for REST API
Performance testing with Jmeter
Spring Boot
Cypress for Testing
API Test Automation Using Karate (Anil Kumar Moka)
How native is React Native? | React Native vs Native App Development
Introduction to Spring Framework
Test Automation Framework with BDD and Cucumber
API Testing Presentations.pptx
Android - ADB
How to Automate API Testing
Maven ppt
Ad

Viewers also liked (9)

PDF
Performance Testing in the Agile Lifecycle
PDF
Three Lessons about Gatling and Microservices
PDF
Blast your app with Gatling! by Stephane Landelle
ODP
Performance Test Automation With Gatling
PDF
はじめての Gatling
PPTX
Gatling Tool in Action at Devoxx 2012
PDF
Load test REST APIs using gatling
PDF
Load testing with gatling
PPTX
Webアプリケーション負荷試験実践入門
Performance Testing in the Agile Lifecycle
Three Lessons about Gatling and Microservices
Blast your app with Gatling! by Stephane Landelle
Performance Test Automation With Gatling
はじめての Gatling
Gatling Tool in Action at Devoxx 2012
Load test REST APIs using gatling
Load testing with gatling
Webアプリケーション負荷試験実践入門
Ad

Recently uploaded (20)

PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Approach and Philosophy of On baking technology
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Cloud computing and distributed systems.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Machine learning based COVID-19 study performance prediction
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation theory and applications.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Review of recent advances in non-invasive hemoglobin estimation
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Approach and Philosophy of On baking technology
Big Data Technologies - Introduction.pptx
Cloud computing and distributed systems.
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine learning based COVID-19 study performance prediction
The AUB Centre for AI in Media Proposal.docx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
20250228 LYD VKU AI Blended-Learning.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Diabetes mellitus diagnosis method based random forest with bat algorithm
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation theory and applications.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
Building Integrated photovoltaic BIPV_UPV.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Review of recent advances in non-invasive hemoglobin estimation

Gatling overview

  • 2. Points to cover: 1. What is Gatling 2. Recording 3. Execution 4. Use of feeder and saveAs option
  • 3. What is Gatling Gatling is an open-source load testing framework. The software is designed to be used as a load testing tool for analyzing and measuring the performance of a variety of services, with a focus on web applications. The Project's aims include: 1. High performance 2. Ready-to-present HTML reports 3. Scenario recorder and developer-friendly DSL (Domain-specific language)
  • 5. How to operate Recorder 1. Give Listening port (of browser you want to record) 2. Give Outgoing proxy 3. Give Class name (Name for scala script)
  • 8. Feeder Gatling DSL provides facility of using feeder We can inject data in our scenario using feeder We will see example of csv feeder in next slide
  • 9. How to use csv feeder 1. csv file should be available in data folder 2. Initialize feeder in scala script val feeder = csv("assets23072015_1.csv") 3. Get one feeder row in our scenario feed(feeder) 4. Use value ${asset} ${workspaceId} 5. Repeat step 3 and 4 to use next row of csv
  • 10. saveAs facility Real time scenarios require to save data from one response and use it in another request saveAs option in Gatling gives this facility. Let’s see a script to see use of saveAs option
  • 13. Some important Gatling links http://gatling.io/#/ http://gatling.io/docs/2.1.7/cheat-sheet.html https://groups.google.com/forum/#!forum/gatling