Gradle Jmeter integration


(Preethi Padmanaban) #1

I am new to Jmeter and Gradle. I am trying to execute Jmeter (.jmx) test case using gradle build. I found classpath “gradle.plugin.net.foragerr.jmeter:jmeter-gradle-plugin:1.0.3-2.13” plugin to integrate jmeter in gradle.
It works fine. But on failure of test cases stating build success as follows

:jmRun
There were test errors. See the jmeter logs for details

BUILD SUCCESSFUL.

I was expecting to get build failure upon any test case failure. Is that possible to achieve it ? Any suggestion would be helpful.