Increase pool size of TCP connections for performance testing

Kovacs Akos 1 Reputation point
2020-09-25T09:59:49.797+00:00

I use JMeter 5.3 for performance testing of web applications on Windows Server 2012 R2. When script was executed I got following error:

Response code:Non HTTP response code: java.net.SocketException
Response message:Non HTTP response message: Connection reset

I updated pool sizes with following commands, but this network issue still persists:

Get-Item 'HKLM:\System\CurrentControlSet\Services\Tcpip\Parameters' | New-ItemProperty -Name MaxUserPort -Value 65534 -Force | Out-Null
Get-Item 'HKLM:\System\CurrentControlSet\Services\Tcpip\Parameters' | New-ItemProperty -Name TcpTimedWaitDelay -Value 30 -Force | Out-Null
Get-Item 'HKLM:\System\CurrentControlSet\Services\Tcpip\Parameters' | New-ItemProperty -Name TcpNumConnections -Value 16777214 -Force | Out-Null
Get-Item 'HKLM:\System\CurrentControlSet\Services\Tcpip\Parameters' | New-ItemProperty -Name TcpMaxDataRetransmissions -Value 5 -Force | Out-Null

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,526 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Molly Lu 671 Reputation points Microsoft Vendor
    2020-09-28T09:23:36.873+00:00

    Hi,

    Your issue is related to a development problem, it is recommended that you post to the development forum, where there will be more professional resources to help you with your issue:
    https://social.msdn.microsoft.com/Forums/en-US/home

    Best regards,
    Molly

    --------------------------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.