SlideShare a Scribd company logo
1 of 31
Download to read offline
Using the Cloud-Based Load
Testing Service and Application
Insights to Find Scale and
Performance Bottlenecks in
Your Applications
About me: Marcel de Vries
mdevries@xpirit.com
@marcelv
http://fluentbytes.comXpirit
Also regional director
Agenda
• Load testing
• Cloud based load testing
• Application insights & Performance
• Availability monitoring
Why should I load test my
systems?
4
Reasons not to:
• No time because we are to
busy developing features
before we have the deadline
• To much work to set things
up on premises
• To costly to run load test tools
• We did not know it was so
easy ….
Why Load Testing?
Setting up your load test
• Need to create scenarios
• Need to provide a real life scenario mix
– Not everyone who browses a site will buy the product
– Simulate actual conversion
• This can be done with Visual Studio
– Load and performance tests
– In 2015 in enterprise version
Web performance and load test
• Visual Studio Ultimate
• In 2015 in enterprise
• Web Performance Test
– Record scenarios
– Visit pages or call REST API
• Any unit test
– E.g. a test calling your WCF/REST services
DEMO
Load testing using Visual Studio
Typical Enterprise setup
Prod.myenterprise.com
Prod servers
Workplace clients
Prod network
AD server
&
DNS Server
Dev.myenterprise.com TFS
Server
Dev Clients
DEV network
AD server
&
DNS Server
TST.myenterprise.com
TST Clients
TST network
AD server
&
DNS Server
Dev Servers
TST Servers
Load test configuration
TST.myenterprise.com
TST Workstation
TST networkAD server
&
DNS Server
Load test rig
System Under Test
Load generator
Load generator
+
Controller
6901*
6901*
Http(s)://myurl.tst.myenterprise.com
Load test database
What is needed to make that work?
Net load testing can be:





Hosting Test Controller and Test Agents on Azure
• You can deploy test controller and Agents on
Azure VM’s
• Lot of work to get this configured
– Especially network communication
• Wouldn’t it be great if MS took care of this
for you?
Benefits of cloud load testing
Cloud Load test configuration
TST.myenterprise.com
TST Workstation
TST network
AD server
&
DNS Server
Load test rig
System Under Test
Load generator
Load generator
+
Controller
6901*
Http(s)://myurl.tst.myenterprise.com
DEMO
Cloud based Load testing using Visual Studio
New capabilities in VS 2015 & Update 5
What are important metrics?
• When we run load tests we need to have
insights into how the System under test
behaves
– CPU, Network, I/O, Exceptions, etc.
• We want to have detailed diagnostics when
things break
How do I get performance data from servers?
• In on premises scenario, just connect to the
machines as admin and pull the performance
counters
• Cloud based scenario, not easy to do
• Meet application insights!
360 degree view of your
application
Performance UsageAvailability Diagnostics
Application Insights
DEMO
Getting Started with Application Insights
Performance
• Client performance
• Server performance
• Performance counters
– You can add your own
counters via config
Diagnostics
• App insigths diagnostics help you figure out what
happened around a particular issue
• Find the events in the app insights portal
• Drill down in to events surrounding the issue
DEMO
Adding & Looking at diagnostic information
VSO AppInsights -> Azure
DEMO
Integrating Cloud Load tests and Application Insights
Re-use of your web tests
• In Application Insights you can monitor your
websites availability
• Simple: Single URL
• Complex: Upload a web test that represents
actual usage of your site
DEMO
Set up Multistep Synthetic monitor
But what does this cost?
• First we need to define a VUM..
– Virtual User Minute
– One minute of load testing of one Virtual user
– Constant load 25 users 3 minutes
• 25*3 = 75 VUM
• E.g run a test for 1 hour to simulate 10,000 users =>
– 60 * 10,000 => 600,000 * 0.0004 = $240
Load testing part of the build
• TFS 2015 will have a new build
infra structure
– New build designer (Web)
– New build agents (NodeJS)
– New build tasks (incl. cross
platform)
– Is compatible with XAML builds
on windows only
• New tasks include load testing!
Conclusion
• Cloud based load testing enables easy road to load
testing for your external facing sites / API’s
• Application insights provides great insights into usage of
your product
– Performance
– Usage
– Diagnostics
– Availability
• When you have the web tests you used in the load test
you can now reuse them for availability monitoring
Further reading & Help
Xpirit Magazine in your TechDays
bag
http://fluentbytes.com
@marcelv
mdevries@Xpirit.com
Need help? Contact us

