JMeter远程服务器冻结-缺少库和连接异常

zd287kbt  于 2023-11-19  发布在  其他
关注(0)|答案(1)|浏览(122)

我使用OpenJDK 11和JMeter版本5.6.2设置了一个EC2 nano示例。通过在jmeter-server文件中设置属性 RMI_HOST_DEF,设法配置服务器以接受来自主Jmeter的正确命令,如下所示:

  1. RMI_HOST_DEF=-Djava.rmi.server.hostname=ec2-34-XXX-XXX-XXX.compute-1.amazonaws.com

字符串
请注意,使用IP地址无法启动服务器。在确保两个JMeters都运行相同的版本5.6.2并在两个应用程序之间共享 JKS 文件后,我尝试使用基本计划启动远程服务器。
在冻结了几分钟后,服务器最终抛出了一个令人困惑的错误:

  1. 2023-10-27 13:53:14,007 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
  2. 2023-10-27 13:53:14,639 ERROR o.a.j.e.u.CompoundVariable: Exception registering implementation: [org.apache.jmeter.functions.TimeFunction] of interface: [interface org.apache.jmeter.functions.Function], a jar is probably missing
  3. java.util.ServiceConfigurationError: org.apache.jmeter.functions.Function: Provider org.apache.jmeter.functions.TimeFunction could not be instantiated


奇怪的是,它需要很长一段时间才能抛出错误,在一些事件触发器之后。这让我回顾了第二个错误:

  1. 2023-10-27 13:57:35,694 ERROR o.a.j.s.RemoteListenerWrapper: testStarted(host) on ec2-34-201-171-247.compute-1.amazonaws.com
  2. java.rmi.ConnectException: Connection refused to host: 172.29.128.1; nested exception is:


