MoreRSS

site iconNeuman修改

测试工程师,杭州,喜欢分享,喜欢开源。
请复制 RSS 到你的阅读器,或快速订阅到 :

Inoreader Feedly Follow Feedbin Local Reader

Neuman的 RSS 预览

Dns Vs Whois

2025-09-13 08:00:00

DNS: The Phone Book Itself

  • What it is: The Domain Name System (DNS) is the system that translates the friendly website names you type (like 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.
  • Simple Analogy: DNS is the phone book. You look up a name (e.g., “Jane’s Pizza”), and it gives you the phone number you need to call to reach them.
  • Key Purpose: Finding the correct server. It answers the question: “Where is this website located?”

WHOIS: The “Who Owns This?” Section

  • What it is: WHOIS is a protocol and a database that stores information about who registered a domain name. It’s a directory of who owns what.
  • Simple Analogy: WHOIS is like the section in the phone book that lists who the phone number is registered to, their address, and when they registered it. It’s about ownership and registration details.
  • Key Purpose: Identifying the domain owner. It answers the questions: “Who owns this website?”, “When did they register it?”, and “How can I contact them?”

Side-by-Side Comparison

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.

A Simple Example

Let’s say you want to visit example.com.

  1. Your computer uses DNS: It’s like your computer shouting, “Hey, everyone, what’s the address for example.com?!” A DNS server answers back, “It’s 93.184.216.34!” Your browser then uses that number to connect to the website.
  2. You get curious and use WHOIS: You wonder, “Who actually owns 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.

In a Nutshell:

  • DNS is for computers to find websites. It’s about location.
  • WHOIS is for people to find out about website owners. It’s about ownership.

They work together to make the internet function, but they serve two completely different purposes.

How To Download Video From Website

2020-04-18 08:00:00

Download video from the internet

Just For educational purposes only, not for commercial use.

Twitter -> X

https://www.savetweetvid.com/

Youtube

youtube video download

Bilibili

weibo.com

长度与宽度

2018-04-18 08:00:00

长与宽

虽然我们生活在三维的世界里,但是能够用二维的视角去思考已经很不错了。很偶然的一个事件,启发了我,它让我明白了,长与宽这两个维度, 当一个方向不能走下去的时候,可以去考虑另一个方向。究竟是什么事件启发了我呢?原来是一个测试环境的问题,大于15位的字符串存放到数据库的 时候会报错,从程序的角度上看是很简单的一个问题,但是从人生观的角度来看,这是一个很有意义的bug,我很幸运能够发现这样的能够令人深思的问题。

很长一段时间我只考虑宽度,或者说我并没有意识到长度的存在,因为我活在一条线中。当我的灵感被触发的那一刻,我感觉冥冥之中有一股力量选择了我, 它令我释然了。

如何去消耗服务端资源

2018-04-18 08:00:00

本篇文章主要记录消耗服务端资源的方法,可以当作性能测试的一部分。

首先我们大致列出服务端资源都有什么: 网络宽带,内存,CPU,文件句句柄,socket连接,mysql连接数,redis缓存,发送邮件,发送短信验证码

如何占用宽带?

设置网卡流量限速

如何占用socket资源

ddos攻击,例如syn泛洪攻击

如何保持http连接占用?

你是否还记得当初的slowhttptest?今天突然想到了她,眼泪不自觉的流了下来

https://null-byte.wonderhowto.com/how-to/dos-using-slowhttptest-0159548/

你是否还记得小巧强悍的性能测试工具wrk

./wrk -t4 -c1001 -d30s $url

如何保持mysql连接占用?

用户在转账时候数据库连接数满了 比如你想模拟数据库资源被占满的情况,那么你就可以使用jdbc执行sql但是不close. 例如使用jdbc不close就会占用连接。

依赖于第三方服务的场景要怎么测试

2018-03-30 08:00:00

如何依赖于第三方服务的场景?

我为什么会想到这个问题?因为依赖于三方的场景太常见了。和三方最常用的交互方式就是http/https,我在思考到底如何测试这种场景下的我方逻辑。

mock,这是我首先想到的方法。但是mock的切入点是哪里?到底要通过什么样的方式去mock?

  1. http代理拦截 (感觉比较适合前端项目,例如使用anyproxy搭建代理服务器,浏览器中配置代理,这样是可以的) 对于服务端项目来说,应该是socket层的代理才能够实现http请求的拦截吧?
     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
    
  2. service层mock 这个是我着手做的一种mock实践。

Gui测试之图片识别

2018-03-14 08:00:00

图片识别在GUI测试领域应用

本文主要介绍GUI自动化测试领域的一些探索,其中包括图片识别,元素定位,坐标定位等方法。

  1. 坐标定位

  2. 元素定位

  3. 图片识别定位

思考:appium + sikuliX 一种曲折的方法,镜像安卓屏幕到电脑上

安卓手机之截图

(1) 屏幕截图
adb exec-out screencap -p > test.png
(2)计算位置坐标(通过图片识别或者手动点击计算)matchTemplate
(3)发送命令

adb shell input

  (一)首先明确一下 android 中的坐标系统 :

     屏幕的左上角是坐标系统原点(0,0)
     原点向右延伸是X轴正方向,原点向下延伸是Y轴正方向
输入字符
adb shell input text <String>
       
     
模拟点按
input tap <x> <y>

模拟滑动
input swipe x1 y1 x2 y2




令人兴奋的睡不着觉