Running a test repeatedly

kamit2733kamit2733 Posts: 16


I am running a test and if it fails i want to go to the previous test and run the same test until it passes. Can someone let me know how to do it in Jython, if possible.



  • jakubiakjakubiak Posts: 424 admin

    You should look at using test suite logic in SOAtest - you can set up tests that run until they pass without needing to write any scripts.

  • OmarROmarR Posts: 209 admin
    edited November 2017

    Take a look at the post found here for reference. Test flow logic!

  • benken_parasoftbenken_parasoft Posts: 617 ✭✭✭

    To clarify an earlier comment, the test suite editor has an option to setup a "While pass/fail" loop. This is specifically intended to accomplish running a test repeatedly until it passes (or fails). Please check the SOAtest User's Guide for details.

Sign In or Register to comment.