Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

JMeter - how to store SOAP response to a variable?

Posted on 2011-03-10
4
Medium Priority
?
1,054 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:WeirdHero
ID: 35113321
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
ID: 35121180
Problem solved by using XPath post processor or __XPath function (if you need to read from a file).
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.
Suggested Courses

636 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