ArtOfTesting

介绍

这是关于ArtOfTesting的一些思考与探索。

github地址

https://github.com/SuperLucas/ArtOfTesting.github.io.git

gitee地址

https://gitee.com/SuperLucas/ArtOfTesting.github.io.git


六、Jmeter

1、JMeter36个内置函数及11个新增函数介绍

博文链接:https://blog.csdn.net/weixin_45741835

2、jmeter 生成逐渐加一的数字(计数器)

博文链接:https://blog.csdn.net/weixin_44750991/article/details/109179461

3、性能测试知多少 --并发用户数与TPS之间的关系

博文链接:https://blog.csdn.net/taric_ma/article/details/77285522


七、Fiddler

1、PC客户端数据分析工具Fiddler+Proxifer(APP使用WiFi转发)

博文链接:https://blog.csdn.net/sunbo_csdn/article/details/82292379

2、Fiddler 过滤指定域名

博文链接:https://www.csdn.net/tags/NtTaggxsNzUwMTEtYmxvZwO0O0OO0O0O.html

3、Fiddler实现弱网测试

博文链接:https://zhuanlan.zhihu.com/p/143080849

4、用fiddler实现android手机抓包

博文链接:https://blog.csdn.net/michaelwoshi/article/details/114173158


八、Appium

1、Appium安装与环境配置

参考资料:https://zhuanlan.zhihu.com/p/113129781
GUI下载地址:https://github.com/appium/appium-desktop/releases
Python3 + Appium + 安卓模拟器 实现APP自动化测试,并生成测试报告:https://blog.csdn.net/u013314786/article/details/83216390

python接口web自动化+测试开发

参考资料:https://www.cnblogs.com/yoyoketang/p/6128735.html

2、npm和cnpm(windows)安装步骤

参考资料:https://blog.csdn.net/lifuwang/article/details/124507904

3、淘宝镜像站

链接:https://www.npmmirror.com/

下载node后,用npm安装淘宝镜像命令:也可以使用alias自定义新命令

  • npm install -g cnpm --registry=https://registry.npmmirror.com

安装appium遇见的错误

  • 问题:执行cnpm install -g appium命令后,cmd下载时间超过6分钟无反应,且最终回车后报错有404;
    报错图片

  • 解决办法:

1)设置镜像仓库:

npm config set registry https://registry.npmmirror.com

2)查看镜像仓库:

npm config get registry

3)代理设置为空:

npm config set proxy null && npm config set https-proxy null

4)安装:

npm install -g appium

5)验证Appium版本

appium -v

4、安卓SDK下载

地址:https://www.androiddevtools.cn/
AndroidSDK

5、安装pip install Appium-Python-Client报错

  • 解决办法

输入命令:pip install --user Appium-Python-Client

如果速度慢,还可以全局换成清华源:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

单次换成清华源:

pip install 要安装的包 -i https://pypi.tuna.tsinghua.edu.cn/simple

报错2:pip install --target=目标路径 工具包名字

命令示例:
pip install --target=c:\users\17334\appdata\roaming\python\python39\site-packages(2,5,0) Appium-Python-Client

6、运行npm install appium-doctor –g报错

解决办法:cnpm install appium-doctor –g

7、录制时清除包缓存

adb shell pm clear 包名

8、录制需要测试的操作(以测试九九乘法表为例)

https://blog.csdn.net/weixin_56039103/article/details/116455098

9、使用Python+Appium+夜神模拟器,并连接uiautomatorviewer

参考资料:https://www.cnblogs.com/GoodNightMyPrincess/p/16428104.html

10、Appium元素定位

https://blog.csdn.net/lovedingd/article/details/111058898

Xpath元素定位:
参考资料:https://blog.csdn.net/kongsuhongbaby/article/details/83020721


posted on 2022-07-08 14:50  秉烛爱好者  阅读(108)  评论(0)    收藏  举报