Forum Discussion
8 Replies
- sanjSuper Contributor
I have recently done that with Pro
Free version should be simpler
You will need to add a build step to use test runner which will run your tests
One catch you need to parse report using groovy
Then publish this report as for e.g. JUNIT in your post build step
Here is a link of what I did
https://community.smartbear.com/t5/SoapUI-Pro/jenkins-cannot-find-license-server/m-p/146742#M33385
- nmraoCommunity Hero
There are multiple ways to achieve the same.
- Using testrunner utility of SOAPUI. Call this utility from Jenkins
- Using apache-ant, which internally calls testrunner of SoapUI. Call the respective target. You need to write the build scripts.
- Using maven, there are plug-in available for free version.
You may have a look at this short demo
https://hub.docker.com/r/nmrao/soapui/
- nkpalliContributor
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.batC:\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- nmraoCommunity HeroDoes the same command work form command line? what if you remove start in the command?