# Azure Load Testing Series - Configure Jmeter ## About this blog Hey folks!, In tis blog we will see in detail about Apache Jmeter. ------------------- ## GUI walkthrough ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7nkz6303t04doep21pev.png) ### Jmeter TestPlan - It can visualized as a script for running tests - It helps us to define the sequential flow of our business use case - It is saved in form of JMX extension file which is required in Azure Load Testing framework to run tests ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/adu9ctnnl35rdb18k5hh.png) ### Jmeter ThreadGroups - It represents the group of threads Jmeter will be using during the load test. - It allows us to - Set the number of threads
Number of users we will require for our testing - Set the ramp-up period
How much time JMeter should take to start the total number of threads - Set the loop count
Number of times the thread/user performs a particular test ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eolmh4w6y3kapjd0a6mp.png) ## Configure HTTP Request - Goto ThreadGroups->Add->Sampler->HTTP Request . It will allow you to specify the endpoint that we want to test ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4gh3if7xocu8sqwehcv2.png) - Provide Url in the Path to start testing ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5exrhqrd5tbv1eg88xen.png) ### Add Listeners - We can configure listeners on each requests that we sent as of the test plan. - You can find the list of options on right click HTTP Request->Add->Listener ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n26sqwnwfsrab50ox7pe.png) ### View ResultTree - This listener will show us the response data and status of each request - Click on Run icon to start the test - Result tree will be updated based on the configurations you provided in the thread group - Right now , it will execute only once as per our configurations we did earlier ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jsc3bvmg8qzm5f9b56dt.png) ### View SummaryReport - You can find details about response time , throughputs and other details in this report ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y3z98fvv7xy1nd85n7pi.png) ### Aggregate Graph - You can visualize the average response time in graph format with this listener ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/veqh4tm7husrjz2sf78u.png) ------------------- ## Next steps In our next blog we will see how to pass access token dynamically and execute a test plan with 10 concurrent users ------------------- ## Join us Please go ahead and join our discord channel (https://discord.gg/8Cs82yNS) to give some valuable feedbacks ## Sponsor