Pages

Thursday, August 10, 2017

BlazeMeter integration with Jenkins

BlazeMeter provides an enterprise performance testing and capacity planning SAAS that supports multiple types of application platforms ranging from webapps , websites to mobile apps and web services

Some of the noticeable features are
1.100% Apache Jmeter compatible so you can run any Jmeter Script or use any Jmeter plugin
2.Easily simulate up to 100,000 concurrent users.
3.Create load from both the public cloud and inside your own firewall.

Blaze meter not just provides server data it also provides Client side details like
1. The number of Virtual users hitting the Service
2. Real Client side response time and latency and throughput
3. Detailed Error, response messages from Client Side

Blaze Meter provides a plugin which can be integrated into our Jenkins platform for doing a Automated testing as a part of CI/CD Pipeline. Follow the steps below to install Blazemeter plugin and configuring that

1.Install the Blazemeter plugin from “Jenkins -> Manage Plugins”.

2. Configure the Blaze Meter cloud location in “Jenkins -> Configure System” as
3. We need to create a Credential to connect to the Blaze Meter cloud as
Enter a Description and for the API Key we need to login to the “blazemeter.com” and go to Personal Settings. Under the personal settings we can see our Current key under the API key as
Copy the Key and paste that in the API Key Section of the above credential box. Click on the Test BlazeMeter API key to verify.

Note – Some how the new keys generated are not working when we verify from Jenkins. Use the legacy key.

Save once the verification is done.

4. Now create a Job and in the “Add Build Item” , select Blaze Meter. In the configuration of Blaze Meter , select the API key which will display all the Blaze Meter tests available.

We can save the JTL and Junit Reports to a location for further processing.

5. Run the Job and this will take time depending on the time set for the Blaze Meter tests.

No comments :

Post a Comment