Whats the best practice to encrypt client id & secret for SoapUI Project?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2022
01:23 PM
12-06-2022
01:23 PM
Whats the best practice to encrypt client id & secret for SoapUI Project?
If I dont have readyapi license, what would be best practice to encrypt client id & secret for SoapUI Project?
So that when committed the project to repository, those credentials are not exposed.
Labels:
- Labels:
-
SOAP
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022
07:59 AM
12-13-2022
07:59 AM
Use project custom properties and leave the values empty and push it to repository. Set the values only while running the tests.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022
08:17 AM
12-13-2022
08:17 AM
Thanks. Can you please guide how to set properties while running tests? My tests would run in azure pipeline in an agent machine which has readyapi installed
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022
05:52 PM
12-13-2022
05:52 PM
One can put the properties into a separate file and pass them to testurnner utility during runtime (no need to open the project and set values). See the below documentation
https://www.soapui.org/docs/scripting-and-properties/working-with-properties/
Regards,
Rao.
