Forum Discussion

user1's avatar
user1
Occasional Contributor
11 years ago
Solved

Need help in using global variable for the folder where the data file is located

Hi,   I am new to SoapUI. I have created one Testsuite (data driven) functional test suite and added some assertions and property transfer features.  I did not add any Groovy script. I had a dataso...
  • nmrao's avatar
    11 years ago
    soapUI provides a common syntax to dynamically insert ("expand") property values during processing. The syntax is as follows:

    ${[scope]propertyName[#xpath-expression]}
    #Global# - references a global property. Found in File>Preferences>Global Properties tab. Reference properties across all projects
    For more details:
    http://www.soapui.org/scripting---properties/property-expansion.html
  • nmrao's avatar
    nmrao
    11 years ago
    Define property name as master_directory and its value as C:\SoapUI\SoapUI-Pro-5.1.2.
    And it should be accessed as ${#Global#master_directory}