如何对基于Webrtc的Web应用程序进行负载测试 [英] How to make load testing for web application that based on Webrtc
问题描述
我正在尝试对基于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服务器.对于这些,您可以像对任何Web服务器一样轻松地使用JMeter.对于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屋!