2025-09-13 08:00:00
google.com
) into the numerical IP addresses that computers use to find each other (like 142.251.42.206
). It’s the actual lookup process.Feature | DNS (Domain Name System) | WHOIS (Who Is) |
---|---|---|
Main Job | Finding an address. Translates a domain name to an IP address. | Finding an owner. Provides registration details for a domain. |
Analogy | The phone book that gives you a number. | The listing that tells you who the number belongs to. |
What it answers | “Where is google.com?” | “Who owns google.com?” |
Information it gives | IP addresses, mail server info, etc. | Owner’s name, contact info, registrar, registration & expiry dates. |
When you use it | Every time you visit a website (your browser does this automatically). | When you need to investigate a domain, contact the owner, or check if a domain is available. |
Let’s say you want to visit example.com
.
example.com
?!” A DNS server answers back, “It’s 93.184.216.34
!” Your browser then uses that number to connect to the website.example.com
?” You go to a WHOIS lookup website (like whois.icann.org), type in the domain, and it tells you the registration company, when it was created, and when it will expire.They work together to make the internet function, but they serve two completely different purposes.
2020-04-18 08:00:00
Just For educational purposes only, not for commercial use.
youtube video download
2018-04-18 08:00:00
虽然我们生活在三维的世界里,但是能够用二维的视角去思考已经很不错了。很偶然的一个事件,启发了我,它让我明白了,长与宽这两个维度, 当一个方向不能走下去的时候,可以去考虑另一个方向。究竟是什么事件启发了我呢?原来是一个测试环境的问题,大于15位的字符串存放到数据库的 时候会报错,从程序的角度上看是很简单的一个问题,但是从人生观的角度来看,这是一个很有意义的bug,我很幸运能够发现这样的能够令人深思的问题。
很长一段时间我只考虑宽度,或者说我并没有意识到长度的存在,因为我活在一条线中。当我的灵感被触发的那一刻,我感觉冥冥之中有一股力量选择了我, 它令我释然了。
2018-04-18 08:00:00
本篇文章主要记录消耗服务端资源的方法,可以当作性能测试的一部分。
首先我们大致列出服务端资源都有什么: 网络宽带,内存,CPU,文件句句柄,socket连接,mysql连接数,redis缓存,发送邮件,发送短信验证码
设置网卡流量限速
ddos攻击,例如syn泛洪攻击
你是否还记得当初的slowhttptest?今天突然想到了她,眼泪不自觉的流了下来
https://null-byte.wonderhowto.com/how-to/dos-using-slowhttptest-0159548/
你是否还记得小巧强悍的性能测试工具wrk
./wrk -t4 -c1001 -d30s $url
用户在转账时候数据库连接数满了 比如你想模拟数据库资源被占满的情况,那么你就可以使用jdbc执行sql但是不close. 例如使用jdbc不close就会占用连接。
2018-03-30 08:00:00
我为什么会想到这个问题?因为依赖于三方的场景太常见了。和三方最常用的交互方式就是http/https,我在思考到底如何测试这种场景下的我方逻辑。
mock,这是我首先想到的方法。但是mock的切入点是哪里?到底要通过什么样的方式去mock?
cnpm -g install anyproxy
[AnyProxy Log][2018-03-30 20:55:42]: Http proxy started on port 8001
[AnyProxy Log][2018-03-30 20:55:42]: web interface started on port 8002
2018-03-14 08:00:00
本文主要介绍GUI自动化测试领域的一些探索,其中包括图片识别,元素定位,坐标定位等方法。
坐标定位
元素定位
图片识别定位
思考:appium + sikuliX 一种曲折的方法,镜像安卓屏幕到电脑上
(1) 屏幕截图
adb exec-out screencap -p > test.png
(2)计算位置坐标(通过图片识别或者手动点击计算)matchTemplate
(3)发送命令
(一)首先明确一下 android 中的坐标系统 :
屏幕的左上角是坐标系统原点(0,0)
原点向右延伸是X轴正方向,原点向下延伸是Y轴正方向
输入字符
adb shell input text <String>
模拟点按
input tap <x> <y>
模拟滑动
input swipe x1 y1 x2 y2
令人兴奋的睡不着觉