SOAPUI TestRunner test case count and runner (teardown) test case count mismatch
Hi, Structure and flow of Project TestSuite Test Case 1 Test Step (REST request) Test Case 2 Test Step (REST Request) Test Step (Groovy script) (this script will call and execute Test Case 3 based on condition, test case 3 will be disabled state, if condition pass it will enable test case and execute and again it will be disabled Test Case 3 Test Step (REST Request) Problem Statement : If we execute above TestSuite via 'SOAPUI-TestRunner', number of test case executed count is correct, in our sample case : Total Test case count : 4 (which is correct, since test case 3 got executed twice via groovy script (Test Case 1 + Test case 2 + Test case 3 + Test Case 3), but if we try to get total Test case executed count from teardown its showing as 'Test case count : 2 Teardown script not considering test cases which got executed via groovy script Attached snapshots for reference Any help or support would be great, thanks3.4KViews0likes7CommentsProject teardown script executes only when tests are executed from project test runner
Hi I am trying to run certain scripts in project's tear down section to generate a custom result file. To start with I found out that project teardown scripts will execute only when we launch the script execution from project test runner. If we execute scripts from the test suite's test runner option then the project's tear down script will be not be executed. Is this understanding correct? Can anyone confirm how to call projects' tear down script every time we run our scripts either from the test case or test suite level?Solved1.1KViews0likes2Comments