yahiatene
6 years agoOccasional 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 :
- - 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 :)
Mohamed.
Hello Mohamed,
Ensuring a robust health-check routine for ReadyAPI and SoapUI Pro in your CI pipeline is crucial for seamless operations. Here are some best practices:
- TestRunner Availability: Use a simple script or API call to verify the TestRunner's presence on the expected path before starting the CI. This ensures the tool is correctly installed and accessible.
- License Verification: Implement a script to check license availability. For floating licenses, the license server’s status can usually be checked via its management interface or an API.
- Component Readiness: Running a "blank test" is a good starting point to ensure all components (TestRunner, Test Cases, Data Sources) load without errors. For a stricter check, execute a lightweight mock test or a dry run to confirm all integrations are functioning.
- Automated Health Checks: You can script these checks and incorporate them as a pre-stage in your Jenkins pipeline to avoid manual intervention.
ReadyAPI does not have an out-of-the-box health-check routine, so scripting these verifications is key. Let me know if you'd like examples of these scripts!