Forum Discussion

nastester's avatar
nastester
Regular Contributor
4 years ago

Test Step Count assertion in performance test

I would like to have an assertion that will fail the test if the specified test step count is not reached. How can I do this? 

I am not seeing an option for this under Assertions but I don't necessarily think that would be the right place anyway because this assertion would be done at the conclusion of test execution, not during. 

Would it need to be done using a tear down script? 

  • nmrao's avatar
    nmrao
    Champion Level 3
    Please check if you can configure the error threshold instead of error count.
    • nastester's avatar
      nastester
      Regular Contributor

      These aren't errors though. The test wouldn't fail. I just want to force it to fail if the target test step count is not reached within a given time duration. 

      • nmrao's avatar
        nmrao
        Champion Level 3
        You want to use SLA assertion?