Forum Discussion

testkeesman's avatar
testkeesman
New Contributor
8 years ago

Scheduled soap ui test remote server

Dear all,

Situation:
Trying to automatically run a soap UI testsuite on a remote server. However somehow the testsuite doesn't launch. I don't receive any errors or exceptions.

Location:
"C:\Program Files\SmartBear\SoapUI-5.2.1\bin\testrunner.bat"
Arguments:
-s"Map Mercury" -I C:\Program Files\SmartBear\SoapUI-5.2.1\MAP (Mercury)-soapui-project.xml

Followed the information from :
https://www.soapui.org/test-automation/running-functional-tests.html

Any ideas?



2 Replies

  • KarelHusa's avatar
    KarelHusa
    Champion Level 3

    Hi,

    your SoapUI project file contains a space within its name, this can be the cause of your issue.

     

    Either rename the project file or use quotes to surround the filename in the command line: "MAP (Mercury)-soapui-project.xml" 

     

    Karel

     

  • Elvisn12's avatar
    Elvisn12
    New Contributor

    Are you scheduling from the task scheduler or batch File schedule run , because both can work if you Have the path for the Project on the same directory maybe that should be the cause 

    Optional root finder create batch file save it and try  running it manually that would point out the Root cause 

     

    example

    ECHO Test run

    testrunner.bat -s" TestSuiteName" -fC:\Documents\SoupResults -I -j -M C:\Documents\project\pathfile\soapui-project.xml

    ECHO TEST COMPLETE
    PAUSE

     

    save it as .bat