Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Callback tool needs to ignore failure

LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in SOAtest
Hi,

I'm trying to use the callback tool to dequeue messages from a JMS queue in a loop (using a test suite as the looping mechanism). Once the queue is empty, the callback tool reports a failure.

Is there a way to mask the failure so that the step continues to report success?
Tagged:

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Hi Kevin,

    This depends on how your loop is setup, but you can generally control the loop with a Test Suite Variable, and set its value in a Method Tool. The Method Tool would be attached to the test that fails and always return success, overriding the test itself.

Tagged