根据http://jmeter.apache.org/usermanual/component_reference.html#JMS_Point-to-Point
通信风格clear用于清除给定队列中的消息。
Scenario: In my test plan , i have 2 threadgroups.
1) JMS Point to Point sampler to send messages: My JMS sampler fires request_only messages to the inqueue.
2) JMS Point to Point sampler to clear the messages in the outqueue. Here the communication style is selected as "clear" and the outqueue has been specified in the "JNDI Request queue" field.在运行测试计划时,View results树几乎总是显示clear JMS采样器从出队中清除了0条消息。
你知道为什么会这样吗?
我的目标是确保出队队列定期排出。如果有更好的方法,请告诉我。
发布于 2018-03-01 12:53:11
JMS4.0支持JMeter中的clear选项
JMS点对点采样器已通过读取、浏览、清除选项进行了增强。
因此您可以选择通信方式clear

https://stackoverflow.com/questions/49041637
复制相似问题