Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
Here’s an outline with best practices for making your inquiry.
My question: I want to skip an iteration based on a global variable. SO i have wrapped that around an If/Else block and the else part will skip the test. So the result is the tests are being skipped but I have 2 problems seeing them on the html extra report:
- The skipped iterations are not coming under “Total Skipped Tests” of the report.
- Even if the iteration is skipped, I see the iteration# mentioned in the report with a description that there are no tests to execute in this iteration. I just want to check whether is it possible to not even report that iteration.
Details (like screenshots):
How I found the problem:
I’ve already tried: I have already tried postman.setNextRequest(null) but as per the documentation this will be called towards the end and will mark an iteration in my report. Please suggest.