Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Does it possible to set ContentType for Payload? #147

Open
arepusb opened this issue Nov 13, 2023 · 1 comment
Open

Question: Does it possible to set ContentType for Payload? #147

arepusb opened this issue Nov 13, 2023 · 1 comment

Comments

@arepusb
Copy link

arepusb commented Nov 13, 2023

I use this plugin for sending messages from JMeter to my console app via MQTT protocol (eclipse-mosquitto server v2.0.14).
Console app gets messages via MQTTnet.Extensions.ManagedClient v3.1.2. But unfortunately, MQTTnet.MqttApplicationMessage.ContentType = null always. I would like to have "application/json" there. Does it possible to set ContentType for Payload?

@chongyuanyin
Copy link
Member

chongyuanyin commented Jan 2, 2024

Does your console app use MQTT v5.0 protocol?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants