jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BAZLEY, Sebastian" <Sebastian.BAZ...@london.sema.slb.com>
Subject RE: URL FIELD within SOAP\XML-RPC Request
Date Mon, 05 Apr 2004 11:12:17 GMT
There is more information on parameterising tests in the JMeter FAQ.

http://wiki.apache.org/jakarta-jmeter/JMeterFAQ

This is a Wiki, so if there is any extra information that would be useful,
feel free to add it.

S.
-----Original Message-----
From: Sonam Chauhan [mailto:sonam.chauhan@ce.com.au]
Sent: 05 April 2004 02:44
To: 'JMeter Users List'
Subject: RE: URL FIELD within SOAP\XML-RPC Request


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


___________________________________________________________________________

This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted. 
___________________________________________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message