jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shaba K <shabazi...@gmail.com>
Subject Re: For Each Controller
Date Mon, 05 Dec 2011 17:31:30 GMT
from logs apart from the one i've mentioned earlier

i also see

2011/12/05 16:47:53 ERROR - jmeter.JMeter: Uncaught exception:
java.lang.OutOfMemoryError: GC overhead limit exceeded
    at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:64)
    at java.lang.StringBuilder.<init>(StringBuilder.java:85)
    at
sun.swing.MenuItemLayoutHelper.getAfterCheckIconGap(MenuItemLayoutHelper.java:224)
    at sun.swing.MenuItemLayoutHelper.reset(MenuItemLayoutHelper.java:137)
    at sun.swing.MenuItemLayoutHelper.<init>(MenuItemLayoutHelper.java:107)
    at
javax.swing.plaf.basic.BasicMenuItemUI.paintMenuItem(BasicMenuItemUI.java:494)
    at
javax.swing.plaf.basic.BasicMenuItemUI.paint(BasicMenuItemUI.java:475)
    at
javax.swing.plaf.basic.BasicMenuItemUI.update(BasicMenuItemUI.java:471)
    at javax.swing.JComponent.paintComponent(JComponent.java:778)
    at javax.swing.JComponent.paint(JComponent.java:1054)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5228)
    at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1482)
    at
javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1413)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1206)
    at javax.swing.JComponent.paint(JComponent.java:1040)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
    at
sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
    at
sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
    at java.awt.Container.paint(Container.java:1967)
    at java.awt.Window.paint(Window.java:3867)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:781)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:728)
    at
javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677)
    at javax.swing.RepaintManager.access$700(RepaintManager.java:59)
    at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1621)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)

2011/12/05 16:48:03 ERROR - jmeter.JMeter: Uncaught exception:
java.lang.OutOfMemoryError: GC overhead limit exceeded
    at sun.java2d.pipe.Region.getIntersectionXYXY(Region.java:481)
    at sun.java2d.pipe.Region.getIntersectionXYWH(Region.java:469)
    at sun.java2d.pipe.Region.getIntersection(Region.java:460)
    at sun.java2d.SunGraphics2D.validateCompClip(SunGraphics2D.java:1826)
    at sun.java2d.SunGraphics2D.clip(SunGraphics2D.java:1970)
    at sun.java2d.SunGraphics2D.clipRect(SunGraphics2D.java:1940)
    at java.awt.Graphics.create(Graphics.java:167)
    at javax.swing.JComponent.paintChildren(JComponent.java:869)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JViewport.paint(JViewport.java:725)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1047)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)

Any advise from expert's is helpful.

Have increased heap size in Jmeter.bat file to 1G. But the actual issue is
with the Beanshell Script.

On Mon, Dec 5, 2011 at 5:02 PM, Shaba K <shabazia09@gmail.com> wrote:

> Am back again with issue of
>
> having to map between parent & child  events & sending them as http
> request post data
>
>
> here's how my bean shell looks
>
> int countSubpackage =
> Integer.parseInt(vars.get("Get_Subpackage_id_matchNr"));
> int countPackage =   Integer.parseInt(vars.get("Get_event_Id_matchNr"));
> for(int i=1;i<=countPackage;i++)
> {
>     for(int j=1;j<=3;i++)
>
>     { //regex counts are 1 based
>        sampler.addArgument( "package["+ vars.get("Get_event_Id_" +
> i)+"]"+"["+vars.get("Get_Subpackage_id_"
> +j)+"]",vars.get("Get_Subpackage_id_"+j) );
>     }
> }
>
> now Count of Subpackage is 3
> Count of package is 10
>
> Each package has 3 subpackages.
>
> http post looks like package[event_id][subpackage_id] = package id.
>
> Integer.parseInt(vars.get("Get_Subpackage_id_matchNr")); i . . . '' :
> Method Invocation sampler.addArgument
> 2011/12/05 16:47:30 WARN  - jmeter.modifiers.BeanShellPreProcessor:
> Problem in BeanShell script org.apache.jorphan.util.JMeterException: Error
> invoking bsh method: eval    Sourced file: inline evaluation of: ``int
> countSubpackage = Integer.parseInt(vars.get("Get_Subpackage_id_matchNr"));
> i . . . '' : Method Invocation sampler.addArgument
> 2011/12/05 16:47:36 ERROR - jmeter.threads.JMeterThread: Test failed!
> java.lang.OutOfMemoryError: GC overhead limit exceeded
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sendPostData(HTTPHC4Impl.java:942)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:261)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1018)
>     at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1004)
>     at
> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:411)
>     at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:297)
>     at java.lang.Thread.run(Thread.java:722)
>
>
> Any guidance please ...
>
>
>
> On Sun, Dec 4, 2011 at 6:35 PM, Shaba K <shabazia09@gmail.com> wrote:
>
>> Thanks much !!!
>>
>>
>>
>> On Fri, Dec 2, 2011 at 6:03 PM, Deepak Shetty <shettyd@gmail.com> wrote:
>>
>>> ah dont make me blush - but thanks.
>>> While we are at it , lets also thank sebb , his name always showed up in
>>> the answers when I knew nothing about jmeter and had to rely on Google -
>>> and sebb.
>>>
>>>
>>> On Fri, Dec 2, 2011 at 12:28 AM, Felix Frank <ff@mpexnet.de> wrote:
>>>
>>> > On 12/01/2011 03:03 PM, Bruce Ide wrote:
>>> > > Sounds like you need the technique described at
>>> > >
>>> >
>>> http://theworkaholic.blogspot.com/2010/03/dynamic-parameters-in-jmeter.html
>>> >
>>> > I like how so many Test Plan design questions end up being answered by
>>> > Deepak one way or another :-)
>>> >
>>> > So thanks to Deepak for putting up the info and to Bruce for providing
>>> > the link - the described technique saved me a big headache just
>>> yesterday.
>>> >
>>> > Cheers
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>>> > For additional commands, e-mail: user-help@jmeter.apache.org
>>> >
>>> >
>>>
>>
>>
>

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