简体   繁体   中英

Connect Jmeter(windows) with VM (Linux)

I have Jmeter in local windows & application is running in VM Linux.

Note: JMeter is not available in VM machine.

I need to establish connection to VM machine & thereby publish the data in MQTT broker in VM machine.

for VM connection, I have done below changes:

  1. jmeter.properties: I have included:

    remote_hosts=XX.XX.XXX.XX:XX

  2. user.properties, i have included:

    server.rmi.ssl.disable=true

And when i perform remote run, i could see the error:

"non-jrmp server at remote endpoint"

Am not sure, do I miss any points.

You don't understand the concept of Distributed testing , defining remote_hosts property is needed when you need to connect JMeter to another JMeter so 2 (or more) JMeter instances would act as a single load generator, people normally do it when single JMeter cannot generate the required load because machine is not powerful enough.

If you have JMeter installed on your Windows machine and MQTT broker is running on Linux machine just install MQTT Protocol Support plugin using JMeter Plugins Manager :

在此处输入图像描述

once done you will have MQTT Connect sampler where you will be able to configure your Linux machine IP address and port in order to establish connection with it:

在此处输入图像描述

More information: Testing the MQTT Messaging Broker for IoT - A Guide

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM