Chapter 2. Data-driven Testing and Using External Datasources

In this chapter, we will cover the following topics:

  • Creating and checking data with the JDBC Request TestStep
  • Parameterizing SQL queries with the JDBC Request TestStep
  • Setting properties from an external file
  • Importing CSV file data into an in-memory H2 database with Groovy
  • Looping over CSV file data and driving tests with Groovy
  • Querying MongoDB with Groovy
  • Publishing, browsing, and consuming ActiveMQ JMS messages via the REST API

Introduction

This chapter explores how to access and use common types of external data that you are likely to need in SoapUI test scenarios, for example, files, SQL databases, NoSQL databases, and JMS. While there isn't scope to cover every possible type or implementation, ...

Get SoapUI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.