Ask a Question

Whats the best practice to encrypt client id & secret for SoapUI Project?

indraniria
Contributor

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. 

3 REPLIES 3
nmrao
Community Hero

Use project custom properties and leave the values empty and push it to repository. Set the values only while running the tests.



Regards,
Rao.
indraniria
Contributor

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
nmrao
Community Hero

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.
cancel
Showing results for 
Search instead for 
Did you mean: