You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by cvela <ca...@hotmail.com> on 2009/07/07 05:08:24 UTC

Getting SOAP/XML-RPC Response

Hi All,

Is it possible to get values from a SOAP response and use it in another
request?

Scenario:
100 Reservation requests, each Reservation Response has Reservation Codes. I
need these Reservation Codes to be acquired automatically and use them in
the next requests.

Thanks,
cvela
-- 
View this message in context: http://www.nabble.com/Getting-SOAP-XML-RPC-Response-tp24366440p24366440.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.


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


Re: Getting SOAP/XML-RPC Response

Posted by vijirec <vi...@gmail.com>.
Hi cvela

Yes, you can take the values from the response xml and pass it on to the
next request.  this can be done very simple logic.  Let me have your request
and response xml.  will tell you how to take the specific values out of the
response message.

Regards,
vijay


cvela wrote:
> 
> Hi All,
> 
> Is it possible to get values from a SOAP response and use it in another
> request?
> 
> Scenario:
> 100 Reservation requests, each Reservation Response has Reservation Codes.
> I need these Reservation Codes to be acquired automatically and use them
> in the next requests.
> 
> Thanks,
> cvela
> 

-- 
View this message in context: http://www.nabble.com/Getting-SOAP-XML-RPC-Response-tp24366440p24748596.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.


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


Re: Getting SOAP/XML-RPC Response

Posted by annie35 <ni...@yahoo.fr>.
Hi,

It is possible to get values from a SOAP response  to use it in an other
request.
I think your response is an XML response.

to get values, you have to use an "Regular Expression Extractor" where
1 - the reference name field will contain the name of your output parameter
2 - your regular expression to get the value that you want to get
3 - the template to get the right value something like this $1$ (to get the
template you need to see the Jmeter site about the  regular expression)

becareful, each get value will have its regular extractor.

Then when you have all your output parameter, you can use it has an input
parameter of the following request.

good luck
annie35

cvela wrote:
> 
> Hi All,
> 
> Is it possible to get values from a SOAP response and use it in another
> request?
> 
> Scenario:
> 100 Reservation requests, each Reservation Response has Reservation Codes.
> I need these Reservation Codes to be acquired automatically and use them
> in the next requests.
> 
> Thanks,
> cvela
> 

-- 
View this message in context: http://www.nabble.com/Getting-SOAP-XML-RPC-Response-tp24366440p24583382.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.

Re: Getting SOAP/XML-RPC Response

Posted by sebb <se...@gmail.com>.
This is a question for the JMeter user list; please ask there

2009/7/7 cvela <ca...@hotmail.com>:
>
> Hi All,
>
> Is it possible to get values from a SOAP response and use it in another
> request?
>
> Scenario:
> 100 Reservation requests, each Reservation Response has Reservation Codes. I
> need these Reservation Codes to be acquired automatically and use them in
> the next requests.
>
> Thanks,
> cvela
> --
> View this message in context: http://www.nabble.com/Getting-SOAP-XML-RPC-Response-tp24366440p24366440.html
> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>

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