Forum Discussion

hisaak's avatar
hisaak
Occasional Contributor
13 years ago

Testrunner doesn't export result for failed JDBC DataSource

I use -a -A -I options with testrunner.sh to run a test suite with multiple test cases. These options should advise testrunner.sh to write results for all test steps into the separate files. However, when DataSource step of JDBC type fails somewhere in the middle of a test suite, it doesn't write any file for the whole test case. Such a test case is correctly marked as failed in the final short summary (-r) and also test suite report contains appropriate error message. So the only one problem lies in missing test case results.

This is a serious issue for me since I detect failure (within Jenkins job) for whole test suite by looking for files ending with "FAILED.txt".

If someone wants to replicate the issue, it just takes to set wrong credentials for database connection. In my case, I get the following error from Oracle database: java.sql.SQLException: ORA-01017: invalid username/password; logon denied.

Any help is appreciated.

soapUI Pro 4.0.1 on Fedora Linux x86_64

12 Replies