jmeter pressure measurement error problem Summary:

A single scene pressure measurement: 1500 concurrent users continued three minutes, jmeter script error:
the Response code: Non HTTP the Response code: java.net.BindException
the Response the Message: the Response Non HTTP the Message: Address already in use: Connect
Analysis:
Windows port is exhausted (default 1024-5000), and the operating system for 2-4 minutes to re-release these windows, so windows can increase the available ports to resolve. The maximum number of windows port 65534

Solution one:
modify the operating system registry
1, cmd enter: regedit
2, find HKEY_LOCAL_MACHINE \ the SYSTEM \ CurrentControlSet \ Services \ TCPIP \ the Parameters
3, create a new DWORD value, name: MaxUserPort, value: 65534 ( decimal)
4, reboot the system

Solution two:
HTTP request: change the short link (used to remove the hook keepAlive)
jmeter pressure measurement error problem Summary:

After two solutions are set, the error can greatly reduce the percentage of requests

Two, socket closed
cause of the problem: In JMeter, send http request, usually selected by default use keepAlive, this is a connectionless protocol, checked by default, this (if not checked, it will not be saved), but its time set the default configuration JMeter.properties is canceled, it is to say, do not wait, once the connection is idle, then flew off, and lead us to measure the pressure in the case of failed transaction occurred.
Solution: Modify httpclient4.idletimeout = <time in ms> is set to feel a reasonable time, and can be set to 10-60s (indicate the connection is idle 10s will not open), note here the unit is ms. After editing the measured pressure again, with no error.

Guess you like

Origin blog.51cto.com/11959825/2448892