ruby_dee
10 years agoOccasional Visitor
How can I trap Oracle errors in script assertion
How can I trap Oracle errors in a script assertion for a JDBC test step?
My query sometimes returns "ORA-00942: table or view does not exist" due to permission issues, even though the connection is ok. However the JDBC status assertion is not evaluated - the test step never turns red or green.
I want to force the test step to fail if this error occurs. How can this be achieved?