You might be able to add a Simple Data Writer and set the file name to
the terminal - e.g. on Windows you can use "CON". Use the Configure
button to deselect XML (and any fields you are not interested in).

Otherwise you could use a BeanShell Listener:

print(sampleResult.getSampleLabel());
or
print(sampleResult.getURL());
and
print(sampleResult.isSuccessful());


On 10/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> Hi Seb,
>
> Thanks.  I'll try that.  Is there any way when running JMeter in non-GUI
> mode to output the current status to the console?  E.g.
>
> Request 1: http://www.bbc.co.uk: Passed
> Request 2: http://www.microsoft.com: Passed
>
> Thanks,
>
> Simon
>
> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: 10 August 2007 09:17
> To: JMeter Users List
> Subject: Re: Test failed! java.lang.StackOverflowError
>
> The error seems to be associated with the display.
>
> So try removing all unnecessary Listeners (particularly Tree View).
>
> You could also run in non-GUI mode (which is much less resource
> intensive).
>
> On 10/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > Hi Seb,
> >
> > I upgraded to JMeter 2.3RC3 and ran a test overnight.  The error
> > occurred again:
> >
> > The first error occurred after processing 2256 requests (including
> > retrieval of all embedded objects)
> >
> > The second error occurred after processing 2860 requests.
> >
> > 2007/08/10 00:22:46 ERROR - jmeter.threads.JMeterThread: Test failed!
> > java.lang.StackOverflowError
> >        at javax.swing.tree.TreePath.<init>(TreePath.java:98)
> >        at javax.swing.tree.TreePath.<init>(TreePath.java:98)
> >        at javax.swing.tree.TreePath.<init>(TreePath.java:98)
> >
> > These stack overflow errors were first noticed after including the
> > option to include retrieval of all embedded objects.
> >
> > bash-3.00# ./jmeter -v
> > Copyright (c) 1998-2007 The Apache Software Foundation
> > Version 2.3RC3
> >
> > bash-3.00# java -version
> > java version "1.6.0_02"
> > Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
> > Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)
> >
> > bash-3.00# uname -a
> > SunOS bladeload2 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Blade-100
> >
> > Regards,
> >
> > Simon
> >
> > -----Original Message-----
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: 09 August 2007 11:59
> > To: JMeter Users List
> > Subject: Re: Test failed! java.lang.StackOverflowError
> >
> > Might be worth trying the current JMeter release.
> >
> > On 09/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > Hi Seb,
> > >
> > > OS:
> > > SunOS 5.10 Generic_118822-27 sun4u sparc SUNW,Ultra-80
> > >
> > > JMeter version:
> > > Copyright (c) 1998-2006 The Apache Software Foundation
> > > Version 2.1.2.20070613
> > >
> > > Java version:
> > > Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
> > > Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)
> > >
> > > Regards,
> > >
> > > Simon
> > >
> > > -----Original Message-----
> > > From: sebb [mailto:[EMAIL PROTECTED]
> > > Sent: 09 August 2007 11:26
> > > To: JMeter Users List
> > > Subject: Re: Test failed! java.lang.StackOverflowError
> > >
> > > Which version of JMeter? Java? OS?
> > >
> > > On 07/08/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > > Hi Peter,
> > > >
> > > > Thanks for your response.  My difficulty is that it has run
> > > successfully
> > > > for a number of requests.  It's just once it gets to a certain
> point
> > > in
> > > > the list of urls this error occurs.  The URL it is attempting to
> > > process
> > > > http://top.2wap.net/site.php
> > > >
> > > > This doesn't throw any StackOverflowError when I run it again.
> > > >
> > > > The structure of my test plan is as follows:
> > > >
> > > > Thread Group
> > > >        |- Loop Controller
> > > >                |- CSV Data Set Config
> > > >                |- HTTP Request HTTP Client
> > > >                |- HTTP Cookie Manager
> > > >        |- View Results Tree
> > > >
> > > > Thread Group
> > > >        - Thread Properties
> > > >                - Number of Threads: 1
> > > >                - Ramp-up Period: 1
> > > >                - Loop Count: 1
> > > >
> > > > Loop Controller
> > > >        - Loop Count: 10954
> > > >
> > > > CSV Data Set Config
> > > >        - Filename: ../datafiles/inputUrl.csv
> > > >        - Variable names: url
> > > >        - Delimiter: \n
> > > >        - Recycle on EOF: False
> > > >
> > > > HTTP Request HTTPClient
> > > >        - Server Name / IP: ${gHostName}.${gDomainName}
> > > >        - Port Number: ${gPortNo}
> > > >        - Protocol: http
> > > >        - Path: /${url}
> > > >        - Retrieve All Embedded Resources from HTML files: Checked
> > > >
> > > > HTTP Cookie Manager
> > > >        - Clear cookies each iteration: Checked
> > > >
> > > > Have you any other suggestions?
> > > >
> > > > Thanks,
> > > >
> > > > Simon
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Peter Lin [mailto:[EMAIL PROTECTED]
> > > > Sent: 07 August 2007 14:15
> > > > To: JMeter Users List
> > > > Subject: Re: Test failed! java.lang.StackOverflowError
> > > >
> > > > your test plan might be corrupted. the error looks like jmeter had
> > > > problems
> > > > with the structure of the testplan
> > > >
> > > > peter
> > > >
> > > > On 8/7/07, Simon Brown <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I'm getting a java.lang.StackOverflowError after running
> multiple
> > > > > requests to a suite of URLs.  The error is as follows:
> > > > >
> > > > > 2007/08/07 13:28:12 ERROR - jmeter.threads.JMeterThread: Test
> > > failed!
> > > > > java.lang.StackOverflowError
> > > > >         at
> > > > >
> > > >
> > >
> >
> javax.swing.tree.DefaultTreeModel.getPathToRoot(DefaultTreeModel.java:39
> > > > > 2)
> > > > >         at
> > > > >
> > > >
> > >
> >
> javax.swing.tree.DefaultTreeModel.getPathToRoot(DefaultTreeModel.java:39
> > > > > 2)
> > > > >         <snip>
> > > > >         at
> > > > >
> > > >
> > >
> >
> javax.swing.tree.DefaultTreeModel.getPathToRoot(DefaultTreeModel.java:39
> > > > > 2)
> > > > >
> > > > > Has anyone any suggestions as to why this is happening?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Simon
> > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to