Forum Discussion
Where (in which step) are you using credentials? In request? In custom properties?
How do you execute the tests ? command line or from UI?
You can use custom properties (if not already) and pass the actual values from command line or from a property fie.
Refer
https://www.soapui.org/docs/scripting-and-properties/working-with-properties/
https://www.soapui.org/docs/scripting-and-properties/property-expansion/?sbsearch=Property%20Expansions
Thanks for the reply.
These credentials are for Basic Authorization userID and Password to access the service.
We execute from UI and command line. Also these need to be executed in Jenkins pipe line too.
Currently the SOAP XML shows credentials in clear text. For security purpose we don't want authorization credentials to show in the xml.
In the automation, Can we store and pass these credentials while running the tests.
We are looking if there is any feature to encrypt these UserID/password in our automation.
Thanks!
- nmrao3 years agoChampion Level 3Not sure if you have gone thru the details.
Use property file to load the data and keep it with the respected user only. When you test it, load the properties and use.
For jenkins, you may created a separate user for the same if possible.
I believe that there is no encryption to save password. Just the tool will mask the password field, and shows in xml at the moment.- richie3 years agoCommunity HeroHey ramaG,
Have a look at the following and see if this helps out.
https://support.smartbear.com/readyapi/docs/testing/best-practices/secure.html
Ta
Rich.- ramaG3 years agoContributor
Thanks for the replies.
1. We have used Encryption at Selected properties . We tried encrypting user and password. It does encrypt in ReadyAPI UI .
After saving the Composite project we checked the XML, it still shows Password in clear text in the xml.
2. We tried encrypting entire project the password is not shown in the XML. But The project shows as 'E' encrypted mode. It is not Composite project any more.
So we can't have Encrypted projected work with GitHub.
Is there any option to put encrypted project in the github?
Does encrypted project work in docker container?
If anyone has any idea , please let me know.
Thanks!
Related Content
- 2 years agonurgustianto