afranken / jmeter-analysis-maven-plugin

Plugin that parses JMeter result files and computes performance indicators such as average request duration
58 stars 40 forks source link

Automatic fail build based on threshold in Jenkins? #49

Open usherfu opened 6 years ago

usherfu commented 6 years ago

Hi,

I am wondering if it is possible to automatic fail a build based on predefined threshold when running Jmeter test with Jmeter mave plugin?

Some use scenario: 1) HTTP response time is above an absolute threshold 2) response time is above a relative threshold compared with previous build

For scenario 1), easiest way is probably to use autostop-plugin. A more complex way is to use Taurus PassFail criteria, which seems to be overkill if only need such feature.

For scenario 2), I have not found any ready solution yet. Jenkins performance plugin can generate performance trend, has anyone tried this, any feedback?