简体   繁体   English

JMeter 并发负载测试:RMI 类加载器已禁用

[英]JMeter Load Testing with Concurrency : RMI Class Loader Disabled

While running the distributed load testing using concurrency thread group from blazemeter, I getting the error : "Error in rconfigure() method java.rmi.ServerExeption...java.ClassNotFoundExeption:com.Blazemeter.jmeter.threads.concurrency.ConcurrencyThreadgroup(no Security manager: RMI Class Loader disabled)在使用 blazemeter 的并发线程组运行分布式负载测试时,我收到错误:“rconfigure() 方法中的错误 java.rmi.ServerExeption...java.ClassNotFoundExeption:com.Blazemeter.jmeter.threads.concurrency.ConcurrencyThreadgroup(no安全管理器:RMI 类加载器已禁用)

I have researched on the net and the only related issue I found is this one:我在网上研究过,我发现的唯一相关问题是这个:

JMeter load-testing : ClassNotFoundException: com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup JMeter 负载测试:ClassNotFoundException:com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup

Unlike this thread, I have the latest version 3.3 on my machines.与此线程不同,我的机器上安装了最新版本 3.3。 The jmeter logs are as follows: jmeter日志如下:

 2018-01-22 17:03:50,749 INFO oajeDistributedRunner: Configuring remote engine: 10.0.104.58 2018-01-22 17:03:50,764 INFO

oajeDistributedRunner: Starting remote engines 2018-01-22 17:03:50,764 INFO oajeDistributedRunner: Starting the test @ Mon Jan 22 17:03:50 EST 2018 (1516658630764) 2018-01-22 17:03:50,764 INFO oajeClientJMeterEngine: running clientengine run method 2018-01-22 17:03:50,780 INFO oajsStandardSampleSender: Using StandardSampleSender for this test run 2018-01-22 17:03:50,780 INFO oajsStandardSampleSender: Using StandardSampleSender for this test run 2018-01-22 17:03:50,827 ERROR oajeClientJMeterEngine: Error in rconfigure() method java.rmi.ServerException: RemoteException occurred in server thread; oajeDistributedRunner: 启动远程引擎 2018-01-22 17:03:50,764 INFO oajeDistributedRunner: 开始测试 @ Mon Jan 22 17:03:50 EST 2018 (1516658630764) 2018-07:0764 INFO oajeDistributedRunner: 开始测试运行方法 2018-01-22 17:03:50,780 INFO oajsStandardSampleSender:使用 StandardSampleSender 进行此测试运行 2018-01-22 17:03:50,780 INFO oajsStandardSampleSender:使用 StandardSampleSender,此测试 run-170120210210210220720722错误 oajeClientJMeterEngine:rconfigure() 方法中的错误 java.rmi.ServerException:服务器线程中发生 RemoteException; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments;嵌套异常是: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup (no security manager: RMI class loader disabled) 2018-01-22 17:09:10,937 INFO oajeDistributedRunner: Remote engines have been started嵌套异常是:java.lang.ClassNotFoundException: com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup (no security manager: RMI class loader disabled) 2018-01-22 17:09:10,937 INFO oajeDistributedRunner: 远程引擎已经启动

Pleas let me know how to overcome this issue.请让我知道如何克服这个问题。 Thanks谢谢

The error indicate you are using Concurrency Thread Group which wasn't found in one of your slaves.该错误表明您正在使用在您的从属设备中找不到的并发线程组 Your JMeter version should be equal to master which is the first rule of distributed load testing :您的 JMeter 版本应该等于 master,这是分布式负载测试的第一条规则:

Step 0: Configure the nodes步骤 0:配置节点

Make sure that all the nodes (client and servers) :确保所有节点(客户端和服务器):

> are running exactly the same version of JMeter. > 正在运行完全相同版本的 JMeter。

If you are using jmeter-taurus, adding these to the Jmeter Executor did the trick:如果您使用的是 jmeter-taurus,将这些添加到Jmeter Executor 即可解决问题

modules:
  jmeter:
    force-ctg: true   
    detect-plugins: true

Although the documentation said it is enabled by default, somehow that wasn't the case for one of my worker servers, this forced it to install the required Concurrency Thread Group(ctg) plugin.尽管文档说它默认启用,但不知何故,我的一个工作服务器并非如此,这迫使它安装所需的并发线程组(ctg)插件。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Java:没有安全管理器:RMI class 加载程序已禁用 - Java: no security manager: RMI class loader disabled 没有安全管理器:RMI class 加载程序已禁用 - no security manager: RMI class loader disabled java.lang.ClassNotFoundException :(无安全管理器:RMI类加载器已禁用) - java.lang.ClassNotFoundException: (no security manager: RMI class loader disabled) org.springframework.jdbc.cannotgetjdbcconnectionexception Rmi类加载器已禁用 - org.springframework.jdbc.cannotgetjdbcconnectionexception Rmi class loader disabled RMI中的java.lang.ClassNotFoundException,未禁用安全管理器RMI类加载器 - java.lang.ClassNotFoundException in RMI,no security manager RMI class loader disabled 我正在运行RMI应用程序,并且没有安全管理器:RMI类加载器已禁用异常 - I am running a RMI application and no security manager: RMI class loader disabled exception comes ClassNotFoundException远程JMX调用失败:...(没有安全管理器:RMI类加载器被禁用 - Remote JMX invocation failed with ClassNotFoundException: … (no security manager: RMI class loader disabled RMI 中自定义 class 加载程序的委托 - Delegation of custom class loader in RMI JMeter负载测试:ClassNotFoundException:com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup - JMeter load-testing : ClassNotFoundException: com.blazemeter.jmeter.threads.concurrency.ConcurrencyThreadGroup java.lang.ClassNotFoundException:org.jboss.ejb.plugins.local.LocalHomeProxy(无安全管理器:禁用RMI类加载器) - java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM