How are you securing secrets for storing your projects in github?
We're trying to migrate our ReadyAPI suites into github and I'm getting a little stuck with ReadyAPI's documentation on how to encrypt passwords we use to test our application, I'm hoping someone has a simple answer they can share.
Our application passwords are stored in auth manager or request properties, when this project is converted to a composite project and pushed into github those values are visible so I have followed documentation to try and mask them without success.
- 1. Encrypt the project - this stops the project being a composite project so we're back to single use for upgrades and preventing people from making changes and keeping them in a branch. Doesn't seem like this fits.
- 2. Password protect the project - doesn't obsfucate the passwords anywhere.
- 3. Move the passwords to encrypted properties - Feels very hacky and clunky, makes the auth manager redundant and isn't very user friedly.
I haven't been able to find any other in application solutions other than the above, I was looking at keystores/ truststores but neither seem to fit the requirement.
This has left us with the only option we can see which is to write a groovyscript to pull the passwords out of an encrypted keepass kdbx file to use at runtime. This is not my preferred approach as I would rather use in built features with ReadyAPI support documentation... If anyone knows of other things to attempt or can share how they managed it in their project that would be appreciated.
Hi endorium,
The requirements for running SoapUI Pro (with Fixed license) and TestComplete tests from Jenkins are mutually exclusive, indeed. TestComplete requires the Jenkins service to run under the Local System account, and SoapUI Pro - under a user account that is a requirement of the licensing system and the Fixed license type.
You can overcome this conflict by using the Floating license type instead of Fixed. Once you have your SoapUI Pro Floating license you will need to:
1. Run the Jenkins service to run under the Local System account;
2. Add a build step that checks out the license before the test execution as it's described here: https://smartbear-cc.force.com/portal/KbArticleViewer?name=How-to-check-out-Ready-API-floating-license-automatically&sp=all
In this case, the license will be applied under the Local System account and TestRunner will be able to use it.
To learn more about Floating licenses please reach out to your Sales rep or submit a request here: https://smartbear.com/product/ready-api/demo-request/