设备测试使用节流 [英] Device testing With throttling
问题描述
在设备上进行测试时,我想模拟具有延迟的移动设备(如3G或4G)上的实际网络连接。该文档说不支持网络条件模拟。您对如何实现这一目的有什么建议?
When testing on a device, I want to simulate the actual network connection on a mobile device, such as a 3G or 4G, with latency. The docunentation says that network condition simulation is not supported. What is your recommendation for how to achieve this?
推荐答案
嗨 SpeedyUXDesign,
如果在Visual Studio中使用单元测试,您只需创建一个testsettings文件并配置属于"数据和诊断"的网络仿真"项目。然后,您可以选择它作为您的testsettings
文件继续测试。
Hi SpeedyUXDesign,
If you use the unit test in Visual studio, You can just create a testsettings file and configure the network emulation which belongs to "data and diagnostics" item. Then you can continue on your test after selecting it as your testsettings
file.
参考:
https://docs.microsoft.com/en-us/previous-versions/dd505008(v = vs.140)
https://docs.microsoft.com/en-us/previous-versions/dd505008(v=vs.140)
最好的问候,
杰克
这篇关于设备测试使用节流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!