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 you specified two connections with the same URL but different user/password, it would still use only one pool, and only one username/password. This problem should be fixed in the latest code in CVS, but has not been fixed in the 1.9 branch. I don't think the first 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.

Jeremy








--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to