Bug 63031 - Incorrect JDBC driver class : 'org.firebirdsql.jdbc.FBDrivery'
Summary: Incorrect JDBC driver class : 'org.firebirdsql.jdbc.FBDrivery'
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.0
Hardware: All All
: P2 minor (vote)
Target Milestone: JMETER_5.1
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2018-12-23 13:29 UTC by Sonali
Modified: 2018-12-23 14:42 UTC (History)
2 users (show)



Attachments
Correct Driver class is 'org.firebirdsql.jdbc.FBDriver' (87.75 KB, image/png)
2018-12-23 13:29 UTC, Sonali
Details
Failed Response (118.50 KB, image/png)
2018-12-23 13:30 UTC, Sonali
Details
Incorrect driver class in JDBC driver class list (144.23 KB, image/png)
2018-12-23 13:30 UTC, Sonali
Details
Passed request with correct DRiver class i.e org.firebirdsql.jdbc.FBDriver (114.74 KB, image/png)
2018-12-23 13:31 UTC, Sonali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sonali 2018-12-23 13:29:21 UTC
Created attachment 36345 [details]
Correct Driver class is 'org.firebirdsql.jdbc.FBDriver'

Precondition:
Download and place jaybird jar in apache-jmeter-5.0⁩/lib⁩
Steps:
1. Add JDBC Connection Configuration for firebird DB.
2. Add JDBC driver class 'org.firebirdsql.jdbc.FBDrivery'
3. Specify DatabaseURL , username and password
4. Add JDBC request sampler .
5. Add View result tree listner
6. Run Load test for 4 thread groups

Actual: JDBC requests are failing

Error: Response Message: java.sql.SQLException:Cannot load JDBC driver class 'org.firebirdsql.jdbc.FBDrivery'


Solution:Replace org.firebirdsql.jdbc.FBDrivery' with org.firebirdsql.jdbc.FBDriver' (remove Y from FBDrivery), JDBC requests will pass.
Comment 1 Sonali 2018-12-23 13:30:11 UTC
Created attachment 36346 [details]
Failed Response
Comment 2 Sonali 2018-12-23 13:30:45 UTC
Created attachment 36347 [details]
Incorrect driver class in JDBC driver class list
Comment 3 Sonali 2018-12-23 13:31:24 UTC
Created attachment 36348 [details]
Passed request with correct DRiver class i.e org.firebirdsql.jdbc.FBDriver
Comment 4 Philippe Mouawad 2018-12-23 13:35:39 UTC
pmouawad@apache.org
	
2:34 PM (0 minutes ago)
	
to commits
Author: pmouawad
Date: Sun Dec 23 13:34:27 2018
New Revision: 1849621

URL: http://svn.apache.org/viewvc?rev=1849621&view=rev
Log:
Bug 63031 - Incorrect JDBC driver class : 'org.firebirdsql.jdbc.FBDrivery'

Based on contribution by Sonali
Bugzilla Id: 63031

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml
    jmeter/trunk/xdocs/usermanual/properties_reference.xml
Comment 5 The ASF infrastructure team 2022-09-24 20:38:15 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4958