如何对基于Webrtc的Web应用进行负载测试 [英] How to make load testing for web application that based on Webrtc

查看:27
本文介绍了如何对基于Webrtc的Web应用进行负载测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试对基于 Webrtc 的 Web 应用程序进行负载测试,有人知道我可以使用哪个工具测试该应用程序.我也想知道我是否可以使用 Jmeter,如果可以,我该如何使用它?谢谢头

Im trying to make load testing for web application that based on Webrtc, does someone knows with whitch tool can I test that application. also I`d like to know if i can use Jmeter and if so , how can i use it ? thanks a head

推荐答案

在负载测试方面,WebRTC 是不同的.这是因为 WebRTC 是点对点的,而不是客户端服务器.

When it comes to load testing, WebRTC is different. And that's because WebRTC is peer-to-peer and not client server.

您可以测试的是客户端服务器部分,更具体地说是信令服务器和 STUN/TURN 服务器.对于这些,您可以轻松地将 JMeter 用作任何 Web 服务器.对于 STUN/TURN,只需遵循规范(尽管如果您使用现有服务器,我会将其交给作者,除非您也想参与该项目).对于信令服务器,就看你怎么搭建了.

What you can test is the client server part, more specifically the signaling server and the STUN/TURN server. For these, you can easily use JMeter as for any web server. For STUN/TURN just follow the specs (though if you're using an existing server, I would leave this into the authors hands, unless you want to involve in that project too). For the signaling server, it depends on how you build it.

您还可以使用 WebRTC 做的是尝试使用受控的有限带宽和延迟/抖动进行测试.这更像是烟雾测试,而不是负载测试.自动执行此操作有点复杂.特别是如果你想用音频/视频而不是数据来做这件事.

What you can also do with WebRTC is try to test with a controlled limited bandwidth and delay/jitter. This will be more like a smoke test, than a load one. To do this automatically is a little bit more complicated. especially if you want to do it with audio/video, not data.

这篇关于如何对基于Webrtc的Web应用进行负载测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