Forum Discussion
Usually when you run into issues with only the last line being written out with a DataSink, it has to do with the order of steps in your SoapUI Test Case.
Steps are executed sequentially top to bottom, so you'll want to make sure that your DataSink is placed inside your DataSource Loop so that the DataSink step executes before the loop does. Otherwise, the loop will cycle through each test case run and only write out the last result.
Ok Thank you for that information :) Currently I have my groovy script for my auth header, DataSource, DataSink then my REST step and a DataSource Loop looping back to my DataSink. Now, when i run the 1 min test it says the count is at 400 but i get 10 lines in my output file
Also, for some reason the load test is only reading one of my Test Cases, not both.
IE) I have one that is titled phone and one titled Fax. It is only reading the Phone case for the 1 min that i am testing it and never drops to the Fax scenario. I have added looping and changed the Load allocation and am not able to get it to recognize both of them. I have 3 more scenarios I need to add to this particular load test but I am waiting until I get these 2 reading in properly.
Thanks!
Related Content
- 7 years ago
- 3 years ago
- 3 months ago
- 3 years ago
Recent Discussions
- 4 hours ago
- 5 hours ago
- 6 hours ago
- 6 hours ago