You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Simon Brown <Si...@openwave.com> on 2007/08/13 10:24:13 UTC

Continuing with test run when error encountered

Hi,

Does anyone know how to ensure that a test run continues and ignores
errors e.g. NullPointerException

I have the Thread Group 'On Sample Error' set to 'continue'.

Thanks,

Simon



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


Re: Continuing with test run when error encountered

Posted by sebb <se...@gmail.com>.
No.

It's not generally possible to code a program such that it recovers
from program bugs - after all, there might be bugs in the recovery
software itself...

The only solution is to find and correct the program bug; this would
then allow JMeter to continue if appropriate.

On 13/08/07, Simon Brown <Si...@openwave.com> wrote:
> Sebb,
>
> Many thanks once again.  Just wondering if there's any way to ensure if
> a program bug like this is encountered, the test run still continues?
>
> Thanks,
>
> Simon
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: 13 August 2007 15:37
> To: JMeter Users List
> Subject: Re: Continuing with test run when error encountered
>
> On 13/08/07, Simon Brown <Si...@openwave.com> wrote:
> > Hi,
> >
> > Does anyone know how to ensure that a test run continues and ignores
> > errors e.g. NullPointerException
>
> That's a program bug, not a sampler error.
>
> As such the On Sample Error has no effect.
>
> > I have the Thread Group 'On Sample Error' set to 'continue'.
> >
> > Thanks,
> >
> > Simon
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>
> ---------------------------------------------------------------------
> 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


RE: Continuing with test run when error encountered

Posted by Simon Brown <Si...@openwave.com>.
Sebb,

Many thanks once again.  Just wondering if there's any way to ensure if
a program bug like this is encountered, the test run still continues?

Thanks,

Simon

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: 13 August 2007 15:37
To: JMeter Users List
Subject: Re: Continuing with test run when error encountered

On 13/08/07, Simon Brown <Si...@openwave.com> wrote:
> Hi,
>
> Does anyone know how to ensure that a test run continues and ignores
> errors e.g. NullPointerException

That's a program bug, not a sampler error.

As such the On Sample Error has no effect.

> I have the Thread Group 'On Sample Error' set to 'continue'.
>
> Thanks,
>
> Simon
>
>
>
> ---------------------------------------------------------------------
> 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


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


Re: Continuing with test run when error encountered

Posted by sebb <se...@gmail.com>.
On 13/08/07, Simon Brown <Si...@openwave.com> wrote:
> Hi,
>
> Does anyone know how to ensure that a test run continues and ignores
> errors e.g. NullPointerException

That's a program bug, not a sampler error.

As such the On Sample Error has no effect.

> I have the Thread Group 'On Sample Error' set to 'continue'.
>
> Thanks,
>
> Simon
>
>
>
> ---------------------------------------------------------------------
> 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