pnopjp / jmeter-plugins

Apache JMeter plugins for Microsoft Azure
Apache License 2.0
17 stars 13 forks source link

Publish Messages from file #10

Closed maheshmahadevaiah closed 1 year ago

maheshmahadevaiah commented 2 years ago

Dear Team, I have download Service Bus extension and integrated with JMeter. I would like to know, how can we publish messages by reading file. Message contains body and user properties. Our use case demands publishing 10000 messages for one hour. Or publish 1/2/4/5 message per second. Kindly support me.

kuniteru commented 2 years ago

Hi maheshmahadevaiah,

Do you want to know how to use the Service Bus extension? Here is a tutorial for it, could you please read this first? https://blog.pnop.co.jp/jmeter-azure-service-bus_en/

maheshmahadevaiah commented 2 years ago

Hi Kuniteru, I was able to publish messages to ServiceBus from above article. My use-case is to publish message by reading a file and control the flow by sending 1/2/4/5 messages per second. Just guide me how to make use of your extension to implement above use-case.

kuniteru commented 2 years ago

How about reading messages from a file using the CSV Data Set Configuration Element, _CSVRead function, _StringFromFile function, etc.? It can be used in the same way as it is used for HTTP requests.

gbroner2000 commented 1 year ago

I'm not a part of this request, but it seem like a simple JMeter usage issue rather than a valid request. Might be wise to close.

kuniteru commented 1 year ago

Thanks, @gbroner2000 As you said, I think this is a simple JMeter usage issue, so I close this.