Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 主卡在“上”;正在等待端口4445上可能出现的关机/StopTestNow/HeapDump/ThreadDump消息”;_Windows_Jmeter_Performance Testing_Load Testing_Distributed Testing - Fatal编程技术网

Windows 主卡在“上”;正在等待端口4445上可能出现的关机/StopTestNow/HeapDump/ThreadDump消息”;

Windows 主卡在“上”;正在等待端口4445上可能出现的关机/StopTestNow/HeapDump/ThreadDump消息”;,windows,jmeter,performance-testing,load-testing,distributed-testing,Windows,Jmeter,Performance Testing,Load Testing,Distributed Testing,我正在执行分布式测试,并遵循以下步骤 主设备和从设备上的Jmeter版本相同 主服务器和从服务器上的Java版本相同 两个系统都在同一个子网中,我可以从我的主系统ping到从系统 rmi密钥在主服务器上创建,并复制到bin文件夹中的从属服务器 在远程主机中添加了从属IP地址 当我在从主机到从机的非GUI模式下运行简单测试(使用jmx)时,我可以看到 Starting the test on host 10.1.11.85(fake ip here just for example) Finis

我正在执行分布式测试,并遵循以下步骤

  • 主设备和从设备上的Jmeter版本相同

  • 主服务器和从服务器上的Java版本相同

  • 两个系统都在同一个子网中,我可以从我的主系统ping到从系统

  • rmi密钥在主服务器上创建,并复制到bin文件夹中的从属服务器

  • 在远程主机中添加了从属IP地址

  • 当我在从主机到从机的非GUI模式下运行简单测试(使用jmx)时,我可以看到

    Starting the test on host 10.1.11.85(fake ip here just for example)
    
    Finished the test on host 10.1.11.85(fake ip here just for example)
    
    F:\Performance Testing\apache-jmeter-5.1.1\apache-jmeter-5.1.1\bin>jmeter.bat -n -R 10.1.56.65 -t 
    
    "F:\Performance Testing\Linkedin.jmx" -f -l "F:\Performance Testing\LoadTestData.csv" -e -o 
    
    "F:\Performance Testing\LoadTestData"
    
    Picked up _JAVA_OPTIONS: -Xms512m -Xmx4096m
    
    Creating summariser <summary>
    
    Creating summariser <summary>
    
    Created the tree successfully using F:\Performance Testing\Linkedin.jmx
    
    Configuring remote engine: 10.1.56.65(Fake ip here for example)
    
    Starting remote engines
    
    Starting the test @ Mon Sep 30 14:23:40 CEST 2019
    
    Remote engines have been started
    
    Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
    
    在我的主机器上我可以看到

    Starting the test on host 10.1.11.85(fake ip here just for example)
    
    Finished the test on host 10.1.11.85(fake ip here just for example)
    
    F:\Performance Testing\apache-jmeter-5.1.1\apache-jmeter-5.1.1\bin>jmeter.bat -n -R 10.1.56.65 -t 
    
    "F:\Performance Testing\Linkedin.jmx" -f -l "F:\Performance Testing\LoadTestData.csv" -e -o 
    
    "F:\Performance Testing\LoadTestData"
    
    Picked up _JAVA_OPTIONS: -Xms512m -Xmx4096m
    
    Creating summariser <summary>
    
    Creating summariser <summary>
    
    Created the tree successfully using F:\Performance Testing\Linkedin.jmx
    
    Configuring remote engine: 10.1.56.65(Fake ip here for example)
    
    Starting remote engines
    
    Starting the test @ Mon Sep 30 14:23:40 CEST 2019
    
    Remote engines have been started
    
    Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
    
    F:\Performance Testing\apache-jmeter-5.1.1\apache-jmeter-5.1.1\bin>jmeter.bat-n-R 10.1.56.65-t
    “F:\Performance Testing\Linkedin.jmx”-F-l“F:\Performance Testing\LoadTestData.csv”-e-o
    “F:\Performance Testing\LoadTestData”
    拾取的JAVA选项:-Xms512m-Xmx4096m
    创建摘要器
    创建摘要器
    使用F:\Performance Testing\Linkedin.jmx成功创建了树
    配置远程引擎:10.1.56.65(例如,此处为假ip)
    启动远程发动机
    2019年9月30日星期一14:23:40开始测试
    远程引擎已经启动
    正在等待端口4445上可能出现的关机/StopTestNow/HeapDump/ThreadDump消息
    
    我的脚本停在这里,虽然我等了2小时,但还是一样

    脚本没有整理,也没有得到结果

    当我进行bit调查并在从机上打开
    jmeter server.log
    文件时,我看到:

    java.rmi.ConnectException:拒绝连接主机:10.1.56.65; 嵌套异常是: java.net.ConnectException:连接超时:连接 在sun.rmi.transport.tcp.TCPEndpoint.newSocket(未知源)~[?:1.8.0_211] 在sun.rmi.transport.tcp.tcpcchannel.createConnection(未知源)~[?:1.8.0_211] 在sun.rmi.transport.tcp.tcpcchannel.newConnection(未知源)~[?:1.8.0_211] 在sun.rmi.server.UnicastRef.invoke(未知源)~[?:1.8.0_211] 位于java.rmi.server.RemoteObjectInvocationHandler.InvokerRemoteMethod(未知 来源)~[?:1.8.0_211] 在java.rmi.server.RemoteObjectInvocationHandler.invoke(未知源)~[?:1.8.0_211] 在com.sun.proxy.$Proxy21.testStarted(未知源)~[?:?] 位于org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(RemoteListenerWrapper.java:79) [ApacheJMeter_core.jar:5.1.1 r1855137] 位于org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:208) [ApacheJMeter_core.jar:5.1.1 r1855137] 位于org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:381) [ApacheJMeter_core.jar:5.1.1 r1855137] 在java.lang.Thread.run(未知源)[?:1.8.0_211]处,由以下原因引起:java.net.ConnectException:连接超时:连接 在java.net.DualStackPlainSocketImpl.connect0(本机方法)~[?:1.8.0_211] 在java.net.DualStackPlainSocketImpl.socketConnect(未知源)~[?:1.8.0_211] 在java.net.AbstractPlainSocketImpl.doConnect(未知源代码)~[?:1.8.0_211] 在java.net.AbstractPlainSocketImpl.connectToAddress(未知源)~[?:1.8.0_211] 在java.net.AbstractPlainSocketImpl.connect(未知源代码)~[?:1.8.0_211] 在java.net.PlainSocketImpl.connect(未知源代码)~[?:1.8.0_211] 在java.net.socksocketimpl.connect(未知源代码)~[?:1.8.0_211] 在java.net.Socket.connect(未知源代码)~[?:1.8.0_211] 在sun.security.ssl.SSLSocketImpl.connect(未知源)~[?:1.8.0_211] 在sun.security.ssl.SSLSocketImpl.(未知源)~[?:1.8.0_211] 在sun.security.ssl.SSLSocketFactoryImpl.createSocket(未知源)~[?:1.8.0_211] 位于org.apache.jmeter.rmi.SSLRMIClientSocketFactory.createSocket(SSLRMIClientSocketFactory.java:118) ~[ApacheJMeter_core.jar:5.1.1 r1855137] ... 还有11个

    我想这样奴隶无法将结果发送回主人,并且获得连接拒绝,我如何解决这个问题?
    期待您的来信。(已编辑)

    您可以ping从机并不一定意味着JMeter可以通过它进行通信,因为您的操作系统防火墙可以允许通信,但会阻止JMeter正在使用的端口

    默认情况下,JMeter使用双重检查来允许传入连接。如果不是-使用免费且允许的端口,或者创建防火墙规则以解除阻止通信