cancel
Showing results for 
Search instead for 
Did you mean: 

How to share Ready API Global Properties along with Composite project

SOLVED
VeenaDevi
Contributor

How to share Ready API Global Properties along with Composite project

I Have a global Properties , which must be used on Groovy script , now not able to reuse this script  in the team , as i cannot share global properties, if i use Project level properties, then Groovy script cannot access that .

So please let me know how to use/share global properties via SCM to team  

1 ACCEPTED SOLUTION

Accepted Solutions
nmrao
Community Hero

Re: How to share Ready API Global Properties along with Composite project

No heard any from you for the earlier reply whether you have tried or not.
Here is another approach.
Global properties are read from READYAPI_HOME/bin/soapui.properties file (file name and location are fixed) if any.
So all the global properties you are using can put into soapui.properties and store in your SCM so that it is available for your team. But you need to copy it under READYAPI_HOME/bin directory in order to be able tot use them.
Please refer below documentation.
https://www.soapui.org/docs/scripting-and-properties/working-with-properties/#Property_Expansion_in_...


Regards,
Rao.

View solution in original post

3 REPLIES 3
nmrao
Community Hero

Re: How to share Ready API Global Properties along with Composite project

Usually project properties are preferred.
They can be used very well and can be managed using SCM as well to the other team members.
Please find this sample project
https://github.com/nmrao/sample-soapui-projects/tree/master/environmentsExample


Regards,
Rao.
nmrao
Community Hero

Re: How to share Ready API Global Properties along with Composite project

No heard any from you for the earlier reply whether you have tried or not.
Here is another approach.
Global properties are read from READYAPI_HOME/bin/soapui.properties file (file name and location are fixed) if any.
So all the global properties you are using can put into soapui.properties and store in your SCM so that it is available for your team. But you need to copy it under READYAPI_HOME/bin directory in order to be able tot use them.
Please refer below documentation.
https://www.soapui.org/docs/scripting-and-properties/working-with-properties/#Property_Expansion_in_...


Regards,
Rao.

View solution in original post

nmrao
Community Hero

Re: How to share Ready API Global Properties along with Composite project

One can use either Global / Project / TestSuite / TestCase properties using property expansion.
Please refer below documentaion
https://support.smartbear.com/readyapi/docs/testing/properties/expansion.html?sbsearch=global%20prop...


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors