On 26/05/2009, Noel O'Brien <[email protected]> wrote:
> I've added the details to the ticket in Bugzilla, but here it is for 
> convenience:
>
>  Notes about the test plan schema:
>
>  1. All Random Controllers have "Ignore sub-controller blocks" unchecked
>  2. All Throughput Controllers are "Percent Executions", with siblings adding 
> to 100%. e.g. 4 sibling Throughput Controllers could have "Throughput" set to 
> 60, 25, 10, 5 respectively.

In that case, using the Switch Controller with a suitably chosen value
might solve the crash.

>  From some simple tests I had run previously, haveing (for example) 4 
> Throughput Controllers without a Random Controller as a parent would execute 
> Throughput Controllers in sequence. That's why each set of Throughput 
> Controllers has a Random Controler as a parent.
>
>  I found that it was convenient just to reference out to the captured traffic 
> using Module Controllers, but if you think this adds too much complexity to 
> the test plan, I will try refactor it.

No, that's probably not causing the problem. It's most likely the deep
nesting of Random and Throughput Controllers.

It would obviously be useful to know where the failure occurs.

>  Regards,
>
> Noel
>
>
>
>  ----- Original Message -----
>  From: "sebb" <[email protected]>
>  To: "JMeter Users List" <[email protected]>
>
> Sent: Tuesday, 26 May, 2009 17:37:34 GMT +00:00 GMT Britain, Ireland, Portugal
>  Subject: Re: StackOverflowError
>
>  Thanks!
>
>  That looks far too complicated to use as a test case, however it's
>  still useful to have the information in case simpler test cases don't
>  show the problem.
>
>  Unfortunately the schematic does not show the "Execution Style" for
>  the Throughput Controller - which do you use? Also, the Random
>  Controller "Ignore sub-controller blocks" setting is not shown - which
>  did you use?
>
>  On 26/05/2009, Noel O'Brien <[email protected]> wrote:
>  > Done:
>  > https://issues.apache.org/bugzilla/show_bug.cgi?id=47269
>  >
>  >
>  > Regards,
>  > Noel
>  >
>  > ----- Original Message -----
>  > From: "sebb" <[email protected]>
>  > To: "JMeter Users List" <[email protected]>
>  >
>  > Sent: Tuesday, 26 May, 2009 16:19:36 GMT +00:00 GMT Britain, Ireland, 
> Portugal
>  > Subject: Re: StackOverflowError
>  >
>  > Create the Bugzilla issue, re-open and add the attachment.
>  >
>  > On 26/05/2009, Noel O'Brien <[email protected]> wrote:
>  > > Hmm, doesn't look like attachyments are supported in this mailing list. 
> Is there anywhere else I can put it?
>  > >
>  > > Regards,
>  > > Noel
>  > >
>  > >
>  > > ----- Original Message -----
>  > > From: "Noel O'Brien" <[email protected]>
>  > > To: "JMeter Users List" <[email protected]>
>  > >
>  > > Sent: Tuesday, 26 May, 2009 16:12:16 GMT +00:00 GMT Britain, Ireland, 
> Portugal
>  > > Subject: Re: StackOverflowError
>  > >
>  > >
>  > > Ok, I've replaced it all, see attached
>  > >
>  > > Regards,
>  > > Noel
>  > >
>  > > ----- Original Message -----
>  > > From: "sebb" <[email protected]>
>  > > To: "JMeter Users List" <[email protected]>
>  > > Sent: Tuesday, 26 May, 2009 15:52:24 GMT +00:00 GMT Britain, Ireland, 
> Portugal
>  > > Subject: Re: StackOverflowError
>  > >
>  > > That's fine - or you could just change the sensitive parts - e.g. use
>  > > different URLs etc.
>  > >
>  > > On 26/05/2009, Noel O'Brien <[email protected]> wrote:
>  > > > Hi,
>  > > >
>  > > > I've generated the HTML schema file. Can I send it to you personally, 
> i.e. I don't want to post it publically for security reasons
>  > > >
>  > > >
>  > > > Regards,
>  > > > Noel
>  > > >
>  > > > ----- Original Message -----
>  > > > From: "sebb" <[email protected]>
>  > > > To: "JMeter Users List" <[email protected]>
>  > > >
>  > > > Sent: Tuesday, 26 May, 2009 14:56:18 GMT +00:00 GMT Britain, Ireland, 
> Portugal
>  > > > Subject: Re: StackOverflowError
>  > > >
>  > > > OK, that could be added later.
>  > > >
>  > > > Meanwhile, perhaps you can use the extras/schematic.* files to
>  > > > generate a summary of the test plan that fails and attach that.
>  > > > [There's no schematic.sh version, but it should be obvious what to do
>  > > > if you are not using Windows].
>  > > >
>  > > > On 26/05/2009, Noel O'Brien <[email protected]> wrote:
>  > > > > Hi,
>  > > > >
>  > > > > I find it hard to reproduce with a simple test plan, but I'll try to 
> put something together that will reproduce the issue
>  > > > >
>  > > > > Regards,
>  > > > > Noel
>  > > > >
>  > > > > ----- Original Message -----
>  > > > > From: "sebb" <[email protected]>
>  > > > > To: "JMeter Users List" <[email protected]>
>  > > > > Sent: Tuesday, 26 May, 2009 12:21:38 GMT +00:00 GMT Britain, 
> Ireland, Portugal
>  > > > > Subject: Re: Stac
>  > > > >
>  > > > > On 25/05/2009, Noel O'Brien <[email protected]> wrote:
>  > > > > > Hi All,
>  > > > > >
>  > > > > > I'm using JMeter (2.3.2) to simulate a traffic model for our 
> application (server) based on the traffic that our client generates. I used 
> the JMeter proxy to sniff the traffic and then to make it more realistic I 
> re-organised the captured samples into a series or Random and Throughput 
> controllers. This works fine until the point in the test plan where the 
> random/throuput controller come into play nad the the following happens, 
> halting the test:
>  > > > > >
>  > > > > > 2009/05/25 16:07:54 ERROR - jmeter.threads.JMeterThread: Test 
> failed! java.lang.StackOverflowError
>  > > > > > at java.util.HashMap.getEntry(HashMap.java:344)
>  > > > > > at java.util.LinkedHashMap.get(LinkedHashMap.java:280)
>  > > > > > at java.util.Collections$SynchronizedMap.get(Collections.java:1975)
>  > > > > > at 
> org.apache.jmeter.testelement.AbstractTestElement.getProperty(AbstractTestElement.java:140)
>  > > > > > at 
> org.apache.jmeter.testelement.AbstractTestElement.getPropertyAsInt(AbstractTestElement.java:183)
>  > > > > > at 
> org.apache.jmeter.control.ThroughputController.getStyle(ThroughputController.java:109)
>  > > > > > at 
> org.apache.jmeter.control.ThroughputController.isDone(ThroughputController.java:207)
>  > > > > > at 
> org.apache.jmeter.control.InterleaveControl.currentReturnedNull(InterleaveControl.java:153)
>  > > > > > at 
> org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:94)
>  > > > > > at 
> org.apache.jmeter.control.GenericController.next(GenericController.java:146)
>  > > > > > at 
> org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:83)
>  > > > > > at 
> org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95)
>  > > > > > at 
> org.apache.jmeter.control.GenericController.next(GenericController.java:146)
>  > > > > > at 
> org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:83)
>  > > > > > at 
> org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95)
>  > > > > > at 
> org.apache.jmeter.control.GenericController.next(GenericController.java:146)
>  > > > > > at 
> org.apache.jmeter.control.InterleaveControl.next(InterleaveControl.java:83)
>  > > > > > at 
> org.apache.jmeter.control.InterleaveControl.nextIsAController(InterleaveControl.java:95)
>  > > > > >
>  > > > > >
>  > > > > > Has anyone seen this before? If so what's causing it and is thete 
> a way to work around it? I've tries the test plan with 2.3.3 also, but the 
> same thing happens
>  > > > > >
>  > > > >
>  > > > > It's not been reported before, as far as I know.
>  > > > >
>  > > > > Could you create a Bugzilla issue for it?
>  > > > > Please attach a (simple) test plan that exibits the behaiour, and the
>  > > > > log from running it.
>  > > > >
>  > > > > Thanks.
>  > > > >
>  > > > > > --
>  > > > > > Regards,
>  > > > > >
>  > > > > > Noel
>  > > > > >
>  > > > >
>  > > > > ---------------------------------------------------------------------
>  > > > > To unsubscribe, e-mail: [email protected]
>  > > > > For additional commands, e-mail: [email protected]
>  > > > >
>  > > > >
>  > > > >
>  > > > > --
>  > > > > Regards,
>  > > > >
>  > > > > Noel
>  > > > >
>  > > >
>  > > >
>  > > > ---------------------------------------------------------------------
>  > > >
>  > > > To unsubscribe, e-mail: [email protected]
>  > > > For additional commands, e-mail: [email protected]
>  > > >
>  > > >
>  > > >
>  > > > --
>  > > > Regards,
>  > > > Noel
>  > > >
>  > >
>  > > ---------------------------------------------------------------------
>  > > To unsubscribe, e-mail: [email protected]
>  > > For additional commands, e-mail: [email protected]
>  > >
>  > >
>  > >
>  > > --
>  > > Regards,
>  > > Noel
>  > >
>  > >
>  > > --------------------------------------------------------------------- To 
> unsubscribe, e-mail: [email protected] For 
> additional commands, e-mail: [email protected]
>  > >
>  > > --
>  > > Regards,
>  > >
>  > > Noel
>  > >
>  >
>  >
>  > ---------------------------------------------------------------------
>  >
>  > To unsubscribe, e-mail: [email protected]
>  > For additional commands, e-mail: [email protected]
>  >
>  >
>  >
>  > --
>  > Regards,
>  > Noel
>  >
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: [email protected]
>  For additional commands, e-mail: [email protected]
>
>
>
>  --
>  Regards,
>  Noel
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to