Xour
8 years agoOccasional Contributor
Is it possible to transfer the results of a JDBC step to an array or list?
Hello all. I'm not sure what I'm trying to do can be accomplished on the free version. Here's what I would like to do:
- Get some results using a JDBC step as XML
- Transfer all these nodes to a list
- Read from that list
For example I got this:
<Results> <ResultSet fetchSize="128"> <Row rowNumber="1"> <TYPE>somevalue</TYPE> <SUBTYPE>somevalue</SUBTYPE> <ID>somevalue</ID> </Row> <Row rowNumber="2"> <TYPE>somevalue</TYPE> <SUBTYPE>somevalue</SUBTYPE> <ID>somevalue</ID> </Row> <Row rowNumber="3"> <TYPE>somevalue</TYPE> <SUBTYPE>somevalue</SUBTYPE> <ID>somevalue</ID> </Row> <Row rowNumber="4"> <TYPE>somevalue</TYPE> <SUBTYPE>somevalue</SUBTYPE> <ID>somevalue</ID> </Row> </ResultSet> </Results>
Then I would like to insert the Type, SubType and ID on each index of the list so later I can get the nth index of that list and retrieve these three values.
I'm terrible sorry if I'm not being clear enough, as I'm really newbie when it comes to SoapUI and testing in general. Thanks for reading so far.