Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
15 years ago

cannot start soapui test case in loadui

Hello,
I am trying to run a soapUI testcase. The table log shows that soapui is throwing these errors

0 [] 1295838089552 java.lang.Exception: Failed to prepare testStep [DataSource]; com.eviware.soapui.support.SoapUIException: Failed to init connection for drvr [com.microsoft.sqlserver.jdbc.SQLServerDriver], connectionString [jdbc:sqlserver://<myserver>:1433;databaseName=wsp_gwy;user=wsp_gwy;password=wsp_gwy;]

All the soapui installations have sqljdbc.jar in the <soapui dir>\bin\ext
I tried putting the sqljdbc in a few loadui directories as well

C:\Program Files\eviware\loadUI-1.0.2-SNAPSHOT\lib
C:\Program Files\eviware\loadUI-1.0.2-SNAPSHOT\jre\lib\ext
C:\Program Files\eviware\loadUI-1.0.2-SNAPSHOT\jre\lib

Not really sure what I am doing wrong.

Thanks

Ali
  • Hi Ali,

    try putting the driver in the <loadui>\ext folder, does that help?

    regards!

    /Ole
    eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    That seems to work. Thanks
    Maybe the drivers installation should be specified during loadui installation as well.

    Do I need to have this ext/sqljdbc.jar on each of the agents ?

    Thanks

    Ali
  • Hi!

    Good point, we could probably include the same drivers with loadUI as we include with soapUI, but since loadUI has no JDBC functionality of its own it might be a bit confusing for non-soapUI users.

    Yes, you will need these on the agents as well.

    regards!

    /Ole
    eviware.com