jakarta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franco Sabadini <fsab...@gmail.com>
Subject Re: transaction controller issue
Date Thu, 03 Nov 2011 15:12:21 GMT
Be careful Shmuel, because 2.5.1 doesn't fix the whole issue, if the first
evaluation of the IF controller evaluates as false then the issue appears,
the best fix so far is to add a Test Action sampler at the same level as
the transaction controller inside the IF with a delay of 0 ms, that's what
I did.

Hope that helps.


Franco



On Wed, Nov 2, 2011 at 7:56 AM, Shmuel Krakower <shmulikk@gmail.com> wrote:

> That's great, I was fighting the same problem all morning and was about to
> post the same question after google wasn't helping.
> JMeter 2.5.1 solved my problem.
>
>
> Shmuel Krakower.
>
>
> On Tue, Nov 1, 2011 at 3:31 PM, Franco Sabadini <fsabadi@gmail.com> wrote:
>
> > Hi,
> >
> > yes that's what I found, I read the bug report yesterday, but is it
> > completelly fixed on JMeter 2.5.1? Or if the first evaluation of the IF
> is
> > false it'll still fail?
> >
> > Thanks.
> >
> >
> > Franco
> >
> >
> >
> >
> > On Mon, Oct 31, 2011 at 6:21 PM, Philippe Mouawad <
> > philippe.mouawad@gmail.com> wrote:
> >
> > > Hello,
> > > You may be facing an issue fixed in 2.5.1.
> > > See http://jakarta.apache.org/jmeter/changes.html
> > > If Controller - Catches a StackOverflowError when a condition returns
> > > always false (after at least one iteration with return true) See bug
> > 50618
> > >
> > > Regards
> > > Philippe
> > >
> > > On Mon, Oct 31, 2011 at 7:38 PM, Franco Sabadini <fsabadi@gmail.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm having an issue on JMeter 2.5, when running a test with a
> > transaction
> > > > controller inside an IF controller I get the following error (only
> > > > sometimes):
> > > >
> > > > 2011/10/28 13:36:47 ERROR - jmeter.threads.JMeterThread: Test failed!
> > > > java.lang.StackOverflowError
> > > >        at java.lang.String.indexOf(String.java:1521)
> > > >        at java.lang.ClassLoader.checkName(ClassLoader.java:775)
> > > >        at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:947)
> > > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:291)
> > > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> > > >        at
> > > >
> > >
> >
> org.mozilla.javascript.DefiningClassLoader.loadClass(DefiningClassLoader.java:72)
> > > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> > > >        at java.lang.Class.getDeclaredConstructors0(Native Method)
> > > >        at
> > java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
> > > >        at java.lang.Class.getConstructor0(Class.java:2699)
> > > >        at java.lang.Class.newInstance0(Class.java:326)
> > > >        at java.lang.Class.newInstance(Class.java:308)
> > > >        at
> > > >
> > >
> >
> org.mozilla.javascript.optimizer.Codegen.createScriptObject(Codegen.java:83)
> > > >        at
> org.mozilla.javascript.Context.compileImpl(Context.java:2280)
> > > >        at
> > org.mozilla.javascript.Context.compileString(Context.java:1284)
> > > >        at
> > org.mozilla.javascript.Context.compileString(Context.java:1273)
> > > >        at
> > > org.mozilla.javascript.Context.evaluateString(Context.java:1129)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:110)
> > > >        at
> > > > org.apache.jmeter.control.IfController.next(IfController.java:167)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:187)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:229)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        at
> > > >
> > >
> >
> org.apache.jmeter.control.GenericController.reInitializeSubController(GenericController.java:230)
> > > >        ..............
> > > >
> > > >
> > > >
> > > > Did anyone else see this?
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > Franco
> > > >
> > >
> > >
> > >
> > > --
> > > Cordialement.
> > > Philippe Mouawad.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message