Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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
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
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
JSON