Pass test suite with failed test cases
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2022
01:58 AM
06-30-2022
01:58 AM
Pass test suite with failed test cases
Hello!
I have a API that has a feature still under development so I am getting a 500 error when running some teste. I know this issue will be addressed in future updates. Is it possible to have the test suite pass but still keep those test cases that failed with their status?
I would like to have them in the report but not fail the whole test suite for two tests.
Labels:
- Labels:
-
Function Tests
-
Reporting
-
REST
-
TestEngine
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2022
04:31 AM
06-30-2022
04:31 AM
Hey @damnit,
Do you definitely want to execute these currently failing tests? You could disable them so they don't get executed.
Or if you want them executed you could alter the assertions so they pass (which is, i admit, a rubbish solution)
Or you could perhaps force the test case status change to pass after executing the final teststep in the testcase? Have a look at the following stackoverflow link. This looks to do this option.
I can't think of any others, but i'm sure the groovy experts will have a whizzy way of doing it!
Cheers,
Rich
Do you definitely want to execute these currently failing tests? You could disable them so they don't get executed.
Or if you want them executed you could alter the assertions so they pass (which is, i admit, a rubbish solution)
Or you could perhaps force the test case status change to pass after executing the final teststep in the testcase? Have a look at the following stackoverflow link. This looks to do this option.
I can't think of any others, but i'm sure the groovy experts will have a whizzy way of doing it!
Cheers,
Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2022
05:12 AM
06-30-2022
05:12 AM
Hello @richie
Thank you for your involvement and sugestions. I seams that the link you referred to is missing.
I had taken in consideration the methods mentioned by you but keeping them reported is kind of a reminder that the issues have to be fixed.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2022
06:26 AM
06-30-2022
06:26 AM
Hey @damnit,
My bad....i didn't paste in the link.
Here ya go --> https://stackoverflow.com/questions/65024751/soapui-groovy-script-setting-test-step-status-to-test-s...
Cheers,
Rich
My bad....i didn't paste in the link.
Here ya go --> https://stackoverflow.com/questions/65024751/soapui-groovy-script-setting-test-step-status-to-test-s...
Cheers,
Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
