https://issues.apache.org/bugzilla/show_bug.cgi?id=44519
Summary: JDBC configuration elements do not expand properties
Product: JMeter
Version: 2.3.1
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=21609)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=21609)
Testcase for 2.0.1 with working property expansion
This bug is a spin-off of #40934
Since JDBC has been split in configuration and sampler, no properties can be
used in JDBC configuration dialog, i.e. using
"jdbc:oracle:thin:@${dbHost}:1521:${db}" as DB-URL doesn't replace dbHost and
db with their values from user parameters element. This was not the case with
2.0.1's JDBC sampler.
Attached are two files. First one is the working version from 2.0.1, which
includes two JDBC sampler which use either expanded configuration from user
properties or verbatim data. Both work as expected producing equal results.
Second file is a test case for JMeter 2.3.1, using two JDBC configuration
elements and corresponding samplers, again one with properties expansion and
one with verbatim parameters. In this case, first sampler tries to connect to
(verbatim) host "${dbHost}, which fails, second sampler works as expected.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]