I have installed the jenkins in my local box that has my ready api in it. I have started jenkins as admin and created a bat command to launch test runner and it started throwing the license not found issue.
I need some one to give me step by step info to configure and run the tests. The documentation that already exists is not completely clear if someone is starting new. Please help.
Generate reports in JUnit style and incorporate with Hudson.
Show logs in console output.
Run any project with different global properties ofSOAPUI
1. SOAPUI should be run from Hudson
Hudson have good feature of execution of batch of commands of windows and Linux andSOAPUIis providing test runner of its own, we can run SOAPUI from Hudson easily. We can run it as same way as we can run soapui from command line. So it can be integrated easily and using Hudson we can view console output as well. For this first create a new job in Hudson. This link will help you understanding theHudsonmanagement;http://www.solitarygeek.com/java/hudson-ci-server-a-step-by-step-guide-part-i/ After creating a job, go to configure section of the job and “Add build step” to run shell script / batch file as below to run SOAPUI fromHudson.
2. Generate reports in JUnit style and incorporate with Hudson
Hudson have inbuilt functionality of digesting JUnit style report andSOAPUIgenerates reports in JUnit style and Hudson generates good trending and result reports based on it. To enable JUnit style report in Hudson we have to select “Publish JUnit test result report” option and it will ask for JUnit style report xml file path. If you are creating different JUnit style report in different folder than give that path using wild cards and Hudson will check for all the JUnit style report and will show the consolidated results and trends. The path should be relative to WORKSPACE.
3. Show logs in console output
As described in point-1, it is necessary to have log information handy for test andHudsonhave special area to show console output.
4. Run any project with different global properties of SOAPUI
To make our test dynamic, it is must that our tools supports run time property setup option andSOAPUIcommand line runner supports this via global properties. Because we can setup global properties values during run time and which we can use to achieve dynamic nature of our test framework and as we know Hudson support execution of tool through command line or shell scripting. For example, I want to run SOA test daily after nightly build of my application. Here we are assuming that our SOAUI test project is available in SVN and application source is also available in SVN. So for this the steps for setting up job will be as below:
Create one new job in Hudson for building the code.
Configure SVN from which we have to download the latest source of application.
Configure build steps like ant script or batch file or shell script.
Configure schedule to run the job daily.
Create one more new job in Hudson for testing the build which was setup in previous step.
Configure SVN path to get latest test project from SVN.
Configure the batch commands to invoke and run the soapui tests.
Set build job as triggering job to start this test job.
Set email address to whom we want to send the test report.
Save the job.
Now the source build job will start at scheduled time and completion of build it will start the test job.
Conclusion There are many options in Hudson andSOAPUIto achieve maximum flexibility of building and testing the jobs and apart from this we have integrated functional UI testing with Hudson.