JMeter Azure Pipeline Setup




  1. To create JMeter load test pipeline, we have to create new project or we can use existing project. To create new project. Here click New Project.




  1. Here give your project name and select Public or private for your profile visibility. I’m giving Private option here. If anybody wants to access so I can give them access.


  1. In Left side panel we can see pipeline option, so click on pipeline and releases.




  1. Click on New Pipeline to crate the pipeline.










  1. Click on Empty Job.




  1. Click on Add Artifact.




  1. Here we have to select our source file. I’m selecting Git hub here, Make sure that your JMX file is in your Git repository.



Fill all the details and click Add.



  1. Now click on Task to add our tasks.




  1. After that we will get below screen.




  1. Now click in (+) button under Agent job.




  1. Here we need to install JMeter plugin in our tasks. So type here JMeter key word after that there you can select the JMeter version and then click Add button. Here I’m selecting JMeter 5.3 latest version. We can add extra plugins here. (Ex: jmeter.backendlistner.azure) 








  1. Now click on (+) button and type command line and add it.




  1. In command line you have to give a command for JMeter Non GUI Mode execution, and we have to mention the target folder to save our HTML reports. Go to Advance tab – Working directory – Select Git hub working directory. Our results will be store in our Git repository.




  1. Add (+) button and type “publish release artifact” and install and add it.




  1. Click on Agent job and select Azure pipeline as a agent pool and select Agent specification (we can run in different OS)




  1. Click on Save.

  2. Click on Create Release.




  1. Here select the stage and click on create.

  2. This way release has been created.

  3. Click on created Release.

  4. Click on Deploy.




  1. It will take time to deploy.



  1. After execution load test, we can download logs.




Comments

Popular posts from this blog

LoadRunner Tool

Selenium Performance Testing with JMeter and Selenium Grid

JMeter Integration with AppDynamics