cgoldberg / multi-mechanize

Performance Test Framework in Python
GNU Lesser General Public License v3.0
459 stars 127 forks source link

Errors not reported correctly in results.csv #31

Open wfaught-vmware opened 11 years ago

wfaught-vmware commented 11 years ago

All I see in the results.csv error column is " Message: '' ". For example:

1273,260.942,1375823160,user_group-1,16.754579,Message: '' ,{'load': 1375823142.8310008, 'total': 2.2913360595703125, 'get': 1.105006217956543}

However, the exception is being printed in the shell. For example:

Exception in thread Thread-51: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 552, in bootstrap_inner self.run() File "/devel/baas/tools/perf/selenium/env/src/multimechanize/multimechanize/core.py", line 98, in run trans = self.script_module.Transaction() File "/devel/baas/tools/perf/selenium/test_scripts/v_user.py", line 52, in __init self._webdriver = Remote(self._service.service_url, _CAPABILITIES) File "/devel/baas/tools/perf/selenium/env/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 72, in init self.start_session(desired_capabilities, browser_profile) File "/devel/baas/tools/perf/selenium/env/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 114, in start_session 'desiredCapabilities': desired_capabilities, File "/devel/baas/tools/perf/selenium/env/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 165, in execute self.error_handler.check_response(response) File "/devel/baas/tools/perf/selenium/env/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 164, in check_response raise exception_class(message, screen, stacktrace) WebDriverException: Message: u'Unable to either launch or connect to Chrome. Please check that ChromeDriver is up-to-date. Using Chrome binary at: /baasbuild/thirdparty/chrome/27.0.1453.15/bin/google-chrome'