You are on page 1of 5

SOAP UI Data Source

Transferring Property Values

Property Transfer TestSteps are used to transfer properties between


TestSteps and their containing TestCase, TestSuite and Project.

Extracting a value from an XML message, for example a sessionID from


a SOAP Response

Write a value into an XML message, for example a saved sessionID or


authentication data

Transfer complex XML content between properties

The Property-Transfer Window

What is Data-Driven testing

Quite simply put, data-driven testing is when you store test data (input,
expected output, etc) in some external storage (database, spreadsheet,
xml-files, etc) and then use that data iteratively in your tests when
running them.

DataSource Type

Data Source Types


Option

Description

Data Connection

Perform queries on any JDBC compatible database (uses shareable project-level connections).

Grid

A user-defined table within soapUI. The results will be put in properties, whose order will map the grid columns. E.g. the
first column will go into the first Property.

File

Reads the contents of a file into the first Property of the Test Step.

XML

Fetches data from a property containing XML via XPath.

Groovy

A datasource whose output is defined by a Groovy Script. Results go into Properties by using: result["myProperty"] = "This
string is the result, which will go into the Property named myProperty".

Excel

Reads from an XLS-file. The results will be put in properties, whose order will map the grid columns. E.g. the first column
will go into the first Property.

Directory

Reads the content of files in a directory. Each iteration will read from a new file. The file contents are stored in the first Test
Case Property.

JDBC

Perform queries on anyJDBCcompatible database (uses TestStep specific connections).

JSON

Fetches data from a property containing JSON via JPath.

You might also like