Forum Discussion
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.
- yahiatene5 years agoOccasional Contributor
Hi nmrao,
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
Best regards
Mohamed- nmrao5 years agoChampion Level 3#3, Use the below plugin for Jenkins and call your host:post to see 200 OK as part of per-requisite step before invoking actual build.
https://wiki.jenkins.io/display/JENKINS/HTTP+Request+Plugin
"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. - TanyaYatskovska5 years agoSmartBear Alumni (Retired)
Hi yahiatene,
Could you please refer to the Required license paragraph of the Running ReadyAPI Tests From Jenkins article? I think it should answer your question.
- yahiatene5 years agoOccasional Contributor
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.
Best regards,
Mohamed
Related Content
- 3 months ago