I am trying to solve following problem:
I have a system with which communication is done through SOAP (XML over http).
In Jmeter I am using SOA/XML-RPC (not wsdl based webservice).
I am sending one SOAP request and receiving response in vollowing tag
<Prodrevision>5</Prodrevision>
This number changes from time to time and goal is to get that number in that tag put it as user defined variable and pass it to another SOAP/XML-RPC
Mine jmeter test plan looks like that
-User defined variabla - here I have empty varaibla named "var'
-SOAP/XML- RPC (this SOAP REQUEST causes that RESPONSE is received)
- XPath Extractor with
reference name: var
XPath Query: //*[local-name()='Prodrevision']/text()
(this should according to FAQ's process/parse response and asssign it to variable var)
-SOAP/XML-RPC - and in this XML request SOAP/XML-RPC data field has
..xml data
<Prodrevision>${var}</Prodrevision>
...xml data
But I am not sending anything in the second request ??? mine requests hits server but there is no value. Where I made a mistake?