Forum Discussion

knack's avatar
knack
New Contributor
8 years ago

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
    8 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