Jo-Anne:
>
> I was wondering if there's a more efficient way for me to modify the
URL
> field within the SOAP/XML-RPC Request for all my requests at once,
instead
> of going inside each request and doing the change.
If it's a once-off, I guess you could open the .JMX XML file in an
editor and search/replace all occurrences of the old URL with the new
one.
If the URL keeps changing, it would make sense parameterizing your test.
You can set the URL fields to a JMeter variable that looks up a property
passed in at runtime.
For e.g., in a properties file, set:
myurl=http://example.com/example
Then pass the property file into JMeter:
jmeter -p myproperties.property
Or if I recall correctly, here's how you'd pass in a single property
from the command line:
jmeter -Dmyurl=http://example.com/example
Each XML-RPC sampler would need to set it's URL field to:
${__P(myurl)}
This would be substituted with the value of the 'myurl' property set at
runtime.
With regards,
Sonam Chauhan
--
Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Fax: 9335-0753, Email: sonamc@ce.com.au
> -----Original Message-----
> From: Jo-Anne Tobias [mailto:jtobias@timeindustrial.com]
> Sent: Saturday, 3 April 2004 7:05 AM
> To: jmeter-user@jakarta.apache.org
> Subject: URL FIELD within SOAP\XML-RPC Request
>
> Hello Everyone,
>
> I was wondering if there's a more efficient way for me to modify the
URL
> field within the SOAP/XML-RPC Request for all my requests at once,
instead
> of going inside each request and doing the change.
>
> Thanks! :)))
>
>
>
> Jo-Anne C. Tobias, Quality Assurance Specialist
>
> Time Industrial, Inc.
> An Outsourced Contractor Time and Cost Tracking Service.
>
------------------------------------------------------------------------
-
> ----------------
> tel: 780.413.1521 fax: 780.413.0474
> http://www.TimeIndustrial.com
>
>
------------------------------------------------------------------------
-
> ----------------
> This message and attached files, if any, is (are) intended only for
the
> addressee(s) and may
> contain privileged or confidential information. Any unauthorized
> disclosure is strictly prohibited.
> If destined to our legal counsel, this transmission is privileged
> communication as between an
> attorney and its client.
> If you have received this message in error, please notify us
immediately
> so that we may correct
> our internal records. Please then delete the original message. Thank
you.
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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
|