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