Sunday 19 May 2013

SOAPUI Properties


SoapUI Properties
Properties are a central aspect of more advanced testing with soapUI. In regard to Functional Testing properties are used to parameterize the execution and functionality of your tests, for example:

·         Properties can be used to hold the endpoints of your services, making it easy to change the actual endpoints used during test execution (see example below)
·         Properties can be used to hold authentication credentials, making it easy to manage these in a central place or external file
·         Properties can be used to transfer and share session ids during test execution, so multiple teststeps or testcases can share the same sessions
·         etc


SOAP UI TYPE OF PROPERTIES


Default Property:
·         These are the set of properties which comes by default with every soapUI installation.
·         We can change the values of these properties (not in every case) & consume as when needed.

Custom/User Defined Property:
·         These are the set of properties which the end user defines as per his requirement.
·         It can be used a temporary storage for validating the end result of any test (like in assertion).

SOAP UI LEVELS OF PROPERTIES
# Global Properties: specify/define the properties associated with installed version of soapUI. These properties can be access across the project/test suites/ test cases and so on.

# Project Properties: specify the properties associated with the current project. This property can be used by all the subset (test suite, test case, test step, script) of the project.

# Test Suite Properties: specify the properties associated with the current test suite. This property can be used by all the subset (test case, test step, script) of the test suite.

# Test Cases Properties: specify the properties associated with the current test case. This property can be used by all the subset (test step, script) of the test cases.

# Test Step Properties: specify the properties associated with the current test step. This property can be used by all the subset (test step, property transfer, script) of the test steps

SnapShot

No comments:

Post a Comment