Forum Discussion

05ten's avatar
05ten
Contributor
8 years ago

Repeat Test Step

I stumbled upon the need to repeat a failed test-step, testing a really unstable third-party API. A colleague resolved it a few times using a few groovy-scripts at work, but i thought this can't possibly be a suitable long-term solution, and our testers aren't really groovy-savvy. Long story short, i ended up making a plugin that repeats a sequence of test-steps a few times based on if they are successful or not. 

 

Go give it a look if you want, it's on GitHub.

I wrote a short text about what use-case it resolves here

 

Also, if anyone has a moment to spare they can tell me how to include an icon in the test-case list, it only appears in the test-step list. :)

  • nmrao's avatar
    nmrao
    Champion Level 3
    05ten, very nicely build and thank your sharing the plugin to the community. So nice of you.

    I got few questions / feedback (definitely not on the implementation of plugin, but execution aspect) so that end user will have better experience if those addressed. May be optional for some.
    • 05ten's avatar
      05ten
      Contributor

      Sure! I'll take any feedback i can get. Put the suggestions here, on the webpage or on GitHub and i'll have a look at them when i got the time. :)

      • nmrao's avatar
        nmrao
        Champion Level 3

        05ten,

         

        Couple of thoughts / questions / feedback to consider for the benefit of consumers of this flow-soapui-plugin:

         

        Users can have many suites and each can contain many test cases in each of their project -

         

        • Adding the repeat steps manually to those many test cases / projects would be hard and as you rightly pointed that not most of QA folks not savvy programmers.
          A way to do add the step in automated fashion would be easy for larget number of community members to be able to embrace this plugin.
          Having some kind of utility would helps a lot. I think, any one can create this utility and share it i.e., need to not require any changes from plugin side.
        • When there are huge number of projects, execution time would get increased and this may cause some users to disown this plugin.
          So, a way to automatically enable / disable this test step or its business logic conditionally on the fly would be benefitted i.e., passing system arguments to tesrunner / maven etc.,
          May be changes required in the plugin to make it possible, a wild guess.

        Considering a release in Github -
        At the moment, users have to setup the maven and build this for themselves in order to adopt it.
        If a release(.jar file) is made available on github, then it may attract big number of consumers to try or/and use it as they see/found it.

         

        Stuck to specific version -
        Aware of the fact that SoapUI is stricter now for the user developed plugins and needs to be singed by SmartBear.
        Though the other library mentioned by you allows users to use for 5.2.1 version.
        However, heard that jailbreak is not working from 5.3.0 onwards though not tried for myself. Have you tried for 5.3.0?
        Or plan to get this plugin signed by SmartBear and do a release in github?

        Also, I believe, not only open source edition, Ready API can also use it and get benefitted out of this plugin provided signed by SmartBear.
        There are list of plugins available here and do wish your one to be made available there to reach wider audiences?