You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ed Young <ej...@SummitBid.com> on 2006/09/22 18:48:58 UTC
Advice on setting up Samplers for web service request
I've been using J-Meter only for a few days and have spent most of my
time reading the online tutorials and the manual.
I've managed to get jmeter to execute simple web service requests, but
I don't think I'm doing it correctly, and the way I'm doing it won't
work ultimately for the testing I'm doing.
I'm using the HTTP Request (SAMPLER) to do it instead of the Web
Service(SOAP) sampler.
Here are some of the requests I'm doing using the HTTP Request Sampler:
Set all switches on
https://165.137.91.33/services/easswitch?method=setAllSwitchStatus&status=true
Set all switches off
https://165.137.91.33/services/easswitch?method=setAllSwitchStatus&status=false
Set only one switch on.
https://my.ip.add.res/services/easswitch?method=setSwitchStatus&whichSwitch=3&status=true
What I've done is to add the sampler to my thread group and then set
the parameters up like this: (for example 3)
Name: Value
method setSwitchStatus$whichSwitch=3&status=true
This works, but I know it's not correct. I've tried setting up the Web
Services SOAP Sampler with no luck.
I've read the section 10 in the manual, but so far haven't gotten
j-meter to execute the request correctly. One thing I don't understand
is why I have to explicitely enter the SOAP/XML-RPC data to execute
the request, when really I'm only passing the URL in the address bar.
Doesn't the SOAP request get generated at the server when it recieves
the GET?
Thanks in advance.
--
Ed
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org