You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by billy <bi...@tanval.com> on 2007/05/02 05:14:52 UTC

jmeter test results question

 Hi,

I am just learning how to use jmeter.  I have a question regarding 
assertions and stopping threads/tests.  After recording a test, I have added 
some assertions on certain values to prove that my tests pass or fail.  I 
would also like to have my test thread stop when an assertion fails. 
However, if an image or something similar to that creates a failure (file 
not found or whatever), I am not so much concerned about that; although it 
makes my test thread stop, not allowing me to actually run the test through 
to where I really care.  Basically, I want to know if there is a way to 
discriminate between what I consider a major failure (and stop the thread) 
and a minor failure (and keep the thread running).    Any hints as how this 
may be accomplished?

Thanks,
Billy


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: jmeter test results question

Posted by sebb <se...@gmail.com>.
JMeter does not have different levels of failure.

You may be able to use:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Result_Status_Action_Handler

to achieve what you want by adding to the appropriate sections of the test plan.

On 02/05/07, billy <bi...@tanval.com> wrote:
>  Hi,
>
> I am just learning how to use jmeter.  I have a question regarding
> assertions and stopping threads/tests.  After recording a test, I have added
> some assertions on certain values to prove that my tests pass or fail.  I
> would also like to have my test thread stop when an assertion fails.
> However, if an image or something similar to that creates a failure (file
> not found or whatever), I am not so much concerned about that; although it
> makes my test thread stop, not allowing me to actually run the test through
> to where I really care.  Basically, I want to know if there is a way to
> discriminate between what I consider a major failure (and stop the thread)
> and a minor failure (and keep the thread running).    Any hints as how this
> may be accomplished?
>
> Thanks,
> Billy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org