jenkins the definitive guide

(Jeff_L) #1

your application has contractual obligations in this regard. One way to do this in JMeter is by adding
a Duration Assertion element to your script. This will cause an error if any request takes longer than
a certain fixed time to execute.


Figure 6.28. Configuring the Performance plugin in your build job


Now, when the build job runs, the Performance plugin will produce graphs keeping track of overall
response times and of the number of errors (see Figure 6.29, “The Jenkins Performance plugin keeps
track of response time and errors”). There will be a separate graph for each JMeter report you have
generated. If there is only one graph, it will appear on the build home page; otherwise you can view
them on a dedicated page that you can access via the Performance Trend menu item.


Figure 6.29. The Jenkins Performance plugin keeps track of response time and errors

Free download pdf