We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
when start gets removed .....i don't see the build running on the build exectutor status window however build still got executed and failed with this below message. I tried command line option and testrunner.bat is gettting called from commandline with no issues
Console Output
Started by user admin
Building in workspace C:\Program Files (x86)\Jenkins\workspace\SoapUIAutomatedTests
[SoapUIAutomatedTests] $ cmd /c call C:\Windows\TEMP\jenkins3244711319342882945.bat
C:\Program Files (x86)\Jenkins\workspace\SoapUIAutomatedTests>"C:\Program Files (x86)\SmartBear\SoapUI-5.2.1\bin\testrunner.bat" -sGetRenlBatchesTestSuite -cGetRenbatches -r -a -f"C:\Program Files\SmartBear\SoapUI-5.2.1\bin\TestResults" -I C:\Users\XYZuser\GitHub\ren-api2\Tests\Automated_Test\GetRenBatches-soapui-project.xml
The system cannot find the path specified.
C:\Program Files (x86)\Jenkins\workspace\SoapUIAutomatedTests>exit 3
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
I have had testrunner running on jenkins build
The only difference I am using a pro version
open source should be not much different
Is that the correct location
"C:\Program Files (x86)\SmartBear\SoapUI-5.2.1\bin\testrunner.bat"
Try your command using command line prompt
I usually do that before adding it to my jenkins build.
There are multiple ways to achieve the same.
You may have a look at this short demo
https://hub.docker.com/r/nmrao/soapui/
Thanks you folks for all your suggestions ! I opted to choose to integrate our existing soapUI tests (created using soap UI Free version) and to call test runner utility from Jenkins .
I followed these below steps however job seems to never finish : I had to abort the job , Not sure how we can check if utility is getting called at this point ? Any advise is much appreciated . Let me know if i missed any configuration steps or not calling utility correctly via windows command line options
Downloaded jenkins locally -Jenkins ver. 2.76
Create a job in jenkins and configured job to execute window command line option :
start "" "C:\Program Files (x86)\SmartBear\SoapUI-5.2.1\bin\testrunner.bat" -sGetRenBatchesTestSuite -cGetRenbatches -r -a -f"C:\Program Files\SmartBear\SoapUI-5.2.1\bin\TestResults" -I C:\Users\xyzusername\GitHub\ren-api2\Tests\Automated_Test\GetRenBatches-soapui-project.xml
click build now on new job created
Job never finished so aborted the job and console output log shows as
Started by user admin
Building in workspace C:\Program Files (x86)\Jenkins\workspace\SoapUIAutomatedTests
[SoapUIAutomatedTests] $ cmd /c call C:\Windows\TEMP\jenkins2966446162621249649.bat
C:\Program Files (x86)\Jenkins\workspace\SoapUIAutomatedTests>start "" "C:\Program Files (x86)\SmartBear\SoapUI-5.2.1\bin\testrunner.bat" -sGetRenBatchesTestSuite -cGetRenbatches -r -a -f"C:\Program Files\SmartBear\SoapUI-5.2.1\bin\TestResults" -I C:\Users\xyzuser\GitHub\ren-api2\Tests\Automated_Test\GetRenBatches-soapui-project.xml
Build was aborted
Aborted by admin
Finished: ABORTED
when start gets removed .....i don't see the build running on the build exectutor status window however build still got executed and failed with this below message. I tried command line option and testrunner.bat is gettting called from commandline with no issues
Console Output
Started by user admin
Building in workspace C:\Program Files (x86)\Jenkins\workspace\SoapUIAutomatedTests
[SoapUIAutomatedTests] $ cmd /c call C:\Windows\TEMP\jenkins3244711319342882945.bat
C:\Program Files (x86)\Jenkins\workspace\SoapUIAutomatedTests>"C:\Program Files (x86)\SmartBear\SoapUI-5.2.1\bin\testrunner.bat" -sGetRenlBatchesTestSuite -cGetRenbatches -r -a -f"C:\Program Files\SmartBear\SoapUI-5.2.1\bin\TestResults" -I C:\Users\XYZuser\GitHub\ren-api2\Tests\Automated_Test\GetRenBatches-soapui-project.xml
The system cannot find the path specified.
C:\Program Files (x86)\Jenkins\workspace\SoapUIAutomatedTests>exit 3
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE