Health-check for SOAP UI Pro in continuous integration with Jenkins
Most of tools dispose of “health check” routine that verify that everything is OK before starting the CI pipeline.
So before executing the SoapUI tests in Jenkins I want to verify that :
- - TestRunner of ReadyAPI is available
- - Licences are available in sufficient quantity
- - Each component of the testing tool is ready to use
Maybe it is very simple and I just have to run a blanc test, maybe the control is stricter and I can run some of health-check procedure.
So the point is :
- - What are the best-practices you have observed in IC integration ? What is your advice ?
- - Does the health-check procedure exists and how to run it ?
Thanks a lot 🙂
Based on my experience with Jenkins and pipelines with ReadyAPI so far, there's no easy way to do what you are asking. You basically want to do a health check on ReadyAPI, but as far as I am aware there's no out-of-the-box solution to do that. You mentioned the idea of running a blanc test, which is likely an easy solution to start with that you can refine as you go.
Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
While I agree with @groovyguy , following are my remarks.
In the pre-build step, try the following
1. testrunner is a file after all. You can can check it exists
2. Depends on the type of the licence. If it is fix type assigned to (which is the preferred type at least for CI builds) jenkins machine, no need to bother about it. It will be problem only if you are using floating licence and some other guy in the team is using it.
3. I think you may use some plugin so that call http request (for the application under test) as part of pre-build step for the endpoint and see if that is giving 200 OK.
Thank you very much for your answer and your remarks, I have already done the existence test for the testRunner. We use floating licenses so it's a little hard to check their availability. Regarding the last remark, could you give me a little more details on how to do that? And is it possible to block access to a license if it is already being used ?
Thank you again
Hi @TanyaYatskovska ,
I have already read the articles refering to Soapui Pro and continuous integration on ReadyAPI documentation, unfortunately I didn't found what I was really looking for.
In ReadyAPI I didn't found any command or plugin to test that everything is OK before running a Soapui test so the only way to know if something is wrong is to run the test command and it's not effective when we do automation or DevOps development.
I think that TestEngine can be the solution to Health-check problem.
Thank you for your help.
"is it possible to block access to a license if it is already being used " - As there is no way to check automatically, so need not worry. If build is scheduled your evening hours (most of the employees would be left by then and license would be free), you should be good.
nmrao, thank you a lot!
Hi @yahiatene , did you have a chance to try out the Jenkins plugin that nmrao is suggesting here? Please let us know whether it helped your cause.
Community and Education Specialist