header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
December 04, 2008, 11:20:38 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Request-response Logging when running the load test
Welcome, Guest. Please login or register.
December 04, 2008, 11:20:38 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Request-response Logging when running the load test
« previous next »
Pages: [1] Print
Author Topic: Request-response Logging when running the load test  (Read 1382 times)
Sreenivasu Nampelli
Soapui Public
Newbie
*
Posts: 1


« on: April 24, 2007, 01:59:04 am »

Hi,
I am new to using this tool.
I am trying to explore if the SoapUI generates the log file containing all the request-response details for the Load tests that we run.

I have tried the following methods and could generate the request-response log for load tests.
Please let me know if it is a limitation that we cannot log requests and responses when running the load test.

1. When I tried running the load test using the GUI, i am seeing in the Soa UI log window "Disabling logs during load test"

2. When tried to run the command liner , loadtestrunner.bat, i am entering an infinite loop that says "waiting for 1 samples.."

Here is the command that I gave for this:

loadtestrunner.bat "C:\soap_ui\PBS-soapui-project.xml" -t"C:\Program Files\eviware\soapUI-Pro-1.7\bin\soapui-settings.xml" -s"TestSuite 1" -c"TestCase 1"  -l"LoadTest 1"  -a -r

 Following is the output in this case.




2007-04-23 17:42:18,963 INFO  [SoapUILoadTestRunner] setting projectFile to [C:\soap_ui\PBS-soapui-project.xml]
2007-04-23 17:42:18,963 INFO  [SoapUILoadTestRunner] setting testSuite to [TestSuite 1]
2007-04-23 17:42:18,963 INFO  [SoapUILoadTestRunner] setting testCase to [TestCase 1]
2007-04-23 17:42:19,483 INFO  [SoapUI] initialized soapui-settings from [C:\Program Files\eviware\soapUI-Pro-1.7\bin\soapui-settings.xml]
2007-04-23 17:42:19,483 INFO  [SoapUI] Missing folder [C:\Program Files\eviware\soapUI-Pro-1.7\bin\ext] for external libraries
2007-04-23 17:42:19,624 INFO  [WsdlProject] Loaded project from [C:\soap_ui\PBS-soapui-project.xml]
2007-04-23 17:42:20,134 INFO  [SoapUILoadTestRunner] Running LoadTest [LoadTest 1]
2007-04-23 17:42:20,184 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.0, 1
2007-04-23 17:42:21,206 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.0, 1
2007-04-23 17:42:21,767 INFO  [HttpClientSupport$Helper] Initializing SSL
2007-04-23 17:42:22,207 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] progress: 0.0, 1
2007-04-23 17:42:23,209 INFO  [SoapUILoadTestRunner] LoadTest [LoadTest 1] finished with status FINISHED
2007-04-23 17:42:23,209 INFO  [SoapUILoadTestRunner] Exporting log and statistics for LoadTest [LoadTest 1]
2007-04-23 17:42:23,209 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:23,309 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:23,409 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:23,509 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:23,609 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:23,710 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:23,820 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:23,920 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,020 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,120 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,220 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,320 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,421 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,521 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,621 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,731 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,831 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:24,931 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,031 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,132 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,232 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,332 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,452 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,552 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,652 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,753 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,853 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:25,953 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,053 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,153 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,253 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,353 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,464 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,564 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,664 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,764 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,864 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:26,964 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:27,064 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:27,165 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:27,265 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:27,365 INFO  [LoadTestStatistics] Waiting for 1 samples..
2007-04-23 17:42:27,465 INFO  [LoadTestStatistics] Waiting for 1 samples..


« Last Edit: April 24, 2007, 02:34:02 am by Sreenivasu Nampelli » Logged
nreimertz
soapui pro users
Full Member
*
Posts: 207


« Reply #1 on: April 24, 2007, 11:37:41 am »

We''ll get you an answer real soon.
 Smiley
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,506


« Reply #2 on: April 25, 2007, 07:24:01 pm »

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
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header