Forum Discussion
omatzura
18 years agoSuper Contributor
Hi!
sorry for the delay, this is a bug in the command-line LoadTest runner. We plan to post an updated build of soapUI Pro this weekend, which fixes this and a number of other issues..
Even with this fix, there is no easy way to log all request/response messages in a LoadTest. You can work around this limitation with a "soapUI hack";
1) create an xpath assertion for the request/response that you want logged and make sure that it always fails
2) add an teststep status assertion for this request step to your loadtest (it probably already has one), and set the "max assertions" to a *very high value* (so it actually nevery fails the LoadTest.. )..
All failed TestSteps in a LoadTest will get logged, which in the above workaround will be all requests sent.. If you do as above and *dont* specify the -r option for your LoadTest, you should even be able to run this from the command-line.
Obviously this is not a good solution, but at least it might help you forward until we have added an option for logging as you require!
Hope this helps, and thanks for reporting!
regards,
/Ole
eviware.com
sorry for the delay, this is a bug in the command-line LoadTest runner. We plan to post an updated build of soapUI Pro this weekend, which fixes this and a number of other issues..
Even with this fix, there is no easy way to log all request/response messages in a LoadTest. You can work around this limitation with a "soapUI hack";
1) create an xpath assertion for the request/response that you want logged and make sure that it always fails
2) add an teststep status assertion for this request step to your loadtest (it probably already has one), and set the "max assertions" to a *very high value* (so it actually nevery fails the LoadTest.. )..
All failed TestSteps in a LoadTest will get logged, which in the above workaround will be all requests sent.. If you do as above and *dont* specify the -r option for your LoadTest, you should even be able to run this from the command-line.
Obviously this is not a good solution, but at least it might help you forward until we have added an option for logging as you require!
Hope this helps, and thanks for reporting!
regards,
/Ole
eviware.com
Related Content
- 9 years ago
Recent Discussions
- 15 hours ago
- 18 hours ago
- 2 days ago