Forum Discussion
autoscout24
13 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
- 4 years ago
- 8 years ago
Recent Discussions
- 5 days ago
- 10 days ago