jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Webservice tests - dynamic URL
Date Wed, 04 Nov 2009 01:00:08 GMT
Hi
how did you configure Jmeter to be run?
http://www.theserverlabs.com/blog/2009/04/23/performance-tests-with-jmeter-maven-and-hudson/
seems to have a jmeterUserProperties section which should do what you want

regards
deepak

On Tue, Nov 3, 2009 at 7:46 AM, Andy Bell
<andy.photos.bell@googlemail.com>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...
>
> Andy
>
> 2009/11/3 sebb <sebbaz@gmail.com>
>
> > On 03/11/2009, Andy Bell <andy.photos.bell@googlemail.com> 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 <sebbaz@gmail.com>
> > >
> > >
> > >  > On 03/11/2009, Andy Bell <andy.photos.bell@googlemail.com> 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: jmeter-user-unsubscribe@jakarta.apache.org
> > >  > For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> > >  >
> > >  >
> > >
> > >
> > >  --
> > >
> > > Andy
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>
> --
> Andy
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message