Skipping test case or dbtool
I got a scenario where there’s a chain of 3 test. First 2 are payload and the last is a dbtool call. Based on the reponse of the first test. I will either run the remaining two test or skipped them entirely. My question is how can I skip those remaining two test case.
Comments
-
It is possible to execute tests conditionally based on a test suite variable. Read this part of the docs describing Variable Condition (scroll down to about the middle of the page).
In particular, your first test could have a Data Bank chained to the Response output which writes the determining value to the test suite variable. In the test suite, you configure the variable condition for the other two tests to make them execute or skip depending on what value was written to the test suite variable.
0