当前位置:网站首页>What is weak network testing? Why should weak network test be carried out? How to conduct weak network test? "Suggested collection"
What is weak network testing? Why should weak network test be carried out? How to conduct weak network test? "Suggested collection"
2022-07-23 19:36:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
What is weak network test ?
Because in the era of mobile Internet , In addition to wired connection, the network form , also 2G/3G/4G/Wifi/5G And a variety of mobile phone network connections . First, add some extra 5G Knowledge ;2 Minutes to know what is 5G.
It ended not long ago MWC 2018 On ,5G It has become a hot topic in the world , And at home 5G Their attention is also abnormally high . actually , And 2G、3G、4G comparison , In our country 5G The layout of this aspect is no later than that of other countries ; And the three major Chinese operators are in China 5G The role in development is crucial , So they are 5G The rhythm of the game basically determines the whole of China 5G Step forward .
As a qualified tester , The scene that needs extra attention is much more than disconnection 、 Network failure and so on . We also need to define the data of weak network , The meaning defined by different applications is different and unclear , Not only the lowest rate of each type of network should be considered , We also need to combine business scenarios and application types to divide . According to the characteristics of mobility , Generally, it is lower than 2G All of them are weak nets , Can also be 3G Divided into weak networks . besides , Weak signal Wifi It is usually included in the weak network test scenario .
So why do you want to test the weak network ?
It's true , Take a medical treatment suitable for low resource environment IT For system projects , And its usage scenarios are mainly in some 2G In the network environment ,3G There are few nets , And the stability is also relatively poor . therefore , This kind of AP To complete the delivery of the application , It must run in the weak network state or even in the absence of network state .
How to do weak network test ?
First , As long as the weak network environment is built , Simulate a weak network environment . There are two ways through software and hardware . The software mode uses the simulated network parameters to configure the weak network environment , We can achieve our goal . You can also choose a third party , such as ,Charles , Network link Conditioner . In all kinds of network software , Mainly for bandwidth 、 Packet loss 、 Delay, etc. to simulate the weak network environment . But the way is caused by certain drawbacks , Not very close to weak network environment , Want to be closer to the weak network environment , For example, most special tests , It is more likely to assist in testing through hardware , But this way will become very troublesome , It's all through 「 Raspberry pie 」 Web services help build ! If there are some situations that cannot be simulated , You can only move to the elevator manually 、 Subway and other places with weak signals . add , The software method is low cost and easy to operate .
The idea of weak net test
Weak network function test :2G/3G/4G、 High delay 、 High loss package
No network state test : Network disconnection function test 、 Local data storage
User experience Focus on : response time 、 Page rendering & Overtime copywriting & Over time reconnection 、 Safety and large flow risk
Network switching test :Wifi—-4G/3G/2G—– No network multi state switching
Weak network function test
This part is mainly in various non wifi Function test under network environment , At the same time, it simulates the abnormal network environment with high delay and high packet loss for robustness testing . Pay attention to the response time of web pages 、 Whether the page rendering is complete and consistent . The network environment with high delay and high packet loss needs to be simulated by tools , stay windows It can be used in the environment fiddler and network emulator for windows toolkit To simulate the , stay mac You can use Charles and Xcode The self-contained development environment network exception simulation tool . The use of tools is specifically introduced in the tools section .
It is suggested that the whole function test cases should be tested in the weak network environment , The functions of the same module can be tested under multiple network conditions . The problems found in this part may be : Page image can't be loaded in weak network environment ( Image loading logic needs to be optimized )、 The page board structure that needs a template is chaotic ( The loading of template files in weak network environment needs to be optimized )、 The response time of the page is long and there is no display ( Page display logic optimization 、 Try again mechanism join ) etc. .
Network switching test
This part is mainly to switch several different network scenarios , Include wifi-2G/3G/4G、wifi- No net 、2G/3G/4G-wifi、2G/3G/4G- No net 、 No net -2G/3G/4G、 No net -wifi etc. . Mainly focus on the display and interaction of the page , Especially the weak network to wifi,wifi In the case of weak networks , Whether there will be a page crash And the confusion of the display 、session Is it consistent 、 Request heap processing, etc .
User experience focuses on
The purpose of weak network test is to ensure the user experience as much as possible , Key points of concern include :
1) Page response time is acceptable , Concerns include hot start 、 Cold start time 、 Page switching 、 Front and rear station switching 、 First time , First screen time, etc .
2) Whether the page rendering is completed consistently .
3) Whether the overtime copy meets the definition , Whether the abnormal information is displayed normally .
4) Whether there is timeout reconnection .
5) Safety angle : Will it happen dns hijacked 、 land ip Change frequently 、 Single sign on exception, etc .
6) High traffic event risk : Whether it will be updated under the weak network apk package 、 Download files and other large traffic action .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/126794.html Link to the original text :https://javaforall.cn
边栏推荐
- not all arguments converted during string formatting
- MySQL数据库【数据库基础--引入篇】
- Weights & biases (I)
- 某些题目对应的智慧数据总结
- [C language] program environment and preprocessing
- Mee | Zhejiang University Chenglei group develops a new method for designing and constructing synthetic flora
- 【C语言】程序环境和预处理
- Elk notes 25 - experience APM quickly
- 为啥一问 JVM 就 懵B ?
- 小熊拍学习之LED灯的点亮
猜你喜欢

H7-TOOL串口脱机烧录操作说明,支持TTL串口,RS232和RS485(2022-06-30)

Educational Codeforces Round 132 (Rated for Div. 2)【比赛记录】

elk笔记25--快速体验APM

Synopsys TCL of Tcl language (3) (Digital IC)

Leetcode daily question (1514. path with maximum probability)

Technical scheme of face recognition system

USB3.0:VL817Q7-C0的LAYOUT指南

树莓派3b串口登录前准备工作

Canvas draw text and clear draw

【C语言】程序环境和预处理
随机推荐
H7-TOOL串口脱机烧录操作说明,支持TTL串口,RS232和RS485(2022-06-30)
有向图之求两点之间所有路径
R语言使用quantile函数计算向量数据或者dataframe指定数据列的分位数(百分位数)
J9数字论:数字行业的FOMO现象我们应该怎么克服?
单调队列优化DP
解密:智能化变电站中PTP时钟同步(北斗时钟服务器)
Weights & biases (I)
[C language] program environment and preprocessing
Type-C Bluetooth speaker single C-Port rechargeable OTG solution
【C语言】程序环境和预处理
数据链路层 -------- 以太网 和 ARP
Terminal command (all)
USB3.0: layout guide for vl817q7-c0
结构体大小的计算(结构体内存对齐)
详谈双亲委派机制(面试常问)[通俗易懂]
作为一名后台开发人员,你必须知道的两种过滤器
微信小程序自己实现一个全局事件总线
ACM mm 2022 oral | dig: the new framework of self-monitoring character recognition refreshes the recognition performance of 11 public scene character data sets, with an average improvement of 5%
【leetcode天梯】链表 · 206 反转链表
R语言使用dwilcox函数生成Wilcoxon秩和统计分布密度函数数据、使用plot函数可视化Wilcoxon秩和统计分布密度函数数据