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 :
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 :
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.
While I agree with @msiadak , 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
Could you please refer to the Required license paragraph of the Running ReadyAPI Tests From Jenkins article? I think it should answer your question.
Hi @TanyaGorbunova ,
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.
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.