Link to home
Start Free TrialLog in
Avatar of WeirdHero
WeirdHero

asked on

JMeter - how to store SOAP response to a variable?

Is there any way to store SOAP responses to a variable instead of writing to a file using listeners?
If there isn't, what is the best method to save the responses?

I am currently testing a system that returns a SOAP (webservice) response that contains a value which i need to retrieve.

I tried setting up listeners that save the response to a file and split it with __stringfromfile and __split but that didn't work and was super-cumbersome.

I don't know how to use XPath...

Any advice will be appreciated.

Thanks.
Avatar of WeirdHero
WeirdHero

ASKER

The reason i didn't use __FileFromString is because then i get a compile error from JMeter when trying to run the test plan.
The log file says the file cannot be found (even when i tried to put a dummy file in place)...
ASKER CERTIFIED SOLUTION
Avatar of WeirdHero
WeirdHero

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial