Forum Discussion

MaryK's avatar
MaryK
New Contributor
9 years ago

Delay the start of the test for some hours

Hi guys!

 

I wonder if I can delay the start of my test for some hours.

 

For example: There is a test case. Now it's 10 a.m. I want my test case to start running at 13 p.m. every day during a week.

 

Maybe there are some groovy scripts that can "run" my test case in such way...

 

Thank you! 

  • rupert_anderson's avatar
    rupert_anderson
    Valued Contributor

    Hi,

     

    My approach to that would be to run SoapUI via a script e.g.

    • Grade
    • Maven
    • testrunner.sh/bat

    And use some form of scheduler / CI tool e.g.

    • Jenkins
    • Team City
    • cron job (if run from a unix server)

    It's a common use case for SoapUI. I would not try to script anything from within SoapUI e.g. delay step and loop, although this could conceivably work too.

     

    Regards,

    Rupert

    • nmrao's avatar
      nmrao
      Champion Level 3
      Second to Rupert's Idea. I believe that it is possible to schedule jobs on both linux and windows platforms. Nothing specially required to do in the soapui project. This is basically operational / execution part.