Reputation: 111
I'm a problem in JDBC Connection Configuration. When i execute my test (only JDBC Request - insert), doesn't appear any results in report (View Results Tree):
"Cannot create JDBC driver of class 'oracle.jdbc.OracleDriver' for connect URL 'jdbc:oracle:JDTST'"
The connection is Oracle. See below the configuration:
database URL: jdbc:oracle://${myURL}
JDBC driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
Username: ${user}
Password: ${password}
My login in Oracle DB:
Could someone help me?
Thanks!!!
Upvotes: 0
Views: 1140
Reputation: 312
Database SID is no longer supported; please use a service name as in Nirmala's response.
Upvotes: 1
Reputation: 1338
Refer to JDBC Developer's guide on how the JDBC connection URL is formed. The easiest way is to use the below URL. You can use DataSourceSample.java for checking the connection.
jdbc:oracle:thin:db_user/db_password@localhost:5221:orcl
Upvotes: 1
Reputation: 168197
I don't think your URL is correct, it should be something like:
jdbc:oracle:thin:@your-oracle-hostname-or-ip-address:your-oracle-port:your-oracle-SID
Correct JDBC Driver fully qualified name is oracle.jdbc.driver.OracleDriver
The "Validation query" should be select 1 from dual
You will need to download Oracle JDBC Driver and drop it to JMeter Classpath
More information:
Upvotes: 1