51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

12
返回列表 发新帖
楼主: huton_0306

[原创] 【大话性能】一文读懂jmeter的websocket使用,便于后续接口性能测试

[复制链接]
  • TA的每日心情
    开心
    2019-9-4 17:21
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    发表于 2019-8-29 15:24:54 | 显示全部楼层
    Jmeter测试websocket遇到了问题,察看结果树的请求和响应数据都显示为空,请教大神怎么解决呢?(WebSocket在线测试连接正常,取样器路径和参数填写也没问题)WebSocket Sampler取样器请求结果如下:

    1. Thread Name: 线程组 1-1
    2. Sample Start: 2019-08-29 15:11:04 CST
    3. Load time: 25061
    4. Connect Time: 0
    5. Latency: 0
    6. Size in bytes: 0
    7. Sent bytes:0
    8. Headers size in bytes: 0
    9. Body size in bytes: 0
    10. Sample Count: 1
    11. Error Count: 0
    12. Data type ("text"|"bin"|""):
    13. Response code: 200
    14. Response message:

    15. [Execution Flow]
    16. - Opening new connection
    17. - Using response message pattern ""
    18. - Using disconnect pattern ""
    19. - Waiting for the server connection for 5000 MILLISECONDS
    20. - Cannot connect to the remote server
    21. - Waiting for messages for 20000 MILLISECONDS
    22. - Leaving streaming connection open


    23. [Variables]
    24. - Message count: 0


    25. [Problems]


    26. Response headers:


    27. SampleResult fields:
    28. ContentType:
    29. DataEncoding: UTF-8
    复制代码


    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-4-19 09:23 , Processed in 0.074376 second(s), 21 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表