You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Duncan Davidson <dd...@staffmail.ed.ac.uk> on 2009/01/23 15:56:08 UTC
Remote testing
Hi
I have been running a test remotely and logging using a Simple Data Writer. For some reason it has suddenly stopped logging unless the test is run on the local machine. I have added other listeners and (for example) the graph results shows the results from remote test but the file part of it still won't output.
Any ideas?
Thanks
Duncan
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Remote testing
Posted by sebb <se...@gmail.com>.
Finally had another look at this and found the problem.
The error is caused by using different numbers of sample_variable
entries on the server and client.
As a work-round, if you use the sample_variables feature, please make
sure that the client and all servers use the same setting.
Clearly the client and server instances need to agree to use the same
variable names - otherwise the test output won't make sense, even if
there are no errors - but it should be easier to configure.
On 26/01/2009, sebb <se...@gmail.com> wrote:
> Which version of JMeter are you using?
>
>
> On 23/01/2009, Duncan Davidson <dd...@staffmail.ed.ac.uk> wrote:
> > Thx. There is a nice stack trace
> >
> > 2009/01/23 14:51:58 ERROR - jmeter.reporters.ResultCollector: Error trying to record a sample java.lang.ArrayIndexOutOfBoundsException: 0
> > at org.apache.jmeter.samplers.SampleEvent.getVarValue(SampleEvent.java:143)
> > at org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:843)
> > at org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:681)
> > at org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:433)
> > at org.apache.jmeter.samplers.RemoteSampleListenerImpl.sampleOccurred(RemoteSampleListenerImpl.java:99)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> > at sun.rmi.transport.Transport$1.run(Unknown Source)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> > at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
> > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
> > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> > at java.lang.Thread.run(Unknown Source)
> >
> >
> > -----Original Message-----
> > From: Steve Kapinos [mailto:Steve.Kapinos@tandberg.com]
> > Sent: 23 January 2009 15:00
> > To: JMeter Users List
> >
> > Subject: RE: Remote testing
> >
> > Look in jmeter.log probably
> >
> > Permissions on file directory? File paths changed?
> >
> > -----Original Message-----
> > From: Duncan Davidson [mailto:ddavids1@staffmail.ed.ac.uk]
> > Sent: Friday, January 23, 2009 9:56 AM
> > To: JMeter Users List
> > Subject: Remote testing
> >
> > Hi
> >
> > I have been running a test remotely and logging using a Simple Data Writer. For some reason it has suddenly stopped logging unless the test is run on the local machine. I have added other listeners and (for
> > example) the graph results shows the results from remote test but the file part of it still won't output.
> >
> > Any ideas?
> >
> > Thanks
> > Duncan
> >
> >
> > --
> > The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Remote testing
Posted by sebb <se...@gmail.com>.
Which version of JMeter are you using?
On 23/01/2009, Duncan Davidson <dd...@staffmail.ed.ac.uk> wrote:
> Thx. There is a nice stack trace
>
> 2009/01/23 14:51:58 ERROR - jmeter.reporters.ResultCollector: Error trying to record a sample java.lang.ArrayIndexOutOfBoundsException: 0
> at org.apache.jmeter.samplers.SampleEvent.getVarValue(SampleEvent.java:143)
> at org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:843)
> at org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:681)
> at org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:433)
> at org.apache.jmeter.samplers.RemoteSampleListenerImpl.sampleOccurred(RemoteSampleListenerImpl.java:99)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> at sun.rmi.transport.Transport$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> -----Original Message-----
> From: Steve Kapinos [mailto:Steve.Kapinos@tandberg.com]
> Sent: 23 January 2009 15:00
> To: JMeter Users List
>
> Subject: RE: Remote testing
>
> Look in jmeter.log probably
>
> Permissions on file directory? File paths changed?
>
> -----Original Message-----
> From: Duncan Davidson [mailto:ddavids1@staffmail.ed.ac.uk]
> Sent: Friday, January 23, 2009 9:56 AM
> To: JMeter Users List
> Subject: Remote testing
>
> Hi
>
> I have been running a test remotely and logging using a Simple Data Writer. For some reason it has suddenly stopped logging unless the test is run on the local machine. I have added other listeners and (for
> example) the graph results shows the results from remote test but the file part of it still won't output.
>
> Any ideas?
>
> Thanks
> Duncan
>
>
> --
> The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Remote testing
Posted by Duncan Davidson <dd...@staffmail.ed.ac.uk>.
Thx. There is a nice stack trace
2009/01/23 14:51:58 ERROR - jmeter.reporters.ResultCollector: Error trying to record a sample java.lang.ArrayIndexOutOfBoundsException: 0
at org.apache.jmeter.samplers.SampleEvent.getVarValue(SampleEvent.java:143)
at org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:843)
at org.apache.jmeter.save.CSVSaveService.resultToDelimitedString(CSVSaveService.java:681)
at org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:433)
at org.apache.jmeter.samplers.RemoteSampleListenerImpl.sampleOccurred(RemoteSampleListenerImpl.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
-----Original Message-----
From: Steve Kapinos [mailto:Steve.Kapinos@tandberg.com]
Sent: 23 January 2009 15:00
To: JMeter Users List
Subject: RE: Remote testing
Look in jmeter.log probably
Permissions on file directory? File paths changed?
-----Original Message-----
From: Duncan Davidson [mailto:ddavids1@staffmail.ed.ac.uk]
Sent: Friday, January 23, 2009 9:56 AM
To: JMeter Users List
Subject: Remote testing
Hi
I have been running a test remotely and logging using a Simple Data Writer. For some reason it has suddenly stopped logging unless the test is run on the local machine. I have added other listeners and (for
example) the graph results shows the results from remote test but the file part of it still won't output.
Any ideas?
Thanks
Duncan
--
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Remote testing
Posted by Steve Kapinos <St...@tandberg.com>.
Look in jmeter.log probably
Permissions on file directory? File paths changed?
-----Original Message-----
From: Duncan Davidson [mailto:ddavids1@staffmail.ed.ac.uk]
Sent: Friday, January 23, 2009 9:56 AM
To: JMeter Users List
Subject: Remote testing
Hi
I have been running a test remotely and logging using a Simple Data
Writer. For some reason it has suddenly stopped logging unless the test
is run on the local machine. I have added other listeners and (for
example) the graph results shows the results from remote test but the
file part of it still won't output.
Any ideas?
Thanks
Duncan
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org