但是我已经将 rmi.server.hostname 配置到了本地Jmeter(由于AWS NAT返回私有IP地址,因此连接失败)。我是否配置错误?是否需要重新配置?我注意到日志显示了本地IP地址并警告此错误,但它似乎与我定义的主机名发生冲突。
以下是jmeter-server.log的完整日志

  1. 2023-10-27 13:44:10,473 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN
  2. 2023-10-27 13:44:10,529 INFO o.a.j.JMeter: Loading user properties from: user.properties
  3. 2023-10-27 13:44:10,530 INFO o.a.j.JMeter: Loading system properties from: system.properties
  4. 2023-10-27 13:44:10,531 INFO o.a.j.JMeter: Setting System property: java.rmi.server.hostname=ec2-34-201-171-247.compute-1.amazonaws.com
  5. 2023-10-27 13:44:10,531 INFO o.a.j.JMeter: Setting System property: server_port=1099
  6. 2023-10-27 13:44:10,544 INFO o.a.j.JMeter: Copyright (c) 1998-2023 The Apache Software Foundation
  7. 2023-10-27 13:44:10,544 INFO o.a.j.JMeter: Version 5.6.2
  8. 2023-10-27 13:44:10,549 INFO o.a.j.JMeter: java.version=11.0.20.1
  9. 2023-10-27 13:44:10,550 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
  10. 2023-10-27 13:44:10,550 INFO o.a.j.JMeter: os.name=Linux
  11. 2023-10-27 13:44:10,550 INFO o.a.j.JMeter: os.arch=amd64
  12. 2023-10-27 13:44:10,550 INFO o.a.j.JMeter: os.version=6.2.0-1012-aws
  13. 2023-10-27 13:44:10,550 INFO o.a.j.JMeter: file.encoding=UTF-8
  14. 2023-10-27 13:44:10,550 INFO o.a.j.JMeter: java.awt.headless=true
  15. 2023-10-27 13:44:10,551 INFO o.a.j.JMeter: Max memory =536870912
  16. 2023-10-27 13:44:10,551 INFO o.a.j.JMeter: Available Processors =1
  17. 2023-10-27 13:44:10,569 INFO o.a.j.JMeter: Default Locale=English (EN)
  18. 2023-10-27 13:44:10,570 INFO o.a.j.JMeter: JMeter Locale=English (EN)
  19. 2023-10-27 13:44:10,570 INFO o.a.j.JMeter: JMeterHome=/home/ubuntu/jmeter
  20. 2023-10-27 13:44:10,570 INFO o.a.j.JMeter: user.dir =/home/ubuntu/jmeter/bin
  21. 2023-10-27 13:44:10,571 INFO o.a.j.JMeter: PWD =/home/ubuntu/jmeter/bin
  22. 2023-10-27 13:44:10,574 INFO o.a.j.JMeter: IP: 172.31.46.203 Name: ip-172-31-46-203 FullName: ip-172-31-46-203.ec2.internal
  23. 2023-10-27 13:44:10,574 INFO o.a.j.JMeter: search_paths=/app1/lib;/app2/lib
  24. 2023-10-27 13:44:10,575 WARN o.a.j.JMeter: Can't read /app1/lib
  25. 2023-10-27 13:44:10,575 WARN o.a.j.JMeter: Can't read /app2/lib
  26. 2023-10-27 13:44:10,656 INFO o.a.j.r.RmiUtils: Resolving by name the value of System property 'java.rmi.server.hostname': ec2-34-201-171-247.compute-1.amazonaws.com
  27. 2023-10-27 13:44:10,659 INFO o.a.j.r.RmiUtils: Local IP address=172.31.46.203
  28. 2023-10-27 13:44:11,228 INFO o.a.j.r.SSLRMIServerSocketFactory: Created SSLSocket: [SSL: ServerSocket[addr=ec2-34-201-171-247.compute-1.amazonaws.com/172.31.46.203,localport=50000]]
  29. 2023-10-27 13:44:11,366 INFO o.a.j.e.RemoteJMeterEngineImpl: Starting backing engine on 1099
  30. 2023-10-27 13:44:11,369 INFO o.a.j.r.RmiUtils: Resolving by name the value of System property 'java.rmi.server.hostname': ec2-34-201-171-247.compute-1.amazonaws.com
  31. 2023-10-27 13:44:11,370 INFO o.a.j.r.RmiUtils: Local IP address=172.31.46.203
  32. 2023-10-27 13:44:11,370 INFO o.a.j.e.RemoteJMeterEngineImpl: IP address is a site-local address; this may cause problems with remote access.
  33. Can be overridden by defining the system property 'java.rmi.server.hostname' - see jmeter-server script file
  34. 2023-10-27 13:44:11,370 INFO o.a.j.e.RemoteJMeterEngineImpl: Creating RMI registry (server.rmi.create=true)
  35. 2023-10-27 13:44:11,370 INFO o.a.j.r.RmiUtils: Resolving by name the value of System property 'java.rmi.server.hostname': ec2-34-201-171-247.compute-1.amazonaws.com
  36. 2023-10-27 13:44:11,370 INFO o.a.j.r.RmiUtils: Local IP address=172.31.46.203
  37. 2023-10-27 13:44:11,622 INFO o.a.j.r.SSLRMIServerSocketFactory: Created SSLSocket: [SSL: ServerSocket[addr=ec2-34-201-171-247.compute-1.amazonaws.com/172.31.46.203,localport=1099]]
  38. 2023-10-27 13:44:11,627 INFO o.a.j.e.RemoteJMeterEngineImpl: Bound to RMI registry on port 1099
  39. 2023-10-27 13:44:28,006 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
  40. 2023-10-27 13:44:28,009 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
  41. 2023-10-27 13:44:28,009 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
  42. 2023-10-27 13:44:28,010 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
  43. 2023-10-27 13:44:28,010 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
  44. 2023-10-27 13:44:28,010 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
  45. 2023-10-27 13:44:28,935 INFO o.a.j.s.SampleEvent: List of sample_variables: []
  46. 2023-10-27 13:44:29,135 INFO o.a.j.s.BatchSampleSender: Using batching for this run. Thresholds: num=100, time=60000
  47. 2023-10-27 13:44:29,135 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run with stripAlsoOnError: true
  48. 2023-10-27 13:44:29,315 INFO o.a.j.s.BatchSampleSender: Using batching for this run. Thresholds: num=100, time=60000
  49. 2023-10-27 13:44:29,316 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run with stripAlsoOnError: true
  50. 2023-10-27 13:53:13,550 INFO o.a.j.e.RemoteJMeterEngineImpl: Creating JMeter engine on host ec2-34-201-171-247.compute-1.amazonaws.com base '.'
  51. 2023-10-27 13:53:13,550 INFO o.a.j.e.RemoteJMeterEngineImpl: Remote client host: 45.234.117.54
  52. 2023-10-27 13:53:13,569 INFO o.a.j.s.FileServer: Default base='/home/ubuntu/jmeter/bin'
  53. 2023-10-27 13:53:13,582 INFO o.a.j.s.FileServer: Set new base='.'
  54. 2023-10-27 13:53:13,781 INFO o.a.j.e.StandardJMeterEngine: Applying properties {}
  55. 2023-10-27 13:53:13,965 INFO o.a.j.e.RemoteJMeterEngineImpl: Running test
  56. 2023-10-27 13:53:13,998 INFO o.a.j.e.StandardJMeterEngine: Running the test!
  57. 2023-10-27 13:53:13,999 INFO o.a.j.s.SampleEvent: List of sample_variables: []
  58. 2023-10-27 13:53:14,007 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
  59. 2023-10-27 13:53:14,007 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
  60. 2023-10-27 13:53:14,639 ERROR o.a.j.e.u.CompoundVariable: Exception registering implementation: [org.apache.jmeter.functions.TimeFunction] of interface: [interface org.apache.jmeter.functions.Function], a jar is probably missing
  61. java.util.ServiceConfigurationError: org.apache.jmeter.functions.Function: Provider org.apache.jmeter.functions.TimeFunction could not be instantiated
  62. at java.util.ServiceLoader.fail(ServiceLoader.java:582) ~[?:?]
  63. at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:804) ~[?:?]
  64. at java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:722) ~[?:?]
  65. at java.util.ServiceLoader$3.next(ServiceLoader.java:1395) ~[?:?]
  66. at org.apache.jorphan.reflect.ClassFinder.loadServices(ClassFinder.java:118) [jorphan.jar:5.6.2]
  67. at org.apache.jmeter.util.JMeterUtils.loadServicesAndScanJars(JMeterUtils.java:345) [ApacheJMeter_core.jar:5.6.2]
  68. at org.apache.jmeter.engine.util.CompoundVariable.<clinit>(CompoundVariable.java:73) [ApacheJMeter_core.jar:5.6.2]
  69. at org.apache.jmeter.engine.util.ValueReplacer.<init>(ValueReplacer.java:43) [ApacheJMeter_core.jar:5.6.2]
  70. at org.apache.jmeter.engine.PreCompiler.<init>(PreCompiler.java:54) [ApacheJMeter_core.jar:5.6.2]
  71. at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:404) [ApacheJMeter_core.jar:5.6.2]
  72. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
  73. at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
  74. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
  75. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
  76. at java.lang.Thread.run(Thread.java:829) [?:?]
  77. Caused by: java.lang.ExceptionInInitializerError
  78. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
  79. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
  80. at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
  81. at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
  82. at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:780) ~[?:?]
  83. ... 13 more
  84. Caused by: java.lang.IllegalStateException: com.github.benmanes.caffeine.cache.SSMS
  85. at com.github.benmanes.caffeine.cache.LocalCacheFactory.newBoundedLocalCache(LocalCacheFactory.java:95) ~[caffeine-2.9.3.jar:?]
  86. at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache.<init>(BoundedLocalCache.java:3423) ~[caffeine-2.9.3.jar:?]
  87. at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalLoadingCache.<init>(BoundedLocalCache.java:3758) ~[caffeine-2.9.3.jar:?]
  88. at com.github.benmanes.caffeine.cache.Caffeine.build(Caffeine.java:1104) ~[caffeine-2.9.3.jar:?]
  89. at org.apache.jmeter.functions.TimeFunction.<clinit>(TimeFunction.java:69) ~[ApacheJMeter_functions.jar:5.6.2]
  90. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
  91. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
  92. at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
  93. at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
  94. at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:780) ~[?:?]
  95. ... 13 more
  96. Caused by: java.lang.reflect.InvocationTargetException
  97. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
  98. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
  99. at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
  100. at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
  101. at com.github.benmanes.caffeine.cache.LocalCacheFactory.newBoundedLocalCache(LocalCacheFactory.java:92) ~[caffeine-2.9.3.jar:?]
  102. at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache.<init>(BoundedLocalCache.java:3423) ~[caffeine-2.9.3.jar:?]
  103. at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalLoadingCache.<init>(BoundedLocalCache.java:3758) ~[caffeine-2.9.3.jar:?]
  104. at com.github.benmanes.caffeine.cache.Caffeine.build(Caffeine.java:1104) ~[caffeine-2.9.3.jar:?]
  105. at org.apache.jmeter.functions.TimeFunction.<clinit>(TimeFunction.java:69) ~[ApacheJMeter_functions.jar:5.6.2]
  106. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
  107. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
  108. at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
  109. at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
  110. at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:780) ~[?:?]
  111. ... 13 more
  112. Caused by: java.lang.StackOverflowError
  113. at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
  114. at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?]
  115. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
  116. at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
  117. at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
  118. at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
  119. at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
  120. at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
  121. at java.lang.ClassLoader.loadClass(ClassLoader.java:594) ~[?:?]
  122. at java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?]
  123. at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
  124. at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?]
  125. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
  126. at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
  127. at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
  128. at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
  129. at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
  130. at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
  131. at java.lang.ClassLoader.loadClass(ClassLoader.java:594) ~[?:?]
  132. at java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?]
  133. at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
  134. at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?]
  135. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
  136. at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
  137. at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
  138. at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
  139. at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
  140. at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
  141. at java.lang.ClassLoader.loadClass(ClassLoader.java:594) ~[?:?]
  142. at java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?]
  143. at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
  144. at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?]
  145. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
  146. at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
  147. at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
  148. at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
  149. at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
  150. at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
  151. at java.lang.ClassLoader.loadClass(ClassLoader.java:594) ~[?:?]
  152. at java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?]
  153. at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
  154. at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?]
  155. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
  156. at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
  157. at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
  158. at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
  159. at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
  160. at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
  161. at java.lang.ClassLoader.loadClass(ClassLoader.java:594) ~[?:?]
  162. at java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?]
  163. at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
  164. at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?]
  165. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
  166. at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
  167. at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
  168. at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
  169. at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
  170. at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
  171. at java.lang.ClassLoader.loadClass(ClassLoader.java:594) ~[?:?]
  172. at java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?]
  173. at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
  174. at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?]
  175. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
  176. at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
  177. at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
  178. at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
  179. at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
  180. at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
  181. at java.lang.ClassLoader.loadClass(ClassLoader.java:594) ~[?:?]
  182. at java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?]
  183. at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
  184. at java.lang.ClassLoader.defineClass(ClassLoader.java:1022) ~[?:?]
  185. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174) ~[?:?]
  186. at java.net.URLClassLoader.defineClass(URLClassLoader.java:555) ~[?:?]
  187. at java.net.URLClassLoader$1.run(URLClassLoader.java:458) ~[?:?]
  188. at java.net.URLClassLoader$1.run(URLClassLoader.java:452) ~[?:?]
  189. at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
  190. at java.net.URLClassLoader.findClass(URLClassLoader.java:451) ~[?:?]
  191. at java.lang.ClassLoader.loadClass(ClassLoader.java:594) ~[?:?]
  192. at java.lang.ClassLoader.loadClass(ClassLoader.java:527) ~[?:?]
  193. at com.github.benmanes.caffeine.cache.BoundedLocalCache.<init>(BoundedLocalCache.java:248) ~[caffeine-2.9.3.jar:?]
  194. at com.github.benmanes.caffeine.cache.SS.<init>(SS.java:31) ~[caffeine-2.9.3.jar:?]
  195. at com.github.benmanes.caffeine.cache.SSMS.<init>(SSMS.java:62) ~[caffeine-2.9.3.jar:?]
  196. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
  197. at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
  198. at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
  199. at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
  200. at com.github.benmanes.caffeine.cache.LocalCacheFactory.newBoundedLocalCache(LocalCacheFactory.java:92) ~[caffeine-2.9.3.jar:?]
  201. at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalManualCache.<init>(BoundedLocalCache.java:3423) ~[caffeine-2.9.3.jar:?]
  202. at com.github.benmanes.caffeine.cache.BoundedLocalCache$BoundedLocalLoadingCache.<init>(BoundedLocalCache.java:3758) ~[caffeine-2.9.3.jar:?]
  203. at com.github.benmanes.caffeine.cache.Caffeine.build(Caffeine.java:1104) ~[caffeine-2.9.3.jar:?]
  204. at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:217) ~[?:?]
  205. at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:162) ~[?:?]
  206. at com.sun.proxy.$Proxy19.testStarted(Unknown Source) ~[?:?]
  207. at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(RemoteListenerWrapper.java:78) [ApacheJMeter_core.jar:5.6.2]
  208. at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:248) [ApacheJMeter_core.jar:5.6.2]
  209. at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:424) [ApacheJMeter_core.jar:5.6.2]
  210. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
  211. at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
  212. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
  213. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
  214. at java.lang.Thread.run(Thread.java:829) [?:?]
  215. Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
  216. at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:?]
  217. at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) ~[?:?]
  218. at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) ~[?:?]
  219. at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) ~[?:?]
  220. at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]
  221. at java.net.Socket.connect(Socket.java:609) ~[?:?]
  222. at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:305) ~[?:?]
  223. at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:164) ~[?:?]
  224. at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88) ~[?:?]
  225. at org.apache.jmeter.rmi.SSLRMIClientSocketFactory.createSocket(SSLRMIClientSocketFactory.java:117) ~[ApacheJMeter_core.jar:5.6.2]
  226. at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617) ~[?:?]
  227. ... 14 more
  228. 2023-10-27 13:57:35,694 ERROR o.a.j.s.RemoteListenerWrapper: testStarted(host) on ec2-34-201-171-247.compute-1.amazonaws.com
  229. java.rmi.ConnectException: Connection refused to host: 172.29.128.1; nested exception is:
  230. java.net.ConnectException: Connection timed out (Connection timed out)
  231. at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:623) ~[?:?]
  232. at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:209) ~[?:?]
  233. at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196) ~[?:?]
  234. at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:132) ~[?:?]
  235. at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:217) ~[?:?]
  236. at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:162) ~[?:?]
  237. at com.sun.proxy.$Proxy19.testStarted(Unknown Source) ~[?:?]
  238. at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(RemoteListenerWrapper.java:78) [ApacheJMeter_core.jar:5.6.2]
  239. at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:248) [ApacheJMeter_core.jar:5.6.2]
  240. at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:424) [ApacheJMeter_core.jar:5.6.2]
  241. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
  242. at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
  243. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
  244. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
  245. at java.lang.Thread.run(Thread.java:829) [?:?]
  246. Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
  247. at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:?]
  248. at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) ~[?:?]
  249. at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) ~[?:?]
  250. at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) ~[?:?]
  251. at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]
  252. at java.net.Socket.connect(Socket.java:609) ~[?:?]
  253. at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:305) ~[?:?]
  254. at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:164) ~[?:?]
  255. at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88) ~[?:?]
  256. at org.apache.jmeter.rmi.SSLRMIClientSocketFactory.createSocket(SSLRMIClientSocketFactory.java:117) ~[ApacheJMeter_core.jar:5.6.2]
  257. at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617) ~[?:?]
  258. ... 14 more
  259. 2023-10-27 13:59:46,766 ERROR o.a.j.s.RemoteTestListenerWrapper: Exception on testStarted on host ec2-34-201-171-247.compute-1.amazonaws.com
  260. java.rmi.ConnectException: Connection refused to host: 172.29.128.1; nested exception is:
  261. java.net.ConnectException: Connection timed out (Connection timed out)
  262. at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:623) ~[?:?]
  263. at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:209) ~[?:?]
  264. at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196) ~[?:?]
  265. at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:132) ~[?:?]
  266. at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:217) ~[?:?]
  267. at at org.apache.jmeter.rmi.SSLRMIClientSocketFactory.createSocket(SSLRMIClientSocketFactory.java:117) ~[ApacheJMeter_core.jar:5.6.2]
  268. at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617) ~[?:?]
  269. ... 14 more
  270. 2023-10-27 13:59:46,827 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Clínicos - Apertura de Ficha Paciente
  271. 2023-10-27 13:59:46,833 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Clínicos - Apertura de Ficha Paciente.
  272. 2023-10-27 13:59:46,833 INFO o.a.j.e.StandardJMeterEngine: Test will stop on error
  273. 2023-10-27 13:59:46,834 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=0 delayedStart=false
  274. 2023-10-27 13:59:46,865 INFO o.a.j.t.ThreadGroup: Started thread group number 1
  275. 2023-10-27 13:59:46,866 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
  276. 2023-10-27 13:59:46,883 INFO o.a.j.t.JMeterThread: Thread started: ec2-34-201-171-247.compute-1.amazonaws.com-Clínicos - Apertura de Ficha Paciente 1-1

kr98yfug

kr98yfug1#

根据JMeter Classpath用户手册条目:
如果您不想将JMeter插件jar放在lib/ext目录中,则在jmeter.properties中定义属性search_paths。
您已将search_paths属性设置为/app1/lib;/app2/lib,但这些文件夹似乎不包含ApacheJMeter_functions.jar文件
所以这是你的JMeter安装的一个问题。要么取消perform full clean install of the latest stable JMeter version的属性,因为谁知道还有什么改变。

相关问题