Ask a Question

No Suitable driver exception when I try to connect to postgres using the jdbc step in SoapUI (free v

Connectbobby1
Senior Member

No Suitable driver exception when I try to connect to postgres using the jdbc step in SoapUI (free v

  1. downloaded the postgres jdbc driver from the following link https://jdbc.postgresql.org/download.html downloaded the latest version
  2. Pasted the jar file in the soapui_home/bin/ext folder
  3. Restarted SoapUI still getting the same error 
     

     

  1. I have added a jdbc step in SoapUI
  2. Here is the driver, I have used PostgreSQL/org.postgresql.Driver
  3. The string is dbc:postgresql://localhost:5432/databaseName?user=username&password=password

This is super urgent. Please advise. Thanks

Environment Redhat Linux jdk version is 11 SoapUI version 5.7.0

2 REPLIES 2
ChrisAdams
Community Leader

Hi,

Have you checked the SoapUI Preferences?  There is a driver set-up tab....

 

ChrisAdams_0-1652854833695.png

 

TNeuschwanger
Community Leader

Hello @Connectbobby1 

 

For some reason (maybe because there was an issue many years ago in SoapUI), I always put my jar files in "soapui_home/lib" with all the other jar files instead of the documented "soapui_home/bin/ext" folder.  You might try moving the driver there and see what happens after you do that and restart SoapUI.  Just grasping at straws here without a full research event. 🙂

 

Regards,

Todd

cancel
Showing results for 
Search instead for 
Did you mean: