根据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.
在运行测试计划时,查看结果树几乎总是显示 clear JMS 采样器已从 outqueue 中清除了 0 条消息。
知道为什么会这样。
我的目标是确保定期排空队列。请告知是否有更好的方法来做到这一点。