GeorgeTret
11 years agoNew Contributor
XML DataSource - Extract Data from a SOAP Response
Hey guys, I am a new user to the forums so excuse my lack of experience. I'll try to keep this as brief and informative as I can and hopefully someone can help me out.
I have a test that can be executed to produce a response that contains the xml data I wish to extract. Please see the picture below for the structure of it.

Now what I am interested in is storing this data in a DataSource directly from the test's response. In essence, I want to be able to run the test first (to produce the response) followed by the DataSource (as XML) to store the data from the response that I need.
I want to be able to reiterate through the response and extract "col_1" and "col_3" from the elements iterated ("DATA").
I've tried the following but it hasn't worked:

I've hit a wall, could anyone please help or give me some pointers on where I am going wrong?
I have a test that can be executed to produce a response that contains the xml data I wish to extract. Please see the picture below for the structure of it.

Now what I am interested in is storing this data in a DataSource directly from the test's response. In essence, I want to be able to run the test first (to produce the response) followed by the DataSource (as XML) to store the data from the response that I need.
I want to be able to reiterate through the response and extract "col_1" and "col_3" from the elements iterated ("DATA").
I've tried the following but it hasn't worked:

I've hit a wall, could anyone please help or give me some pointers on where I am going wrong?