-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Fails with all assertions passing #24
Comments
Not sure if it's the same issue, But if I have the option to fail the build if an assertion fails, all builds will fail, even if no assertion is present on the JMeter test script |
This seems an issue similar to what was reported here: https://teamcity-support.jetbrains.com/hc/en-us/community/posts/208505885-Need-help-to-get-TeamCity-to-report-the-results-of-my-JMeter-tests-correctly In my case, since I'm using a Windows machine, I used the following power shell script and now the "assertions" option is working as expected. param( $reader = [System.IO.File]::OpenText($source) To notice that the resulting format (which works) is the following: Documentation mentions: I had to dig in the Item.java file of this repository to check how the plugin actually works. |
I set up a simple build configuration on TeamCity. There is a test script that contains only a duration assertion. If I select the option to fail the build if an assertion fails the build fails regardless of the actual assertion of the status. I'm using the latest version of the plugin with TeamCity 2017.2 with jmeter 4.0.
Metrics are being collected and graphs are being displayed as expected.
The text was updated successfully, but these errors were encountered: