Forum Discussion

dedmunds's avatar
dedmunds
New Contributor
5 years ago

Is there a way to exit a test case when the first step fails?

I'm creating tests for an API that updates an existing DB2 row.  The first step of the test is a DataSource with an SQL query to select a specific row to update.  For example, I may want to test what...
  • dedmunds's avatar
    dedmunds
    5 years ago

    I added the JDBC count step and a groovy script with a conditional "testRunner.gotoStepByName", and it looks like it's working the way I want.  Thanks for the help!