Forum Discussion
autoscout24
14 years agoContributor
Hi,
We are running the tests in test suite level with Team city. The results generated is not sufficient for the failed test case. I would be more helpful. if you guys modify the script below, which is available in website(http://www.soapui.org/Scripting-Propert ... ricks.html)
in such way which gives raw request data, response data, response time, etc. all available data of the failed test and store in external file in junit format....so that we can ask the Teamcity to look for this file for results.
thank you
regards
Vijay
We are running the tests in test suite level with Team city. The results generated is not sufficient for the failed test case. I would be more helpful. if you guys modify the script below, which is available in website(http://www.soapui.org/Scripting-Propert ... ricks.html)
for ( testCaseResult in runner.results )
{
testCaseName = testCaseResult.getTestCase().name
log.info testCaseName
if ( testCaseResult.getStatus().toString() == 'FAILED' )
{
log.info "$testCaseName has failed"
for ( testStepResult in testCaseResult.getResults() )
{
testStepResult.messages.each() { msg -> log.info msg }
}
}
}
in such way which gives raw request data, response data, response time, etc. all available data of the failed test and store in external file in junit format....so that we can ask the Teamcity to look for this file for results.
thank you
regards
Vijay
Related Content
- 5 years ago
- 8 years ago
Recent Discussions
- 18 days ago