See

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#listeners

for the list of less expensive listeners.

Of course it depends on the test whether or not it is necessary to
limit which listeners are used.

For tests with large numbers of samples, the cheapest would be to use
a Simple Data Writer with CSV output and ensure that only the required
fields are saved.

You can then reload the output file in whatever listener you want
after the test has completed.

S.
On 22/05/07, Allison Kern <[EMAIL PROTECTED]> wrote:
Still having some troubles with this sebb and leaning towards using a
different listener ... can you recommend a listener that is not a
resource hog?  I'm liking the aggregate graph listener...for the ability
to save the graph and the table data.

-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 19, 2007 7:25 AM
To: JMeter Users List
Subject: Re: NoSuchElementException

On 19/05/07, sebb <[EMAIL PROTECTED]> wrote:
> On 18/05/07, sebb <[EMAIL PROTECTED]> wrote:
> > On 18/05/07, Allison Kern <[EMAIL PROTECTED]> wrote:
> > > The file I'm trying to load is a JTL that had just been created by
> > > jmeter via a Graph listener.
> > >
> > > Jmeter log has this to say:
> > >
> > > WARN  - jmeter.save.SaveService: Could not set up alias JMSSampler
> > > java.lang.NoClassDefFoundError: javax/jms/Message
> > > 2007/05/18 09:31:29 WARN  - jmeter.save.SaveService: Could not set
up
> > > alias SubscriberSampler java.lang.NoClassDefFoundError:
> > > javax/jms/MessageListener
> > > 2007/05/18 09:31:29 INFO  - jmeter.save.SaveService: Using
SaveService
> > > properties version 1.8
> > > 2007/05/18 09:31:29 INFO  - jmeter.save.SaveService: All converter
> > > versions present and correct
> > > 2007/05/18 09:32:41 INFO  - jmeter.engine.StandardJMeterEngine:
> > > Listeners will be started after enabling running version
> > > 2007/05/18 09:32:41 INFO  - jmeter.engine.StandardJMeterEngine: To
> > > revert to the earlier behaviour, define
> > > jmeterengine.startlistenerslater=false
> > > 2007/05/18 09:32:41 INFO  - jmeter.engine.StandardJMeterEngine:
Running
> > > the test!
> > >
> > > Does this log entry indicate the issue?
> >
> > The warning message is OK - it just means that you have not
downloaded
> > the jms jars.
> >
> > Not sure what the problem is - perhaps you could send me the file
privately?
> >
>
> Thanks for the files.
>
> The problem is that JMeter uses the Listener configuration to save the
> CSV file data, but then uses the jmeter.save.saveservice.* settings
> from jmeter.properties when loading the file back in.
>
> This is clearly a bug ...

Which is now fixed in r539749, and will appear in due course in the
nightly builds.

Running it on the JTL file you sent me privately shows that the format
was changed after line 60.

> In the meantime, a work-round is to adjust the settings in
> jmeter.properties so that they agree with the file contents.

Or now one can include the proper header names as the first line of
the file, and this will be used to determine the format.

In your case you need

timeStamp,elapsed,label,responseCode,threadName,success

which should allow you to load the first 60 lines of the CSV file.

The remaining lines need to be put in a different file with the header:

timeStamp,elapsed,threadName,success

or the file needs to be editted to provide the missing columns in the
latter part of the file.

> The problem does not apply to XML format files because they contain
> field identifiers as well as the field values.
>

Thanks for raising the problem initially.

---------------------------------------------------------------------
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