Forum Discussion

scrane's avatar
scrane
New Member
5 months ago

Test result Pass when data source times out

I have noticed that whenever there is a connection error with my database readyAPI will show a false pass result. 

My test steps are 1. JDBC to confirm DB access, 2. data source (pull from excel file), 3. data source (pull from DB), 4. Groovy Script to compare results, 5. Assertion for result

If step 3 data source (pull form DB) is disabled and I can't access my DB, the end result is a Fail with 0 steps passed and 1 test failed. 

When Step 3 is enabled and I can't access my DB, the end result is a Pass with 0 steps passed and 0 steps failed.

Is there a way to correct this so that ReadyAPI returns a failing result if a data source pull times out?

No RepliesBe the first to reply