You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Rigazzi Beat (IT-BA-PT)" <be...@sbb.ch> on 2008/11/06 00:17:28 UTC
JMeter parameters for remote testing
Hi everybody,
I have the following problem / error with JMeter 2.3.2.
Any suggestions?
Many greets
Beat.
-------------------
When a test with a CSV data set is run remotely (by one or more remote instances of JMeter), $-variables are not replaced.
Example:
- Test Setup:
Test plan uses a csv data set with parameters paramA,paramB (limiter is comma ',').
The only JavaRequest uses input parameters paramA as ${paramA} and paramB as ${paramB}.
- Test plan execution works fine when run on the local machine from JMeter gui.
- Test plan runs with incorrect parameters when run remotely.
Parameters are not replaced: parameter values are "${paramA}" and "{$paramB}" (instead of actual csv values).
-------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: JMeter parameters for remote testing
Posted by sebb <se...@gmail.com>.
On 10/11/2008, Rigazzi Beat (IT-BA-PT) <be...@sbb.ch> wrote:
> Thanks for the hint with the server log.
>
> The problem was that JMeter changes the base dir when loading a test from the gui.
I think the intention was to allow the JMX and data files to be in the
same directory, without needing to specify a path, but it is a bit
confusing.
> This is not done when a test is run in remote mode. Now I use absolute paths and it works in gui and in remote mode
>
> Beat.
>
> -----Ursprüngliche Nachricht-----
> Von: sebb [mailto:sebbaz@gmail.com]
> Gesendet: Donnerstag, 6. November 2008 03:07
> An: JMeter Users List
> Betreff: Re: JMeter parameters for remote testing
>
>
>
> On 05/11/2008, Rigazzi Beat (IT-BA-PT) <be...@sbb.ch> wrote:
> > Hi everybody,
> >
> > I have the following problem / error with JMeter 2.3.2.
> >
> > Any suggestions?
> >
> > Many greets
> >
> > Beat.
> >
> > -------------------
> > When a test with a CSV data set is run remotely (by one or more
> > remote instances of JMeter), $-variables are not replaced.
> >
> > Example:
> > - Test Setup:
> > Test plan uses a csv data set with parameters paramA,paramB (limiter is comma ',').
> > The only JavaRequest uses input parameters paramA as ${paramA} and
> > paramB as ${paramB}.
> > - Test plan execution works fine when run on the local machine from JMeter gui.
> > - Test plan runs with incorrect parameters when run remotely.
> > Parameters are not replaced: parameter values are "${paramA}" and "{$paramB}" (instead of actual csv values).
> > -------------------
>
> Check the server logs.
> Ensure that the file used by CSV Dataset is present on the server nodes.
>
> > ---------------------------------------------------------------------
> > 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
AW: JMeter parameters for remote testing
Posted by "Rigazzi Beat (IT-BA-PT)" <be...@sbb.ch>.
Thanks for the hint with the server log.
The problem was that JMeter changes the base dir when loading a test from the gui. This is not done when a test is run in remote mode. Now I use absolute paths and it works in gui and in remote mode
Beat.
-----Ursprüngliche Nachricht-----
Von: sebb [mailto:sebbaz@gmail.com]
Gesendet: Donnerstag, 6. November 2008 03:07
An: JMeter Users List
Betreff: Re: JMeter parameters for remote testing
On 05/11/2008, Rigazzi Beat (IT-BA-PT) <be...@sbb.ch> wrote:
> Hi everybody,
>
> I have the following problem / error with JMeter 2.3.2.
>
> Any suggestions?
>
> Many greets
>
> Beat.
>
> -------------------
> When a test with a CSV data set is run remotely (by one or more
> remote instances of JMeter), $-variables are not replaced.
>
> Example:
> - Test Setup:
> Test plan uses a csv data set with parameters paramA,paramB (limiter is comma ',').
> The only JavaRequest uses input parameters paramA as ${paramA} and
> paramB as ${paramB}.
> - Test plan execution works fine when run on the local machine from JMeter gui.
> - Test plan runs with incorrect parameters when run remotely.
> Parameters are not replaced: parameter values are "${paramA}" and "{$paramB}" (instead of actual csv values).
> -------------------
Check the server logs.
Ensure that the file used by CSV Dataset is present on the server nodes.
> ---------------------------------------------------------------------
> 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: JMeter parameters for remote testing
Posted by sebb <se...@gmail.com>.
On 05/11/2008, Rigazzi Beat (IT-BA-PT) <be...@sbb.ch> wrote:
> Hi everybody,
>
> I have the following problem / error with JMeter 2.3.2.
>
> Any suggestions?
>
> Many greets
>
> Beat.
>
> -------------------
> When a test with a CSV data set is run remotely (by one or more remote instances of JMeter), $-variables are not replaced.
>
> Example:
> - Test Setup:
> Test plan uses a csv data set with parameters paramA,paramB (limiter is comma ',').
> The only JavaRequest uses input parameters paramA as ${paramA} and paramB as ${paramB}.
> - Test plan execution works fine when run on the local machine from JMeter gui.
> - Test plan runs with incorrect parameters when run remotely.
> Parameters are not replaced: parameter values are "${paramA}" and "{$paramB}" (instead of actual csv values).
> -------------------
Check the server logs.
Ensure that the file used by CSV Dataset is present on the server nodes.
> ---------------------------------------------------------------------
> 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: JMeter parameters for remote testing
Posted by Sipathamandla <si...@gmail.com>.
I will answer with a question, is the CSV file also sent to the remote
server? I believe is has to be physically accessible by the remote server,
copy the file to the remote server and use relative paths.
Sipathamandla Shoko
Software Developer
Dariel Solutions - http://www.dariel.co.za
____________________________________________________________________________________________
2008/11/6 Rigazzi Beat (IT-BA-PT) <be...@sbb.ch>
> Hi everybody,
>
> I have the following problem / error with JMeter 2.3.2.
>
> Any suggestions?
>
> Many greets
>
> Beat.
>
> -------------------
> When a test with a CSV data set is run remotely (by one or more remote
> instances of JMeter), $-variables are not replaced.
>
> Example:
> - Test Setup:
> Test plan uses a csv data set with parameters paramA,paramB (limiter is
> comma ',').
> The only JavaRequest uses input parameters paramA as ${paramA} and paramB
> as ${paramB}.
> - Test plan execution works fine when run on the local machine from JMeter
> gui.
> - Test plan runs with incorrect parameters when run remotely.
> Parameters are not replaced: parameter values are "${paramA}" and
> "{$paramB}" (instead of actual csv values).
> -------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>