首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Jmeter JMS点对点采样器中使用通信风格"clear“

在Jmeter JMS点对点采样器中使用通信风格"clear“
EN

Stack Overflow用户
提问于 2018-03-01 10:18:24
回答 1查看 280关注 0票数 0

根据http://jmeter.apache.org/usermanual/component_reference.html#JMS_Point-to-Point

通信风格clear用于清除给定队列中的消息。

代码语言:javascript
复制
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条消息。

你知道为什么会这样吗?

我的目标是确保出队队列定期排出。如果有更好的方法,请告诉我。

EN

回答 1

Stack Overflow用户

发布于 2018-03-01 12:53:11

JMS4.0支持JMeter中的clear选项

JMS点对点采样器已通过读取、浏览、清除选项进行了增强。

因此您可以选择通信方式clear

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49041637

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档