Forum Discussion

knack's avatar
knack
New Contributor
7 years ago
Solved

Issue with mysql driver in groovy script

A problem with mysql driver in Groovy Script: 1. Add Groovy Script as step to Test case 2. Add definition for mysql driver, for example (the driver has been put before into bin\ext and the tool is ...
  • nmrao's avatar
    7 years ago
    Well.

    It might require to register the driver first using below statement before invoking sql instance.

    com.eviware.soapui.support.GroovyUtils.registerJdbcDriver( "com.mysql.jdbc.Driver" )

    Refer the same from below thread, #10
    https://www.soapui.org/scripting-properties/tips-tricks.html