|
Hello everyone,
I tryied to download JMeter dated 08/30 from CVS
but it wount compile. So I have downloaded JMeter dated 08/25 and lakily it
compiled. But I have some minor problems with JDBC testing. So maybe you will be
interesting in it.
1) file:
org.apache.jmeter.protocol.jdbc.config.DbConfig
if you look into getConnectionString function you
will see something like that:
public String
getConnectionString()
{ return "jdbc:"+getSubProtocol()+"://"+getUrl(); } so it assumes that all drivers have jdbc protocol
jdbc:blablabla://url which is not true, I use oracle thin driver and syntax is
jdbc:oracle:thin:@url:port:sid. So it is impossible 4 me to enter falid
connection string from GUI. Maybe "jdbc:subprotocol://url" is a JDBC
standard (I'm not to familiar with JDBC) but it does not work with oracle thin
drivers :( So what I did is
public String
getConnectionString()
{ //return "jdbc:"+getSubProtocol()+"://"+getUrl(); return getUrl(); } which allows me enter valid connection string
manually. I'm sure it is not the solution though.
2) file: org.apache.jmeter.protocol.jdbc.util.Data
function getHeaders will throw NullPointerException if no Headers can be found
in ResultSet durring update/insert statement there are no ResultSet -- no
headers.
public String[] getHeaders()
{ String[] r=new String[header.size()]; if ( r.length>0 ) { r=(String[])header.toArray(r); } return r; } //end of Method as a temporary solution I did following
String[] r=new
String[header==null?header.size():0];
which is not (again) solution.
But in general great work guys! There are
major improvements since last couple month.
P.S. if this was fixed/not in scoupe/not
applicable sorry for spam.
- justin
|
- Re: some defects Justin
- Re: some defects Mike Stover
