SoapUI在Jenkins中的配置
Jenkins Label: windows_ws_test
已有Jenkins环境变量
%READYAPI_PRO_HOME% - <D:\Program Files\SmartBear\ReadyAPI-1.3.1>
%READYAPI_PRO_190% - <C:\Program Files\SmartBear\ReadyAPI-1.9.0>
启动整个Project
cmd /c call "%READYAPI_PRO_190%\bin\testrunner.bat" -a -j -E"%TestEnvironment%" -f"%WORKSPACE%\result-output" -R"TestProjectReport" -FHTML -I "%WORKSPACE%/MR-Components"
启动指定TestSuite
cmd /c call "%READYAPI_PRO_190%\bin\testrunner.bat" -a -j -sDemoTestSuite -PprojectPath="%WORKSPACE%" -PtestAndBmkEnv="%Comparison_Environment%" -f"%WORKSPACE%\DemoTestSuite-result-output" -R"TestSuite Report" -FHTML -I "%WORKSPACE%/API/SoapUI/DemoProject-readyapi-project"