www.lk-mug.org #devConfLK2019#LKMUG
Letterkenny,Ireland
How’s relevant JMeter to me?
Giulio Vian – DevOps Lead – Glass, Lewis & Co.
www.lk-mug.org #devConfLK2019#LKMUG
Letterkenny,Ireland
devConf LK 2019
Saturday, Feb 23rd
2019
9:00 AM – 5:00 PM LYIT, Port Road,
Letterkenny
LK
MUG
http://bit.ly/devConf
LK2019
Event Partners
JMeter who?
JMeter!!!
What happened to VS?
I once hear this load testing thing
Agenda
Load testing basics
JMeter Authoring
Distributed Load testing
Compare with Visual Studio & CLT
Load testing basics
Performance is
a Feature
«there are two
kinds of websites:
the quick and the
dead»
https://blog.codinghorror.com/performance-is-a-feature/
Response time
0.1 second is about the limit for having the user
feel that the system is reacting instantaneously,
meaning that no special feedback is necessary
except to display the result.
1.0 second is about the limit for the user's flow of
thought to stay uninterrupted, even though the
user will notice the delay. Normally, no special
feedback is necessary during delays of more than
0.1 but less than 1.0 second, but the user does lose
the feeling of operating directly on the data.
10 seconds is about the limit for keeping the user's
attention focused on the dialogue. For longer
delays, users will want to perform other tasks
while waiting for the computer to finish, so they
should be given feedback indicating when the
computer expects to be done. Feedback during
the delay is especially important if the response
time is likely to be highly variable, since users will
then not know what to expect.
Miller, R. B. (1968).
Response time in man-
computer
conversational
transactions. Proc. AFIPS
Fall Joint Computer
Conference Vol. 33, 267-
277.
Queueing and Resource depletion
Client
SUT
Dep1
Dep2Client
Test Rig
Testing implies monitoring
Client
SUT
Dep1
Dep2Client
Monitor
Healthy
behaviour
+Error rates
+Tools errors
Relative Load
Latency
Required threshold
Max N seconds
100%60%
Throughput
Usage
JMeter Authoring
What is JMeter?
Buy one get three
Script editor Visual Studio Web Test
Runner Visual Studio Load Test
Distributed runner Azure Cloud load testing
Does not manage the test rig for you
Free & widely used
Apache JMeter may be used to test performance both on
static and dynamic resources, Web dynamic applications.
It can be used to simulate a heavy load on a server, group of
servers, network or object to test its strength or to analyze
overall performance under different load types.
JMeter basics
https://jmeter.apache.org/
JDK 8 / 9
I prefer XCopy deploy
GUI, -n, server
yeah, docker too
Recording
Collecting and analysing results
No Metrics
Tokens and parametrization
Scenarios and distributions
Demo
JMeter Templates
Recording
Elements of a script
XML script (just like VS)
In summary
Record using browser
Rinse and refactor
Throw garbage away
Parametrize and extract data
External data feeds
esp. Users
Distributed Load Testing
Setting up a test rig (1/2)
Create the VMs
Set environment variables for Java and JMeter; e.g. using a script like jcmd:
Title Java Environment
set JAVA_HOME=%~dp0jdk
set PATH=%PATH%;%JAVA_HOME%bin;%~dp0bin
cmd /k cls
Client (controller) jmeter.properties
remote_hosts=TEST-RIG1,TEST-RIG2,TEST-RIG3
server_port=4000
client.rmi.localport=4001
server.rmi.port=4000
server.rmi.localport=4001
server.rmi.ssl.disable=true
The last one is necessary to work around this bug
https://bz.apache.org/bugzilla/show_bug.cgi?id=62463
Setting up a test rig (2/2)
The Server (rig) jmeter.properties should have
server_port=4000
client.rmi.localport=4001
server.rmi.port=4000
server.rmi.localport=4001
server.rmi.ssl.disable=true
Open firewall ports
Invoke-Command -ComputerName "TEST-RIG0","TEST-RIG1","TEST-RIG2","TEST-RIG3" -
ScriptBlock {
New-NetFirewallRule -DisplayName 'JMeter Server' -LocalPort "4000-4010" -
Profile Any -Direction Inbound -Protocol 'TCP' -Action 'Allow' -Enabled 'True'
New-NetFirewallRule -DisplayName 'JMeter Server' -LocalPort "4000-4010" -
Profile Any -Direction Outbound -Protocol 'TCP' -Action 'Allow' -Enabled
'True’
}
Run test using rig
Server (rig)
jmeter-server -Djava.rmi.server.hostname=%COMPUTERNAME%
Use Task Scheduler
https://github.com/zloeber/Powershell/blob/master/Supplemental/Add-
UserToLoginAsBatch.ps1
Client (controller)
jmeter -n -t …Test.jmx -l …Test.log -r
Tune Java memory
Integrate in a pipeline
Cloud-based Apache JMeter Load Test task
Convert JMeter XML to JUnit
In summary
DIY
Choose between
SSL and firewall
Allocate resources
Get from a service
Visual Studio
Why JMeter is interesting to a Visual Studio developer?
Visual Studio 2019 will be the last version with load test
features.
https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-
preview#test-tools
https://devblogs.Microsoft.com/devops/cloud-based-load-testing-eol
Comparison
Visual Studio + CLT
CA BlazeMeter for an automated cloud rig
Gatling (also Java-based)
In summary
Tools are similar
Process always the same
Create / Edit
Run
Analyse
Repeat
Conclusion
Bio in pictures
32
giulio.dev@casavian.eu
@giulio_vian
https://www.slideshare.net/giuliov
https://tfsaggregator.github.io
http://blog.casavian.eu/
Hardware spec:
1KB RAM (upg. 16KB)
4KB ROM
First computer Companies Communities
Donegal
Bibliography & References
https://jmeter.apache.org/
http://www.slideshare.net/giuliov/presentations
http://www.testautomationguru.com/jmeter/
https://docs.microsoft.com/en-us/vsts/build-release/tasks/test/cloud-
based-load-test
Performance Testing Guidance for Web Applications
https://msdn.microsoft.com/en-us/library/bb924375.aspx
AWS Well-Architected Framework - Performance Efficiency Pillar
https://www.amazon.com/dp/B01MSSLHBX
http://www.brendangregg.com/linuxperf.html
https://github.com/giuliov/Stating-the-obvious/
34
Bibliography (2)
Writing High-Performance .NET Code —
Ben Watson (Ben Watson)
https://www.amazon.it/Writing-High-
Performance-NET-Code-
Watson/dp/0990583430/
Time Is Money: The Business Value of
Web Performance — Tammy Everts
(O'Reilly Media)
https://www.amazon.com/Time-Money-
Business-Value-Performance/dp/1491928743
35
Bibliography (3)
Software Performance and Scalability: A
Quantitative Approach — Henry H. Liu
(Wiley)
https://www.amazon.com/Software-
Performance-Scalability-Quantitative-
Approach/dp/0470462531
Continuous Delivery with Windows and .NET
— Matthew Skelton and Chris O'Dell
(O'Reilly)
http://www.oreilly.com/webops-
perf/free/continuous-delivery-with-windows-and-
net.csp
36
Bibliography (4)
Continuous Delivery: Reliable Software
Releases through Build, Test, and
Deployment Automation — J.Humble,
D.Farley (Addison-Wesley)
https://www.amazon.com/Continuous-
Delivery/dp/0321601912/
The DevOps Handbook — G.Kim, P.Debois,
J.Willis, J.Humble (IT Revolution Press)
https://www.amazon.com/DevOps-Handbook-
World-Class-Reliability-
Organizations/dp/1942788002/
37
The End

More Related Content

PDF
Monitor your Java application with Prometheus Stack
PDF
Gatling workshop lets test17
PDF
Gatling - Bordeaux JUG
PDF
Making sense of your data jug
PPTX
Simple tweaks to get the most out of your jvm
PDF
The future of paas is serverless
PDF
Performance measurement methodology — Maksym Pugach | Elixir Evening Club 3
PDF
Debug production server by counter
Monitor your Java application with Prometheus Stack
Gatling workshop lets test17
Gatling - Bordeaux JUG
Making sense of your data jug
Simple tweaks to get the most out of your jvm
The future of paas is serverless
Performance measurement methodology — Maksym Pugach | Elixir Evening Club 3
Debug production server by counter

What's hot (20)

PPTX
I/O Extended (GDG Bogor) - Sidiq Permana
PDF
Telepresence - Fast Development Workflows for Kubernetes
PDF
Monitoring Akka with Kamon 1.0
PPTX
Performance tests with Gatling
PDF
JavaOne 2016 - Pipeline as code
PDF
Efficient DevOps Tooling with Java and GraalVM
PDF
Real-Time Web Apps & Symfony. What are your options?
PDF
Automated Scaling of Microservice Stacks for JavaEE Applications
PDF
Forensic Tools for In-Depth Performance Investigations
PDF
Reactive Card Magic: Understanding Spring WebFlux and Project Reactor
PDF
Weaving Through the Mesh: Making Sense of Istio and Overlapping Technologies
PDF
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
PPTX
Microservices Manchester: Concursus - Event Sourcing Evolved By Domonic Fox
PDF
Phil Basford - machine learning at scale with aws sage maker
PDF
2017 Microservices Practitioner Virtual Summit: The Mechanics of Deploying En...
PDF
[124] mit cheetah 로봇의 탄생
PDF
Real-Time Web Apps & .NET - What are your options?
PDF
Prometheus course
PPTX
Velocity 2015 building self healing systems (slide share version)
PDF
[114] DRC hubo technical review
I/O Extended (GDG Bogor) - Sidiq Permana
Telepresence - Fast Development Workflows for Kubernetes
Monitoring Akka with Kamon 1.0
Performance tests with Gatling
JavaOne 2016 - Pipeline as code
Efficient DevOps Tooling with Java and GraalVM
Real-Time Web Apps & Symfony. What are your options?
Automated Scaling of Microservice Stacks for JavaEE Applications
Forensic Tools for In-Depth Performance Investigations
Reactive Card Magic: Understanding Spring WebFlux and Project Reactor
Weaving Through the Mesh: Making Sense of Istio and Overlapping Technologies
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
Microservices Manchester: Concursus - Event Sourcing Evolved By Domonic Fox
Phil Basford - machine learning at scale with aws sage maker
2017 Microservices Practitioner Virtual Summit: The Mechanics of Deploying En...
[124] mit cheetah 로봇의 탄생
Real-Time Web Apps & .NET - What are your options?
Prometheus course
Velocity 2015 building self healing systems (slide share version)
[114] DRC hubo technical review
Ad

Similar to How's relevant JMeter to me - DevConf (Letterkenny) (20)

PDF
Ginsbourg.com - Performance and Load Test Report Template LTR 1.5
PPTX
Test Strategy For Future Cloud Architecture
PPTX
Cloud-based performance testing
PPT
Open Source XMPP for Cloud Services
PPTX
Stating the obvious - All Day DevOps 2017
PPT
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
PPTX
Silk Performer Presentation v1
PPTX
Load Runner
PDF
Performance Tuning Oracle Weblogic Server 12c
PDF
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
PDF
Top Performance Testing Tools of 2025: Ensure Speed, Stability, and Scale
PDF
LoadRunner Performance Testing
PDF
手把手教你如何串接 Log 到各種網路服務
PDF
Performance testing in the cloud webinar jul 2018
PDF
Testing distributed systems in production
PPT
Advanced Load Runner
PPT
DDD Framework for Java: JdonFramework
PPTX
Machine learning at scale with aws sage maker
PPT
When Web Services Go Bad
PDF
Load and Performance Testing for J2EE - Testing, monitoring and reporting usi...
Ginsbourg.com - Performance and Load Test Report Template LTR 1.5
Test Strategy For Future Cloud Architecture
Cloud-based performance testing
Open Source XMPP for Cloud Services
Stating the obvious - All Day DevOps 2017
WebLogic Developer Webcast 5: Troubleshooting and Testing with WebLogic, Soap...
Silk Performer Presentation v1
Load Runner
Performance Tuning Oracle Weblogic Server 12c
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
Top Performance Testing Tools of 2025: Ensure Speed, Stability, and Scale
LoadRunner Performance Testing
手把手教你如何串接 Log 到各種網路服務
Performance testing in the cloud webinar jul 2018
Testing distributed systems in production
Advanced Load Runner
DDD Framework for Java: JdonFramework
Machine learning at scale with aws sage maker
When Web Services Go Bad
Load and Performance Testing for J2EE - Testing, monitoring and reporting usi...
Ad

More from Giulio Vian (20)

PPTX
Come implementare la governance nella vostra piattaforma e lavorare felici se...
PDF
Is Technical Debt the right metaphor for Continuous Update?
PPTX
Is Technical Debt the right metaphor for Continuous Update - AllDayDevOps 2022
PPTX
Software rotting - DevOpsCon Berlin
PPTX
Software rotting
PPTX
Software rotting - 28 Apr - DeveloperWeek Europe 2022
PPTX
L'impatto della sicurezza su DevOps
PPTX
L'impatto della sicurezza su DevOps
PPTX
A map for DevOps on Microsoft Stack - MS DevSummit
PPTX
Perché è così difficile il deploy dei database - DevCast DevOps Serie
PPTX
Database deployments - dotnetsheff
PPTX
Database deployment: still hard after all these years - Data Saturday #1
PPTX
Pipeline your Pipelines - 2020 All Day DevOps
PPTX
How to write cloud-agnostic Terraform code - Incontro DevOps Italia 2020
PPTX
Top 10 pipeline mistakes - dotnetsheff
PPTX
Introduction to Terraform with Azure flavor
PPTX
How collaboration works between Dev and Ops - DevOps Agile Testing and Test S...
PPTX
Usare SQL Server for Linux e Docker per semplificare i processi di testing - ...
PPTX
Pipeline your pipelines!
PPTX
Why is DevOps vital for my company’s business
Come implementare la governance nella vostra piattaforma e lavorare felici se...
Is Technical Debt the right metaphor for Continuous Update?
Is Technical Debt the right metaphor for Continuous Update - AllDayDevOps 2022
Software rotting - DevOpsCon Berlin
Software rotting
Software rotting - 28 Apr - DeveloperWeek Europe 2022
L'impatto della sicurezza su DevOps
L'impatto della sicurezza su DevOps
A map for DevOps on Microsoft Stack - MS DevSummit
Perché è così difficile il deploy dei database - DevCast DevOps Serie
Database deployments - dotnetsheff
Database deployment: still hard after all these years - Data Saturday #1
Pipeline your Pipelines - 2020 All Day DevOps
How to write cloud-agnostic Terraform code - Incontro DevOps Italia 2020
Top 10 pipeline mistakes - dotnetsheff
Introduction to Terraform with Azure flavor
How collaboration works between Dev and Ops - DevOps Agile Testing and Test S...
Usare SQL Server for Linux e Docker per semplificare i processi di testing - ...
Pipeline your pipelines!
Why is DevOps vital for my company’s business

Recently uploaded (20)

PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
iTop VPN Crack Latest Version Full Key 2025
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
assetexplorer- product-overview - presentation
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PDF
Types of Token_ From Utility to Security.pdf
PPTX
Computer Software - Technology and Livelihood Education
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
CCleaner 6.39.11548 Crack 2025 License Key
Designing Intelligence for the Shop Floor.pdf
iTop VPN Crack Latest Version Full Key 2025
Patient Appointment Booking in Odoo with online payment
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
How to Use SharePoint as an ISO-Compliant Document Management System
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
assetexplorer- product-overview - presentation
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
GSA Content Generator Crack (2025 Latest)
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Wondershare Recoverit Full Crack New Version (Latest 2025)
Computer Software and OS of computer science of grade 11.pptx
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
Types of Token_ From Utility to Security.pdf
Computer Software - Technology and Livelihood Education

How's relevant JMeter to me - DevConf (Letterkenny)

Editor's Notes

  • #7: https://blog.codinghorror.com/performance-is-a-feature/
  • #18: Debug Sampler generates a sample containing the values of all JMeter variables and/or properties.
  • #26: https://medium.com/@ganeshsirsi/configuring-jmeter-tests-in-vsts-tfs-azure-devops-and-publishing-results-dcdd7b451cb9