第一步:
1. 打开注册表regedit
2. 在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3. 右键Parameters,添加新的DWORD(win32),名字为MaxUserPort和TcpTimedWaitDelay
4. 分别输入数值数据为65534和30,基数选择十进制;以增大可分配的tcp连接端口数、减小处于TIME_WAIT状态的连接的生存时间
5. 重启电脑
第二步:
1.切换到bin目录下,找到jmeter.bat文件,双击运行