O'Reilly logo

Jenkins Continuous Integration Cookbook by Alan Berg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Functional testing using JMeter assertions

This recipe will show you how to use JMeter assertions in combination with a Jenkins Job. JMeter can test the responses to its HTTP requests and other samplers with assertions. This allows JMeter to fail Jenkins builds based on a range of JMeter tests. This approach is especially important when starting from an HTML mockup of a web application, whose underlying code is changing rapidly.

The test plan logs in and out of your local instance of Jenkins, checking size, duration, and text found in the login response.

Getting ready

We assume that you have already performed the Creating JMeter test plans and Reporting JMeter performance metrics recipes.

Note

The recipe requires the creation of a user tester1 in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required