Adding properties to soapUI tests
Properties can be considered as place-holders in a soapUI project. Properties are used to parameterize the execution of tests. In soapUI, properties can be defined at many levels in a project. You can define the properties which are common to your project at the project level. TestSuite and TestCase specific properties can be defined at their respective levels. Let's dive into the details of properties with our example project.
In our project, the project specific properties can be defined in the Custom Properties tab as shown in the following screenshot:
For example, we can define a property called Test at the project level as shown in the preceding screenshot. This property can be accessed from anywhere in our project through property expansions. For example, ${#Project#Test}
.
A property can also be considered as a variable in a computer program. If we want to define something which can be used somewhere else, we can use properties. Therefore, in our sample...