On 6 July 2012 23:50, Stanton W Derry <[email protected]> wrote:
> This is the outline of the Test Plan:
>
> TestPlan
>   - Setup Thread Group - 1 thread
>       Header Mgr
>       Cookie Mgr
>       Transaction Controller
>         HTTP Request
>           Regular Expression Extractor
>         Loop Controller - Base on REE_matchNr (always between 1 and 8)
>           HTTP Request
>             Regular Expression Extractor
>             BeanShell PostProcessor - creates properties from matched
> extractions
>   - Thread Group
>       Header Mgr
>       Cookie Mgr
>       Once Only Controller
>         HTTP Request - sets cookies
>       Transaction Controller
>         IF Controller - JMeterThread.last_sample_ok
>           HTTP Request
>         IF Controller - Is request to be processed test
>           IF Controller - JMeterThread.last_sample_ok
>              HTTP Request
>     Constant Throughput Timer - 960 tpm

Which thread group causes the problem?
I assume it's the main one, but that's only a guess.

Does it happen every time?

Can you provide a test case that uses a public site?
If so, please create a Bugzilla and attach the plan.

It looks like you could try replacing the If Controllers with Test
Action - stop thread on error.


>
> On 7/6/12 3:31 PM, sebb wrote:
>>
>> On 6 July 2012 22:51, Stanton W Derry<[email protected]>  wrote:
>>
>>>
>>> Running with both 2.5.1 and 2.7, encounter
>>>
>>>   WARN  - jmeter.control.GenericController: StackOverflowError detected
>>>
>>>
>>> then the stack trace below and the thread dies.  I've changed the JVM
>>> ThreadStackSize=2048 and still have the issue.  Response to the HTTP
>>> samplers is quite large 250k+.
>>>
>>> Any thoughts on how to solve this?
>>>
>>> Thanks in advance,
>>> Stan
>>>
>>> 2012/07/06 17:08:46 ERROR - jmeter.threads.JMeterThread: Test failed!
>>> java.lang.StackOverflowError
>>>          at java.io.BufferedWriter.write(BufferedWriter.java:202)
>>>          at java.io.Writer.write(Writer.java:140)
>>>          at java.io.PrintStream.write(PrintStream.java:475)
>>>          at java.io.PrintStream.print(PrintStream.java:619)
>>>          at java.io.PrintStream.println(PrintStream.java:756)
>>>          at
>>>
>>> org.apache.log.util.DefaultErrorHandler.error(DefaultErrorHandler.java:42)
>>>          at
>>> org.apache.log.Hierarchy$InnerErrorHandler.error(Hierarchy.java:266)
>>>          at
>>>
>>> org.apache.log.output.AbstractTarget.processEvent(AbstractTarget.java:112)
>>>          at org.apache.log.Logger.fireEvent(Logger.java:632)
>>>          at org.apache.log.Logger.output(Logger.java:607)
>>>          at org.apache.log.Logger.output(Logger.java:590)
>>>          at org.apache.log.Logger.warn(Logger.java:205)
>>>          at
>>>
>>> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:190)
>>>          at
>>>
>>> org.apache.jmeter.control.GenericController.next(GenericController.java:148)
>>>          at
>>> org.apache.jmeter.control.LoopController.next(LoopController.java:108)
>>>          at
>>>
>>> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:195)
>>>          at
>>>
>>> org.apache.jmeter.control.GenericController.next(GenericController.java:148)
>>>          at
>>> org.apache.jmeter.control.LoopController.next(LoopController.java:108)
>>>          at
>>>
>>> org.apache.jmeter.control.LoopController.nextIsNull(LoopController.java:130)
>>>          at
>>>
>>> org.apache.jmeter.control.GenericController.next(GenericController.java:143)
>>>          at
>>> org.apache.jmeter.control.LoopController.next(LoopController.java:108)
>>>          at
>>>
>>> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:195)
>>>          at
>>>
>>> org.apache.jmeter.control.GenericController.next(GenericController.java:148)
>>>          at
>>> org.apache.jmeter.control.LoopController.next(LoopController.java:108)
>>>          at
>>>
>>> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:195)
>>>          at
>>>
>>> org.apache.jmeter.control.GenericController.next(GenericController.java:148)
>>>          ....
>>>
>>>
>>
>> Looks like it may be a loop in the code.
>> Try simplifying the test plan.
>>
>>
>>

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

Reply via email to