jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank_Lind...@idg.de
Subject Re: Re: Need some assistance in creating an IBM-DB2 test
Date Thu, 06 Jul 2006 14:47:38 GMT




I'm using the same class as our development.
It works for our WS environment.

ConnURL:    jdbc:db2://<server>:<port>/<database>
Driver Class:     com.ibm.db2.jcc.DB2Driver

Frank

"Peter Lin" <woolfel@gmail.com> schrieb am 06/07/2006 16:22:28:

> make sure you're using the right class for the jdbc.
>
> try looking at the official Db2 jdbc docs for the correct class to use.
>
> peter
>
> On 7/6/06, Frank_Lindner@idg.de <Frank_Lindner@idg.de> wrote:
> >
> >
> >
> >
> >
> > Ok, I got a little further.
> >
> > Now I get the following error message:
> >
> > 2006/07/06 11:55:24 ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler:
> > Error
> > in JDBC sampling com.ibm.db2.jcc.a.SqlException: unsupported encoding
> > Cp273
> > for result set column
> >       at com.ibm.db2.jcc.a.j.a(j.java:426)
> >       at com.ibm.db2.jcc.b.kc.a(kc.java:2366)
> >       at com.ibm.db2.jcc.b.jb.a(jb.java:3244)
> >       at com.ibm.db2.jcc.b.jb.a(jb.java:1774)
> >       at com.ibm.db2.jcc.b.jb.a(jb.java:1701)
> >       at com.ibm.db2.jcc.b.jb.n(jb.java:620)
> >       at com.ibm.db2.jcc.b.jb.j(jb.java:257)
> >       at com.ibm.db2.jcc.b.jb.c(jb.java:57)
> >       at com.ibm.db2.jcc.b.w.c(w.java:42)
> >       at com.ibm.db2.jcc.b.cc.h(cc.java:177)
> >       at com.ibm.db2.jcc.a.pf.p(pf.java:1252)
> >       at com.ibm.db2.jcc.a.pf.a(pf.java:1930)
> >       at com.ibm.db2.jcc.a.pf.a(pf.java:519)
> >       at com.ibm.db2.jcc.a.pf.executeQuery(pf.java:503)
> >       at
> > org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(
> > JDBCSampler.java:98)
> >       at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
> >       at java.lang.Thread.run(Unknown Source)
> >
> > Has anybody a solution?
> > A develloper told me normaly this could not happen. Because JAVA
supports
> > all Codepages.
> > I'm using DB2 Type 4 Driver.
> >
> > Best regards
> >       Frank
> >
> >
> > Frank_Lindner@idg.de schrieb am 04/07/2006 11:03:53:
> >
> > >
> > >
> > >
> > >
> > > Greetings,
> > >
> > > I hope somebody can help me.
> > > I need to create a JMeter test for an IBM-DB2 Database connection.
> > >
> > > Has anybody some experience how to start?
> > > The manual only lists MySQL, PostgreSQL, Oracle and Ingres (2006)
> > > connection strings.
> > >
> > > I just need the correct setup for the connection configuration.
> > >
> > > Thank you.
> > >
> > > Best regards
> > > Frank
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message