Setting up soapUI to connect to the database

We will use our sample HOTEL_RESERVATION_DB MySQL database in the examples of this chapter. To make soapUI aware of our MySQL database, we need to include the MySQL JDBC driver inside soapUI binary distribution. We have already configured soapUI to connect to the MySQL database in Chapter 6, Web Service Simulation with soapUI. There, we have performed the following two steps to configure soapUI with MySQL:

  1. Downloading MySQL JDBC driver from http://dev.mysql.com/downloads/connector/j/.
  2. Copying the driver JAR file to soapUI_HOME/bin/ext and restart soapUI.

Get Web Services Testing with soapUI 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.