Forum Discussion

  • nmrao's avatar
    nmrao
    Champion Level 3
    alex1,
    Please go thru MarcusJ answer.
    Just wanted to clarify that as long as the data base support java client libraries, SoapUI or ReadyAPI can connect provided you follow the instructions from the documentation.
    In this case:
    Copy the downloaded the driver under READYAPI_HOME/bin/ext and restart the tool. You should be ready to connect.
    • alex1's avatar
      alex1
      New Contributor

      nmraoMarcusJ, Hello, I did it, but still get the following error:

       

      - Error getting response; com.eviware.soapui.support.SoapUIException: Failed to init connection for driver [com.teradata.jdbc.TeraDriver], connectionString [jdbc:teradata://host/USER=yyyyy,PASSWORD=xxxxx]

       

      The connection string is tested with java and works with the same jdbc, that is placed in SoapUI/bin/ext

       

       

       

      Edit: Trying to make this work, in Groovy Script I run following code:

       

      import groovy.sql.Sql;

      com.eviware.soapui.support.GroovyUtils.registerJdbcDriver( "com.teradata.jdbc.TeraDriver" )
      def con = Sql.newInstance("jdbc:teradata://dbhost", "usr", "pass", "com.teradata.jdbc.TeraDriver");

       

      And it says 

      • java.lang.ClassNotFoundException: com.teradata.jdbc.TeraDriver

       

      But the path in Teradata jar in SoapUI/bin/ext is correct: exactly com.teradata.jdbc.TeraDriver