cancel
Showing results for 
Search instead for 
Did you mean: 

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

Occasional Contributor

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

@nmrao @sonya_m, thank you and sorry for the delay.
In my case the company's licence server is not easily accessible with an HTTP request from a jenkins job and even if I do that successfully, it just returns that the server is available and it didn't check if the licences are available. I'm trying another solution which consists on parsing the jenkins console output of SoaupUIPro pipeline to know if we get the right messages or not, hoping it will work !

Regards,
Mohamed.

Highlighted
Community Manager

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

Thanks for the update!

Have you already consulted with the Support Team in this question? I think it's worth talking with them as well - perhaps, they can suggest a solution.

 

 

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

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!
Occasional Contributor

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

We have already been in relation with the SmartBear Customer Care, they suggested tu ask the Community !
I'll create a new case with them if my current solution doesn't work.

Thant you for your replies.
Mohamed.

Community Manager

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

Thank you @yahiatene, please keep us informed about your progress! 



Sonya Mihaljova
Community and Education Specialist

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!
Community Expert

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

I am unclear what exactly you are trying to accomplish.

 


@yahiatene wrote:

Most of tools dispose of “health check” routine that verify that everything is OK before starting the CI pipeline.

Could you give an example of such a tool?

 


@yahiatene wrote:

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

What would you expect to happen in your pipeline if any of the above fails? And perhaps more importantly: What would expect different from just failing your test run?

 


@yahiatene wrote:

So the point is :

  • - What are the best-practices you have observed in IC integration ? What is your advice ?

What I have always done is to keep integration tests in a separate project (both in CMS as well as in CI), chain the projects together, and fail that project run if anything goes wrong. When the project fails, a human is going to have go and investigate, regardless of the failure.

Community Manager

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

SiKing, thank you for involving into this conversation. 

 

Hi @yahiatene , perhaps SiKing could provide you with some valuable advice, please give them the info they are inquiring in case you are still looking for help. 

 

Also, how are things regarding the solution you were going to try, any luck?  



Sonya Mihaljova
Community and Education Specialist

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!
Occasional Contributor

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

Hi @SiKing,
Thank you for your reply, I'll try to be more clear.


@SiKing wrote:

I am unclear what exactly you are trying to accomplish.

 


@yahiatene wrote:

Most of tools dispose of “health check” routine that verify that everything is OK before starting the CI pipeline.

Could you give an example of such a tool?

For example I worked with Jira and HPQC, with both of them we can check their availability and status with some HTTP requests.

 


@yahiatene wrote:

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

What would you expect to happen in your pipeline if any of the above fails? And perhaps more importantly: What would expect different from just failing your test run?

 

What I'm trying to do is a model pipeline to launch fake (blank) tests to see the status of readyAPI and it's License Manager.
For example : if the quantity of licences is insufficient to run the job, the pipeline fails and sends an email to our Tools Expert to check which jobs are using all the licenses. Today we have the console output "No valid license found" just when it fails, and if it's possible we want to have :
4 floating licences found
2 used licenses
2 free licences  

 


@yahiatene wrote:

So the point is :

  • - What are the best-practices you have observed in IC integration ? What is your advice ?

What I have always done is to keep integration tests in a separate project (both in CMS as well as in CI), chain the projects together, and fail that project run if anything goes wrong. When the project fails, a human is going to have go and investigate, regardless of the failure.


So the goal is to make model pipeline, to automate it's run and to do it before production pipeline run.

Best regards,
Mohamed.

Occasional Contributor

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

Hi @sonya_m,

The solution was to request the licence manager of ReadyAPI and get the response in a console output.
The request worked well (see below), but we need a little more information about the licenses manager (existing licenses, available licenses, used licenses), I'm investigating about those statistics and how to get them.

+ /usr/bin/java -jar /opt/tools/ready-api-license-manager/ready-api-license-manager-1.2.6.jar -s IP_adress:port
[Pipeline] echoLICENSE MANAGER OUTPUT : Please select the tool for which you want to get the floating license:
1. SoapUI Pro
2. LoadUI Pro
3. Secure (if you have an old license)
4. ServiceV Pro
5. VirtServer
Licensed Module: SoapUI Pro
License Number: [2018-10-31 00:00:00] *****************
License Type: PROFESSIONAL (floating)
Issue Date: 31-Oct-2018
Expiration Date: 25-Jun-2020


Best regards,
Mohamed.

Community Manager

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

Hi @yahiatene , great to see you are making progress!  

 

SiKing, any suggestions based on the info yahiatene provided? 



Sonya Mihaljova
Community and Education Specialist

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!