Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

test executes 5 times, store data using XML Data Bank in Writable Data Source

Options
LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in SOAtest
Saving mult iterations of a response
I am using our login service that access a data table and runs 5 times, once for each login name that i have listed in the table. After the I run the service, I can see that it executes once for each of the 5 rows in the data table. The traffic viewer shows 5 responses and 5 differenct sessionId's. How do I store each individual sessionId? Currently when I use the XML Data Bank it only saves the last sessionId from the 5 responses.

Thanks in advance.
Tagged:

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Options
    You can do this by using a Writable Data Source in the XML Data Bank. I've attached an example test suite. The first test gets the id numbers of the books and writes it to a Writable Data Source. The second test uses these numbers for the request message. If you run the test, then you should see three runs in the Traffic Viewer for the second test.

Tagged