cancel
Showing results for 
Search instead for 
Did you mean: 

Health-check for SOAP UI Pro in continuous integration with Jenkins

Occasional Contributor

Health-check for SOAP UI Pro in continuous integration with Jenkins

Hello,
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 :

  1. - TestRunner of ReadyAPI is available
  2. - Licences are available in sufficient quantity
  3. - 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 Smiley Happy 

Mohamed.

14 REPLIES 14
Community Manager

Re: Health-check for SOAP UI Pro in continuous integration with Jenkins

Community, is there anything you can suggest? @nmrao@msiadak, @Radford@avidCoder?

 

 

 
---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Community Hero

Re: Health-check for SOAP UI Pro in continuous integration with Jenkins

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!
Community Hero

Re: Health-check for SOAP UI Pro in continuous integration with Jenkins

@yahiatene 

 

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.



Regards,
Rao.
Community Manager

Re: Health-check for SOAP UI Pro in continuous integration with Jenkins

msiadaknmrao, thank you for the suggestions! 

@yahiatene , do these suggestions work for your case?

 

 

 



Sonya Mihaljova
Community and Education Specialist
Enroll at the SmartBear Academy today and learn our products via exclusive video courses.
Occasional Contributor

Re: Health-check for SOAP UI Pro in continuous integration with Jenkins

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

Community Manager

Re: Health-check for SOAP UI Pro in continuous integration with Jenkins

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.

 

 

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Occasional Contributor

Re: Health-check for SOAP UI Pro in continuous integration with Jenkins

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.
Best regards,
Mohamed

Highlighted
Community Hero

Re: Health-check for SOAP UI Pro in continuous integration with Jenkins

#3, Use the below plugin for Jenkins and call your hostSmiley Tongueost 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.


Regards,
Rao.
Community Manager

Re: Health-check for SOAP UI Pro in continuous integration with Jenkins

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. 



Sonya Mihaljova
Community and Education Specialist
Enroll at the SmartBear Academy today and learn our products via exclusive video courses.