jmeter-analysis-maven-plugin icon indicating copy to clipboard operation
jmeter-analysis-maven-plugin copied to clipboard

Automatic fail build based on threshold in Jenkins?

Open usherfu opened this issue 7 years ago • 0 comments

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?

usherfu avatar Sep 16 '17 20:09 usherfu