Comments (9)
@Hiteshkikani
You can get the new plugin binary from https://github.com/emqtt/mqtt-jmeter/releases/tag/v1.0.1
Please refer to README instructions @ https://github.com/emqtt/mqtt-jmeter/tree/separate_conn when you try it out.
Please let us know if this helps.
from mqtt-jmeter.
Pub sampler could be parameterized, but sub sampler cannot be parameterized - one sub sampler can only sub to one topic. If you'd like to have one user sub to different topics, now you will have to create several sub samplers.
from mqtt-jmeter.
Thanks for reply.
I have already parameterized pub topic but the problem is topic not getting updated on each iteration. It loads value from csv only once and uses the same value throughout the test execution. I want pub topic to get updated on each iteration
from mqtt-jmeter.
I created a temp fix, please try following attachment. If it works for you, we'll include in the future release.
mqtt-xmeter-jar-with-dependencies.jar.zip
from mqtt-jmeter.
It is working now.
Thanks.
from mqtt-jmeter.
Hi,
The problem is same as mentioned in the conversation above but this time it is with clientid. MQTT pub and sub sampler reads cliendId from a csv file only during 1st cycle (iteration) and then keeps same value for all following iterations during thread execution.
My requirement is, the value of ${clientid} (in above picture) should be updated on all successive iterations. i.e. sampler should read new value from a file for every iteration.
Can you fix this problem?
P.S: I am re-opening same issue (#22) as the problem is quite similar to the issue #22 :)
from mqtt-jmeter.
otherwise it would be good idea and easier if you can add clear connection feature in the plugin
from mqtt-jmeter.
@Hiteshkikani ClientId (as part of MQTT context) is determined during the connection phase, thus across the iterations within a JMeter thread, ClientId will not change.
We have a new implementation(in "separate_conn" branch ) to create MQTT connection before publish/subscribe sampler, so it's promising you can clear the connection at the end of your iteration, and create a new one with another ClientId for the next loop.
I will keep you posted after some verification test.
from mqtt-jmeter.
@rende2005 thank you so much. This served my purpose. Appreciate your support
from mqtt-jmeter.
Related Issues (20)
- Support for AWS IOT CORE HOT 2
- support to publish with file instead of message HOT 1
- How to configure the plugin so JMeter can keep a long connection with emqx broker HOT 1
- Session expired right after the connection established HOT 1
- exception in mqtt sub sampler
- server.exitaftertest=true not working
- When server had some error, after client reconnect success, cann't receive any message HOT 1
- mqtt ssl :Response message:Failed to establish Connection null. HOT 2
- Auto reconnect does not work with authentication or if the reconnect max attempts is set to -1 HOT 1
- An error will be reported if the content sent by the payload contains Chinese
- The MQTT Connect Sampler Protocols is missing the 'Trust Key Store(*.jks)' input field HOT 2
- MQTT v5.0 support for jmeter plugin HOT 1
- Cannot establish different mqtt connections in loops HOT 2
- emqx 服务器重启后, mqtt 客户端重连时使用了不同的用户名和密码,导致连接不正常 HOT 1
- How to modify the encoding of payloads content HOT 1
- 如何关闭ssl校验,或者忽略ssl证书错误 HOT 3
- Question: Does it possible to set ContentType for Payload? HOT 1
- JSON payload Support
- The specified number of reconnection attempts in "MQTT Connect Sampler" does not work
- 测试emqx的mqtt消息转发, 接收消息的一直下降 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqtt-jmeter.