# Azure Load Testing Series - Setup ## About this blog Hey folks!, In tis blog we will see what are the pre-requisites to run performance testing in Azure Load Testing framework. ------------------- ## Purpose of load testing - In order to say that application is ready to move into production , we might need to know how it will perform in real user scenarios or how it will be affected by normal and peak loads. - It allows us to identify the bottlenecks/defects in your architecture ------------------- ## Azure Load Testing ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tdkj9sqetposos31820g.png) - Azure Load Testing test engines abstract the required infrastructure for running a high-scale load test. - The test engines execute the Apache JMeter script to simulate a large number of virtual users simultaneously accessing your application endpoints. - Client-side metrics
It allows us to visualize the request/response time and the number of requests per seconds for a specific number of virtual users. - Server-side metrics
It allows us to integrate natively with azure monitor, including application insights and container insights to capture details from azure services. Each metrics depends on the type of service you intend to analyze. ------------------- ## Pre-requisites - Java - Apache Jmeter ------------------- ## Setup ### Step 1 - Download and install Java - Jmeter requires Java 8+ version to run - Depending on your operating system download the installer from this link ### Step 2 - Download Jmeter - You can find the binaries from this link ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zzf6guu8chnoyvvqdbpe.png) - Extract the folder to your convinient location ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bdz0r6023ug4s2uofk3k.png) #### Add system environment varibles ```cmd C:\Program Files\apache-jmeter-5.4.1\apache-jmeter-5.4.1\bin ``` ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dbhapw3xcpwgqnl6wfef.png) - Now in the command prompt , type "jmeter" and enter. You will enter into GUI mode ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xs1of628xzz9cb8uwin7.png) #### Jmeter GUI ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7nkz6303t04doep21pev.png) ------------------- ## Next steps In our next blog we will see more in detail about Jmeter on how to configure virtual users,test data... ------------------- ## Join us Please go ahead and join our discord channel (https://discord.gg/8Cs82yNS) to give some valuable feedbacks ## Sponsor