Solved

JMeter - how to store SOAP response to a variable?

Posted on 2011-03-10
4
996 Views
Last Modified: 2013-11-18
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.
0
Comment
Question by:WeirdHero
  • 2
4 Comments
 

Author Comment

by:WeirdHero
Comment Utility
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)...
0
 

Accepted Solution

by:
WeirdHero earned 0 total points
Comment Utility
Problem solved by using XPath post processor or __XPath function (if you need to read from a file).
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
Let’s list some of the technologies that enable smooth teleworking. 
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now