JMeter How to stop the test when we reach specific error rate











up vote
3
down vote

favorite












I am running a performance test in JMeter. I wonder how to stop/abort the test exactly when it reaches 5% percentage.



Do we have an option like that?










share|improve this question


















  • 1




    Yes, you can do it by adding "Auto Stop Listener", as mentioned here: blazemeter.com/blog/…
    – dkb
    Nov 9 at 16:11












  • Any feedback on answer ? If ok it should be accepted and upvoted so that it's helpful to others. Thanks
    – UBIK LOAD PACK
    Nov 12 at 16:43










  • @UBIKLOADPACK - Thanks alot. It worked as expected!!!
    – Prasath
    Nov 16 at 13:46















up vote
3
down vote

favorite












I am running a performance test in JMeter. I wonder how to stop/abort the test exactly when it reaches 5% percentage.



Do we have an option like that?










share|improve this question


















  • 1




    Yes, you can do it by adding "Auto Stop Listener", as mentioned here: blazemeter.com/blog/…
    – dkb
    Nov 9 at 16:11












  • Any feedback on answer ? If ok it should be accepted and upvoted so that it's helpful to others. Thanks
    – UBIK LOAD PACK
    Nov 12 at 16:43










  • @UBIKLOADPACK - Thanks alot. It worked as expected!!!
    – Prasath
    Nov 16 at 13:46













up vote
3
down vote

favorite









up vote
3
down vote

favorite











I am running a performance test in JMeter. I wonder how to stop/abort the test exactly when it reaches 5% percentage.



Do we have an option like that?










share|improve this question













I am running a performance test in JMeter. I wonder how to stop/abort the test exactly when it reaches 5% percentage.



Do we have an option like that?







performance jmeter load-testing jmeter-3.2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 9 at 16:03









Prasath

204




204








  • 1




    Yes, you can do it by adding "Auto Stop Listener", as mentioned here: blazemeter.com/blog/…
    – dkb
    Nov 9 at 16:11












  • Any feedback on answer ? If ok it should be accepted and upvoted so that it's helpful to others. Thanks
    – UBIK LOAD PACK
    Nov 12 at 16:43










  • @UBIKLOADPACK - Thanks alot. It worked as expected!!!
    – Prasath
    Nov 16 at 13:46














  • 1




    Yes, you can do it by adding "Auto Stop Listener", as mentioned here: blazemeter.com/blog/…
    – dkb
    Nov 9 at 16:11












  • Any feedback on answer ? If ok it should be accepted and upvoted so that it's helpful to others. Thanks
    – UBIK LOAD PACK
    Nov 12 at 16:43










  • @UBIKLOADPACK - Thanks alot. It worked as expected!!!
    – Prasath
    Nov 16 at 13:46








1




1




Yes, you can do it by adding "Auto Stop Listener", as mentioned here: blazemeter.com/blog/…
– dkb
Nov 9 at 16:11






Yes, you can do it by adding "Auto Stop Listener", as mentioned here: blazemeter.com/blog/…
– dkb
Nov 9 at 16:11














Any feedback on answer ? If ok it should be accepted and upvoted so that it's helpful to others. Thanks
– UBIK LOAD PACK
Nov 12 at 16:43




Any feedback on answer ? If ok it should be accepted and upvoted so that it's helpful to others. Thanks
– UBIK LOAD PACK
Nov 12 at 16:43












@UBIKLOADPACK - Thanks alot. It worked as expected!!!
– Prasath
Nov 16 at 13:46




@UBIKLOADPACK - Thanks alot. It worked as expected!!!
– Prasath
Nov 16 at 13:46












2 Answers
2






active

oldest

votes

















up vote
5
down vote



accepted










First install plugins-manager by download jar, putting it in lib/ext and restarting jmeter.



Then install Auto-Stop Listener plugin:



Auto-Stop install



Add it to your plan and configure it this way:



Error Rate configuration



Note I have put 0 for other criterions to disable them.






share|improve this answer























  • Thanks for the +info. (notes)
    – Prasath
    Nov 16 at 13:47


















up vote
0
down vote














  1. One of the options is using AutoStop plugin. Example test plan: AutoStopExample_ErrRate.jmx

  2. You can run your JMeter test using Taurus tool as a wrapper, this way you will have real-time console and/or web reporting and possibility to benefit from extra features, one of them is Pass/Fail Criteria Subsystem which is powerful and flexible way of applying custom failure conditions to your test. Moreover it will return non-zero exit code which makes your test scripting and CI friendly. Check out Navigating your First Steps Using Taurus for more details if needed.






share|improve this answer





















  • Thanks @Dmitri - Taurus seems to be interesting. Gonna look into it and may be come up with some new threads of questions if required!
    – Prasath
    Nov 16 at 13:48











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53229275%2fjmeter-how-to-stop-the-test-when-we-reach-specific-error-rate%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
5
down vote



accepted










First install plugins-manager by download jar, putting it in lib/ext and restarting jmeter.



Then install Auto-Stop Listener plugin:



Auto-Stop install



Add it to your plan and configure it this way:



Error Rate configuration



Note I have put 0 for other criterions to disable them.






share|improve this answer























  • Thanks for the +info. (notes)
    – Prasath
    Nov 16 at 13:47















up vote
5
down vote



accepted










First install plugins-manager by download jar, putting it in lib/ext and restarting jmeter.



Then install Auto-Stop Listener plugin:



Auto-Stop install



Add it to your plan and configure it this way:



Error Rate configuration



Note I have put 0 for other criterions to disable them.






share|improve this answer























  • Thanks for the +info. (notes)
    – Prasath
    Nov 16 at 13:47













up vote
5
down vote



accepted







up vote
5
down vote



accepted






First install plugins-manager by download jar, putting it in lib/ext and restarting jmeter.



Then install Auto-Stop Listener plugin:



Auto-Stop install



Add it to your plan and configure it this way:



Error Rate configuration



Note I have put 0 for other criterions to disable them.






share|improve this answer














First install plugins-manager by download jar, putting it in lib/ext and restarting jmeter.



Then install Auto-Stop Listener plugin:



Auto-Stop install



Add it to your plan and configure it this way:



Error Rate configuration



Note I have put 0 for other criterions to disable them.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 9 at 21:11

























answered Nov 9 at 21:03









UBIK LOAD PACK

24.3k43465




24.3k43465












  • Thanks for the +info. (notes)
    – Prasath
    Nov 16 at 13:47


















  • Thanks for the +info. (notes)
    – Prasath
    Nov 16 at 13:47
















Thanks for the +info. (notes)
– Prasath
Nov 16 at 13:47




Thanks for the +info. (notes)
– Prasath
Nov 16 at 13:47












up vote
0
down vote














  1. One of the options is using AutoStop plugin. Example test plan: AutoStopExample_ErrRate.jmx

  2. You can run your JMeter test using Taurus tool as a wrapper, this way you will have real-time console and/or web reporting and possibility to benefit from extra features, one of them is Pass/Fail Criteria Subsystem which is powerful and flexible way of applying custom failure conditions to your test. Moreover it will return non-zero exit code which makes your test scripting and CI friendly. Check out Navigating your First Steps Using Taurus for more details if needed.






share|improve this answer





















  • Thanks @Dmitri - Taurus seems to be interesting. Gonna look into it and may be come up with some new threads of questions if required!
    – Prasath
    Nov 16 at 13:48















up vote
0
down vote














  1. One of the options is using AutoStop plugin. Example test plan: AutoStopExample_ErrRate.jmx

  2. You can run your JMeter test using Taurus tool as a wrapper, this way you will have real-time console and/or web reporting and possibility to benefit from extra features, one of them is Pass/Fail Criteria Subsystem which is powerful and flexible way of applying custom failure conditions to your test. Moreover it will return non-zero exit code which makes your test scripting and CI friendly. Check out Navigating your First Steps Using Taurus for more details if needed.






share|improve this answer





















  • Thanks @Dmitri - Taurus seems to be interesting. Gonna look into it and may be come up with some new threads of questions if required!
    – Prasath
    Nov 16 at 13:48













up vote
0
down vote










up vote
0
down vote










  1. One of the options is using AutoStop plugin. Example test plan: AutoStopExample_ErrRate.jmx

  2. You can run your JMeter test using Taurus tool as a wrapper, this way you will have real-time console and/or web reporting and possibility to benefit from extra features, one of them is Pass/Fail Criteria Subsystem which is powerful and flexible way of applying custom failure conditions to your test. Moreover it will return non-zero exit code which makes your test scripting and CI friendly. Check out Navigating your First Steps Using Taurus for more details if needed.






share|improve this answer













  1. One of the options is using AutoStop plugin. Example test plan: AutoStopExample_ErrRate.jmx

  2. You can run your JMeter test using Taurus tool as a wrapper, this way you will have real-time console and/or web reporting and possibility to benefit from extra features, one of them is Pass/Fail Criteria Subsystem which is powerful and flexible way of applying custom failure conditions to your test. Moreover it will return non-zero exit code which makes your test scripting and CI friendly. Check out Navigating your First Steps Using Taurus for more details if needed.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 12 at 7:23









Dmitri T

68.1k33458




68.1k33458












  • Thanks @Dmitri - Taurus seems to be interesting. Gonna look into it and may be come up with some new threads of questions if required!
    – Prasath
    Nov 16 at 13:48


















  • Thanks @Dmitri - Taurus seems to be interesting. Gonna look into it and may be come up with some new threads of questions if required!
    – Prasath
    Nov 16 at 13:48
















Thanks @Dmitri - Taurus seems to be interesting. Gonna look into it and may be come up with some new threads of questions if required!
– Prasath
Nov 16 at 13:48




Thanks @Dmitri - Taurus seems to be interesting. Gonna look into it and may be come up with some new threads of questions if required!
– Prasath
Nov 16 at 13:48


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53229275%2fjmeter-how-to-stop-the-test-when-we-reach-specific-error-rate%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini