On 03/11/2009, Andy Bell <[email protected]> wrote:
> Hi Sebb
>
>  We had a user.properties file (with the necessary values) in the same folder
>  as the jmx files, but JMeter did not pick it up. If I put these values in
>  the user.properties file in the JMeter bin folder then they get used.
>
>  Problem is, we need to set the URL for each test dynamically, so setting it
>  in a central place, like the JMeter bin folder, is not a solution for us...

Have you tried starting JMeter in the directory which contains the
property file?


>  Andy
>
>  2009/11/3 sebb <[email protected]>
>
>  > On 03/11/2009, Andy Bell <[email protected]> wrote:
>  > > Thanks Sebb
>  > >
>  > >  We've been trying to use JMeter property files to set these values, but
>  > >  JMeter doesn't seem to be picking up the files...
>  >
>  > What exactly did you try?
>  >
>  > >  When you say a property can be set using the command line, we're having
>  > >  problmes because our automatic set up is Hudson->Maven->Chronos and this
>  > is
>  > >  the Hudson command line we are using:
>  > >
>  > >  clean it:deploy chronos:report -Pit-weblogic-gobbette,it-sybase
>  > >  -DremoteDeployment=true
>  > >
>  > >  Can some parameters be incororated in this command line
>  >
>  > No idea - this is a question for the Maven and/or Chronos user lists.
>  >
>  > >  or are we better off
>  > >  with CSV DataSet files?
>  >
>  > CSV DataSet is more appropriate for variables that need to change during a
>  > run.
>  >
>  > >  Thanks
>  > >
>  > >  Andy
>  > >
>  > >  2009/11/3 sebb <[email protected]>
>  > >
>  > >
>  > >  > On 03/11/2009, Andy Bell <[email protected]> wrote:
>  > >  > > Hi
>  > >  > >
>  > >  > >  In the JMeter Gui I can set the Web Service URL in the SOAP/XML-RPC
>  > >  > Request
>  > >  > >  page.
>  > >  > >
>  > >  > >  However, we need to be able to run these tests against different
>  > >  > >  servers/ports - is there a way of making the URL dynamic?
>  > >  >
>  > >  > Yes, just use a variable or a property reference.
>  > >  >
>  > >  > A variable can be set from a file using CSV DataSet.
>  > >  > A property can be set on the command-line.
>  > >  >
>  > >  > >  We're running the tests using maven and chronos...
>  > >  > >
>  > >  > >  --
>  > >  > >
>  > >  > > Andy
>  > >  > >
>  > >  >
>  > >
>  > > > ---------------------------------------------------------------------
>  > >  > To unsubscribe, e-mail: [email protected]
>  > >  > For additional commands, e-mail: [email protected]
>  > >  >
>  > >  >
>  > >
>  > >
>  > >  --
>  > >
>  > > Andy
>  > >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [email protected]
>  > For additional commands, e-mail: [email protected]
>  >
>  >
>
>
>  --
>  Andy
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to