当前位置:网站首页>When an interface has an exception, how do you analyze the exception?
When an interface has an exception, how do you analyze the exception?
2022-06-25 02:06:00 【Shuangchen legend Technology (Newton it College)】
Interface testing is common bug
Routine error , The interface is not implemented , Didn't return the result as agreed , Boundary value processing error, etc ;
Enter the outlier ( Null value 、 Special characters 、 Beyond the agreed length, etc ), Wrong interface , No encapsulation ;
Wrong parameters entered 、 Multiple input 、 Less input parameters , Possible interface errors ;
Security issues , Such as plaintext transmission 、 The returned result contains sensitive information , No verification of user identity information , No malicious request interception, etc ;
Performance issues , For example, the interface inserts multiple identical operations simultaneously , Response time is too long , There is a bottleneck in the pressure test of the interface .
When an interface exception occurs , How to analyze and handle :
Grab the bag first , use fiddler Tool grab bag ;
Or on the browser F12 Debugging tools ;
APP What I said , have access to Fiddler Do the agent , Set up a proxy through the mobile phone to see the request and return message ;
View backend logs , Such as Linux The system goes through xhell Connect to the server , Check the interface log , Check if there is any error message
( command :tail -f Log files )
边栏推荐
- 2个NPN三极管组成的恒流电路
- [leetcode] 11. Container with the most water
- Experiment 5 8254 timing / counter application experiment [microcomputer principle] [experiment]
- 同一服务器两个端口不同的应用session覆盖解决方案
- 业务与技术双向结合构建银行数据安全管理体系
- Basic use of transformers Library
- 罗德与施瓦茨与中关村泛联院合作开展6G技术研究与早期验证
- Deoxyribonuclease I instructions in Chinese and English
- EasyCVR国标协议接入的通道,在线通道部分播放异常是什么原因?
- Day 04 - file IO
猜你喜欢
全排列II[存在相同元素去重 + 标准回溯]
Ps5 connected to oppo K9 TV does not support 2160p/4k
多模态数据也能进行MAE?伯克利&谷歌提出M3AE,在图像和文本数据上进行MAE!最优掩蔽率可达75%,显著高于BERT的15%
谈谈飞书对开发工作的优势 | 社区征文
Full arrangement ii[duplicate removal of the same elements + standard backtracking]
Search two-dimensional matrix [clever use of bisection + record solution different from inserting bisection]
MeterSphere開源持續測試平臺與阿裏雲雲效DevOps的集成
谷歌浏览器控制台 f12怎么设置成中文/英文 切换方法,一定要看到最后!!!
Cusdis - lightweight, privacy first open source comment system | chain of the city
内网学习笔记(5)
随机推荐
Ps5 connected to oppo K9 TV does not support 2160p/4k
How to open a stock account? Is it safe to open a mobile account?
Please run IDA with elevated permissons for local debugging.
Sumati GameFi生态纵览,神奇世界中的元素设计
Investigation on key threats of cloud computing applications in 2022
Experience of epidemic prevention and control, home office and online teaching | community essay solicitation
Abnova 5-methylcytosine polyclonal antibody
How to prepare for the last day of tomorrow's exam? Complete compilation of the introduction to the second building test site
Award winning interface control development kit devaxpress v22.1 officially announced
你知道你的ABC吗(春季每日一题 1)
After integrating the aurora push plug-in in the uni app, the real machine debugging prompts "the currently running base does not contain the native plug-in [jg-jpush]..." Solutions to problems
How to get the picture outside the chain - Netease photo album [easy to understand]
IPC mechanism
如何选择正规安全的外汇交易平台?
MeterSphere開源持續測試平臺與阿裏雲雲效DevOps的集成
Listen to the markdown file and hot update next JS page
Deoxyribonuclease I instructions in Chinese and English
Status quo analysis: how "one cloud and multi-core" can promote the rapid deployment of information innovation projects
Constant current circuit composed of 2 NPN triodes
EasyCVR国标协议接入的通道,在线通道部分播放异常是什么原因?