More Related Content

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Using the cloud-based load testing service and application insights to find scale and performance bottlenecks in your applications

  • 1. Using the Cloud-Based Load Testing Service and Application Insights to Find Scale and Performance Bottlenecks in Your Applications
  • 2. About me: Marcel de Vries mdevries@xpirit.com @marcelv http://fluentbytes.comXpirit Also regional director
  • 3. Agenda • Load testing • Cloud based load testing • Application insights & Performance • Availability monitoring
  • 4. Why should I load test my systems? 4 Reasons not to: • No time because we are to busy developing features before we have the deadline • To much work to set things up on premises • To costly to run load test tools • We did not know it was so easy ….
  • 6. Setting up your load test • Need to create scenarios • Need to provide a real life scenario mix – Not everyone who browses a site will buy the product – Simulate actual conversion • This can be done with Visual Studio – Load and performance tests – In 2015 in enterprise version
  • 7. Web performance and load test • Visual Studio Ultimate • In 2015 in enterprise • Web Performance Test – Record scenarios – Visit pages or call REST API • Any unit test – E.g. a test calling your WCF/REST services
  • 8. DEMO Load testing using Visual Studio
  • 9. Typical Enterprise setup Prod.myenterprise.com Prod servers Workplace clients Prod network AD server & DNS Server Dev.myenterprise.com TFS Server Dev Clients DEV network AD server & DNS Server TST.myenterprise.com TST Clients TST network AD server & DNS Server Dev Servers TST Servers
  • 10. Load test configuration TST.myenterprise.com TST Workstation TST networkAD server & DNS Server Load test rig System Under Test Load generator Load generator + Controller 6901* 6901* Http(s)://myurl.tst.myenterprise.com Load test database
  • 11. What is needed to make that work? Net load testing can be:     
  • 12. Hosting Test Controller and Test Agents on Azure • You can deploy test controller and Agents on Azure VM’s • Lot of work to get this configured – Especially network communication • Wouldn’t it be great if MS took care of this for you?
  • 13. Benefits of cloud load testing
  • 14. Cloud Load test configuration TST.myenterprise.com TST Workstation TST network AD server & DNS Server Load test rig System Under Test Load generator Load generator + Controller 6901* Http(s)://myurl.tst.myenterprise.com
  • 15. DEMO Cloud based Load testing using Visual Studio
  • 16. New capabilities in VS 2015 & Update 5
  • 17. What are important metrics? • When we run load tests we need to have insights into how the System under test behaves – CPU, Network, I/O, Exceptions, etc. • We want to have detailed diagnostics when things break
  • 18. How do I get performance data from servers? • In on premises scenario, just connect to the machines as admin and pull the performance counters • Cloud based scenario, not easy to do • Meet application insights!
  • 19. 360 degree view of your application Performance UsageAvailability Diagnostics Application Insights
  • 20. DEMO Getting Started with Application Insights
  • 21. Performance • Client performance • Server performance • Performance counters – You can add your own counters via config
  • 22. Diagnostics • App insigths diagnostics help you figure out what happened around a particular issue • Find the events in the app insights portal • Drill down in to events surrounding the issue
  • 23. DEMO Adding & Looking at diagnostic information
  • 25. DEMO Integrating Cloud Load tests and Application Insights
  • 26. Re-use of your web tests • In Application Insights you can monitor your websites availability • Simple: Single URL • Complex: Upload a web test that represents actual usage of your site
  • 27. DEMO Set up Multistep Synthetic monitor
  • 28. But what does this cost? • First we need to define a VUM.. – Virtual User Minute – One minute of load testing of one Virtual user – Constant load 25 users 3 minutes • 25*3 = 75 VUM • E.g run a test for 1 hour to simulate 10,000 users => – 60 * 10,000 => 600,000 * 0.0004 = $240
  • 29. Load testing part of the build • TFS 2015 will have a new build infra structure – New build designer (Web) – New build agents (NodeJS) – New build tasks (incl. cross platform) – Is compatible with XAML builds on windows only • New tasks include load testing!
  • 30. Conclusion • Cloud based load testing enables easy road to load testing for your external facing sites / API’s • Application insights provides great insights into usage of your product – Performance – Usage – Diagnostics – Availability • When you have the web tests you used in the load test you can now reuse them for availability monitoring
  • 31. Further reading & Help Xpirit Magazine in your TechDays bag http://fluentbytes.com @marcelv mdevries@Xpirit.com Need help? Contact us