On Sat, Sep 06, 2003 at 02:51:02PM +0200, Jeremy Arnold wrote: > Ryszard Lach wrote: > > >What happens if one request has this number set to 10 and another one > >(with the same DB Url, user and password) to 50 ? > > > > > This is what I think will happen based on looking at the code. I > haven't verified it, so if you see some other behavior in practice let > me know. > > With the current code, I think it will just use one of the two pools for > both connections...probably the pool that is accessed first, although > I'm not sure about that. That's obviously not the correct > behavior...the JDBC Sampler has a few bugs.
If connection numbers would be equal, then there would be created one or two pools? If two, then I don't understand what would be the pools for... Is the pool active during the whole test, or is reactivated by each loop start? Do all the threads use the same pool? > problem is fixed though...I'll have to think about that one. In many > cases you would want to share a connection pool across multiple > samplers, so there would probably need to be a way to choose whether or > not the pool should be shared. If you have suggestions, let me know. Someone on this list suggested to create a pool as container, which would have jdbc samplers as children, but I think it would be better, when sampler would automatically use a pool configured in connection defaults, eventualy with possibility to uncheck using the pool at all by a checkbox in sampler config. I don't think, that one could need more that one pool in one fragment of configuration tree. Richard. -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

