Re: [Grinder-use] Possible FAQ: MySQL connectivity
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
From: Philip A. <ph...@ma...> - 2008-03-22 09:00:13
|
Randy Wigginton wrote: > I have taken a look at the jdbc example for the Grinder. However, > since Jython 2.1 (for beta 33) is embedded, I would expect to be able > to use the zxJDBC package. Is that not present? > > Are there any examples of connecting to MySQL? If it follows the > example pattern, it won't be all that different, I was just hoping to > use the zxJDBC package as it is easier. > > You can use zxJDBC, but you'll have to first install a full version of Jython (The Grinder only includes the core Jython engine - i.e. jython.jar), and set grinder.jvm.arguments=-Dpython.home=/where/I/installed/Jython in your grinder.properties. OTOH, I would expect MySQL to work just fine using the standard pure JDBC example. - Phil |