https://issues.apache.org/bugzilla/show_bug.cgi?id=50569
Summary: Feature Request: Jdbc Request Sampler to optionally
store result set object data
Product: JMeter
Version: 2.4
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=26475)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26475)
Patch for storing result set objects in internal variable
Hi
I'm new to JMeter and needed a feature for the Jdbc Request Sampler to add the
result set objects to an internal JMeter variable because the string
representation of some values were problematic for me. I have written code that
is sufficient for my purposes, but wondered whether anyone else would find it
useful, though I am sure JMeter developers will have a wider perspective on the
implications of the changes.
Basically I create a list of HashMaps where the list represents each row and
the HashMap uses the column names to lookup the column value as retrieved from
the getObject method on the resultset. I added a UI textbox called
resultVariable in which the list is stored.
I have only added properties to the main JdbcSampleResources.properties file.
Complements on a great tool and framework to work on...
--
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]