Forum Discussion

peti2005's avatar
peti2005
Occasional Contributor
6 years ago
Solved

Test Suite failed even if test case executed with status OK

Hello dear community

 

I have test suite with 6 test cases. 

test case 1: has 2 test steps - Groovy

test cases 2-5: they have usual HTTP Call test steps

test case 6:  has 1 test step - Groovy

 

When I start the Test Suite runner then and click play button the 1st test case is executed with status OK but test suite has FAILED status and the rest if the test cases are executed.

 

Could you please help me with it

  • The Project and TestSuite will be considered to have failed if any single part fails.

     

    From the run dialog, double click the failing test to drill down into the TestSuite and TestSteps until you find the root cause of the fail.

     

    The failing step can be re-run to see the failure in detail

     

    You can also examine the logs in the tabs towards the bottom of the screen.  I'll usually clear the logs from the right click menu before I re-run to remove any noise from other tests in the run.

     

     

2 Replies

  • MartinSpamer's avatar
    MartinSpamer
    Frequent Contributor

    The Project and TestSuite will be considered to have failed if any single part fails.

     

    From the run dialog, double click the failing test to drill down into the TestSuite and TestSteps until you find the root cause of the fail.

     

    The failing step can be re-run to see the failure in detail

     

    You can also examine the logs in the tabs towards the bottom of the screen.  I'll usually clear the logs from the right click menu before I re-run to remove any noise from other tests in the run.