You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Tong Sun <su...@gmail.com> on 2021/08/17 19:15:57 UTC
Sharing the JDBC Connection between all the threads
On Tue, Aug 17, 2021 at 5:06 AM Felix Schumacher <
felix.schumacher@internetallee.de> wrote:
>
> Do you want to share the connections over all the threads? (This is not
> the default in JMeter. Every thread/user has its own connection unless
> configured otherwise)
>
Hi, Felix
Can you elaborate on how to share a single JDBC Connection between all the
threads pls?
All the threads can share a single CSV input but for them to share a single
JDBC Connection I'm yet to find how.
It'll help to send unique values in the requests from all the threads.
thanks
Re: Sharing the JDBC Connection between all the threads
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 17.08.21 um 21:15 schrieb Tong Sun:
> On Tue, Aug 17, 2021 at 5:06 AM Felix Schumacher <
> felix.schumacher@internetallee.de> wrote:
>
>> Do you want to share the connections over all the threads? (This is not
>> the default in JMeter. Every thread/user has its own connection unless
>> configured otherwise)
>>
> Hi, Felix
>
> Can you elaborate on how to share a single JDBC Connection between all the
> threads pls?
>
> All the threads can share a single CSV input but for them to share a single
> JDBC Connection I'm yet to find how.
>
> It'll help to send unique values in the requests from all the threads.
To configure this, use "1" as "Max Number of Connections".
Felix
>
> thanks
>