上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 68 下一页
摘要: Playwright可在所有现代浏览器中实现快速,可靠和强大的自动化。本指南涵盖了这些关键区别因素,以帮助您为自动化测试选择合适的工具。 支持所有浏览器快速可靠的执行强大的自动化功能与您的工作流程整合相关限制对于所有浏览器的支持在Chromium,Firefox和WebKit上进行测试。Playwr 阅读全文
posted @ 2020-12-18 14:38 anobscureretreat 阅读(2472) 评论(0) 推荐(0)
摘要: 1、手机连接电脑后,开发者选择-GPU呈现模式分析 - “在adb shell dumpsys gfxinfo中” 或者 “选项线行图”;2、在APP中快速滑动测试页面,不能停顿,10秒左右;3、cmd 中 执行命令 adb shell dumpsys gfxinfo 应用包名 > 保存路径及文件名 阅读全文
posted @ 2020-12-18 13:08 anobscureretreat 阅读(1285) 评论(0) 推荐(0)
摘要: locust官网: https://www.locust.io/locust 的官方 Github 是:https://github.com/locustio/locust官网帮助文档: https://docs.locust.io/en/latest/installation.html Locus 阅读全文
posted @ 2020-12-18 11:48 anobscureretreat 阅读(639) 评论(0) 推荐(0)
摘要: #将Seq和Ack 用相对值显示在 Edit→Preferences→Protocols→TCP 菜 单 中 勾 上 Relative Sequence Numbers来启用它 #过滤出握手失败的包(tcp.flags.reset==1)&&(tcp.seq==1)从表面上看,它只是过滤出Seq号为 阅读全文
posted @ 2020-12-17 16:50 anobscureretreat 阅读(351) 评论(0) 推荐(0)
摘要: 用于网络设备间文件共享。CIFS 是一个新提出的协议,它使程序可以访问远程Internet计算机上的文件并要求此计算机提供服务。CIFS 使用客户/服务器模式。客户程序请求远在服务器上的服务器程序为它提供服务。服务器获得请求并返回响应。CIFS是公共的或开放的SMB协议版本,并由Microsoft使 阅读全文
posted @ 2020-12-16 12:57 anobscureretreat 阅读(215) 评论(0) 推荐(0)
摘要: chrome://flags 阅读全文
posted @ 2020-12-15 18:57 anobscureretreat 阅读(128) 评论(0) 推荐(0)
摘要: 最初的TCP的实现方式是,在连接建立成功后便会向网络中发送大尺寸的数据包,假如网络出现问题,很多这样的大包会积攒在路由器上,很容易导致网络中路由器缓存空间耗尽,从而发生拥塞。因此现在的TCP协议规定了,新建立的连接不能够一开始就发送大尺寸的数据包,而只能从一个小尺寸的包开始发送,在发送和数据被对方确 阅读全文
posted @ 2020-12-15 18:35 anobscureretreat 阅读(1391) 评论(0) 推荐(0)
摘要: HTTP1的效率低,问题在于他是半双工的。什么叫做半双工?说白了就是发送和接受只能同时做一个,协议要么是发送状态,要么是接受状态。TCP好歹是全双工的,收发可以同时进行,HTTP1是对TCP的传输能力的浪费。所以后来有个模式,叫做pipeline,这个勉强成为了一种低效率的全双工模式,但是请求和响应 阅读全文
posted @ 2020-12-15 16:35 anobscureretreat 阅读(774) 评论(0) 推荐(0)
摘要: 不可以的,定义了HTTP 1.1的RFC 2616明确把最大连接 数限制为2个,原文如下:Clients that use persistent connections SHOULD limit the number of simultaneous connections that they mai 阅读全文
posted @ 2020-12-15 16:29 anobscureretreat 阅读(295) 评论(0) 推荐(0)
摘要: 定时构建1. 定时构建语法:* * * *第一个表示分钟,取值0~59第二个表示小时,取值0~23第三个表示一个月的第几天,取值1~31第四个表示第几月,取值1~12第五个表示一周中的第几天,取值0~7,其中0和7代表的都是周日 常用定时构建举例:每隔5分钟构建一次H/5 * * * * 每两小时构 阅读全文
posted @ 2020-12-13 12:21 anobscureretreat 阅读(245) 评论(0) 推荐(0)
摘要: Tools -> Connection Assistant,接着一直按Next,最后再run,发现解决了问题. 阅读全文
posted @ 2020-12-12 18:26 anobscureretreat 阅读(412) 评论(0) 推荐(0)
摘要: 此时注意手机屏幕,弹出确认弹窗,点击确认即可 阅读全文
posted @ 2020-12-12 18:24 anobscureretreat 阅读(155) 评论(0) 推荐(0)
摘要: Pic code macname@MacdeMacBook-Pro Desktop % wget https://mirrors.bfsu.edu.cn/apache/tomcat/tomcat-9/v9.0.41/bin/apache-tomcat-9.0.41.tar.gz macname@Ma 阅读全文
posted @ 2020-12-12 18:13 anobscureretreat 阅读(110) 评论(0) 推荐(0)
摘要: 点击配置凭据 添加凭据 设置凭据信息 填写 Username, Private Key 2个字段即可, Username随便写 私钥查看Jenkins服务器私钥文件获取 macname@MacdeMacBook-Pro ~ % cat ~/.ssh/id_rsa BEGIN RSA PRIVATE 阅读全文
posted @ 2020-12-12 14:45 anobscureretreat 阅读(433) 评论(0) 推荐(0)
摘要: code import datetime import time import os start_run_time="2020-12-11 15:16:08" print(start_run_time) #开始时间转为秒级时间戳 ts1=time.mktime(time.strptime(start 阅读全文
posted @ 2020-12-11 16:00 anobscureretreat 阅读(1350) 评论(0) 推荐(0)
摘要: 添加应用 获取AgentId,Secret 获取企业ID 获取账户 获取部门ID 阅读全文
posted @ 2020-12-11 00:35 anobscureretreat 阅读(661) 评论(0) 推荐(0)
摘要: Jenkins 是一个开源的持续集成工具 Jenkins 是一个Java开发,基于 Java 的独立程序,可以立即运行,包含 Windows、Mac OS X 和其他类 Unix 操作系统。 Jenkins 可以实现整个软件开发周期的持续集成任务。 主要用于: 1、持续、自动地构建/测试软件项目。 阅读全文
posted @ 2020-12-11 00:20 anobscureretreat 阅读(225) 评论(0) 推荐(0)
摘要: 安装tomcat wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/v9.0.41/bin/apache-tomcat-9.0.41.tar.gz vim /etc/profile,加入以下代码 export CATAL 阅读全文
posted @ 2020-12-11 00:13 anobscureretreat 阅读(128) 评论(0) 推荐(0)
摘要: 下载 [root@xxx local]# mkdir maven [root@xxx local]# cd maven/ [root@xxx maven]# [root@xxx maven]# wget http://mirrors.hust.edu.cn/apache/maven/maven-3/ 阅读全文
posted @ 2020-12-11 00:09 anobscureretreat 阅读(66) 评论(0) 推荐(0)
摘要: 重装只需要删除安装jenkins用户的主目录(~)下的(.jenkins)文件夹,一般在/root/.jenkins 可以用 ls -a 查看隐藏的文件。然后 rm -rf .jenkins就可以删除了 如果是配合tomcat启动的jenkins就重启tomcat就可以了,就可以重新配置jenkin 阅读全文
posted @ 2020-12-11 00:06 anobscureretreat 阅读(1051) 评论(0) 推荐(0)
摘要: Jenkins页面提示“反向代理设置有误”是因为系统设置里面的Jenkins的URL错了,正确的是IP加端口号就可以 阅读全文
posted @ 2020-12-11 00:05 anobscureretreat 阅读(591) 评论(0) 推荐(0)
摘要: pic 参数说明 配置参数解析: bandwidth —— 带宽,即上行、下行数据传输速度 utilisation —— 带宽可用率,大部分modern是100% round-trip latency —— 第一个请求的时延,单位是ms。 MTU —— 最大传输单元,即TCP包的最大size,可以更 阅读全文
posted @ 2020-12-11 00:04 anobscureretreat 阅读(93) 评论(0) 推荐(0)
摘要: #安装 pip3.7 install httprunner hrun -V 查看版本,能看到版本信息,就代表安装成功 hrun -h 查看帮助信息 #命令说明 在 HttpRunner 安装成功后,系统中会新增 4 个命令: httprunner : 核心命令 hrun:httprunner 的缩写 阅读全文
posted @ 2020-12-10 23:55 anobscureretreat 阅读(1622) 评论(0) 推荐(0)
摘要: 一、jsonpath 之前我写接口自动化测试时候,对于复杂的json返回,会使用jsonpath这个第三方库,就像写xpath一样,方便的查询json元素。 因为之前写WEB自动化时候,总用xpath去查找元素,所以用起来非常顺手。 这里是github上的链接,感兴趣的童鞋也可以去学习一下 二、jm 阅读全文
posted @ 2020-12-10 23:41 anobscureretreat 阅读(721) 评论(0) 推荐(0)
摘要: 首先打开Fiddler,在菜单栏上面找到Rules->CustomRules 我们把下面的代码复制到 class Handlers中 function BeginRequestTime(oS: Session) { if (oS.Timers != null) { return oS.Timers. 阅读全文
posted @ 2020-12-10 23:38 anobscureretreat 阅读(547) 评论(0) 推荐(0)
摘要: Rules—>Cutomize Rules打开CustomRules.js 文档 在文件中搜索关键字,m_SimulateModem 让我们来分析一下这几行代码: * 首先来判断m_SimulateModem是否为true,也就是是否设置了弱网模式。 * 如果为弱网模式。则分析代码 * oSessi 阅读全文
posted @ 2020-12-10 23:36 anobscureretreat 阅读(85) 评论(0) 推荐(0)
摘要: Secret Text 需要预先在Github 上配置 Personal Token Key 配置 Personal Token Key 的路径为:【GitHub 用户图像】-> 【Setttings】-> 【Developer Settings】-> 【Personal access Token】 阅读全文
posted @ 2020-12-10 23:34 anobscureretreat 阅读(793) 评论(0) 推荐(0)
摘要: 点击tools->option->connctions,勾选允许远程客户端连接选项,弹框后点击确定 找到电脑的ip地址 设置好手机的ip地址(电脑的ip地址)和端口号(8888) 下载证书 现在一般app都是https协议的了,所以要在手机上安装证书,才能抓包 第一步:手机设置安全密码 第二步:打开 阅读全文
posted @ 2020-12-10 23:33 anobscureretreat 阅读(132) 评论(0) 推荐(0)
摘要: 设置 找到 Proxy - SSL Proxying Settings,点击 Add,Host填,Port填或者443。两个都填也行。 安装证书 配置信任 设置 手机端下载安装证书 链接Charles 访问: chls.pro/ssl 安装完毕。 阅读全文
posted @ 2020-12-10 23:29 anobscureretreat 阅读(236) 评论(0) 推荐(0)
摘要: code chrome://settings/content/location 阅读全文
posted @ 2020-12-06 17:06 anobscureretreat 阅读(217) 评论(0) 推荐(0)
摘要: redis 安装包下载地址 http://download.redis.io/releases/ 下载解压 [root@xxx ~]# wget http://download.redis.io/releases/redis-6.0.6.tar.gz [root@xxx ~]# tar -xvf r 阅读全文
posted @ 2020-12-05 00:31 anobscureretreat 阅读(151) 评论(0) 推荐(0)
摘要: pic1 pic2 code import requests header={ "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8", "User-Agent": "Mozilla/5.0 (Macintosh; Int 阅读全文
posted @ 2020-12-03 15:03 anobscureretreat 阅读(1353) 评论(0) 推荐(0)
摘要: code a={ "breaker": [{"body":"{\"request_id\":\"403\",\"code\":0,\"type\":0,\"msg\":\"success\",\"data\":{\"banner\":[{\"id\":245,\"name\":\"苹果手机专区\", 阅读全文
posted @ 2020-12-03 14:03 anobscureretreat 阅读(807) 评论(0) 推荐(0)
摘要: code import configparser config = configparser.ConfigParser() file = 'config.ini' #添加section config.read(file) config.add_section('login') config.add_ 阅读全文
posted @ 2020-12-03 14:02 anobscureretreat 阅读(181) 评论(0) 推荐(0)
摘要: code macname@MacdeMacBook-Pro Desktop % macname@MacdeMacBook-Pro Desktop % cat test.py import logging logging.basicConfig(level=logging.INFO, filename 阅读全文
posted @ 2020-12-03 14:00 anobscureretreat 阅读(127) 评论(0) 推荐(0)
摘要: code macname@MacdeMacBook-Pro ~ % who -T macname - console Nov 23 09:43 macname + ttys002 Dec 2 09:47 macname@MacdeMacBook-Pro ~ % 阅读全文
posted @ 2020-12-03 13:59 anobscureretreat 阅读(874) 评论(0) 推荐(0)
摘要: 多进程 macname@MacdeMacBook-Pro Desktop % macname@MacdeMacBook-Pro Desktop % macname@MacdeMacBook-Pro Desktop % python3 test.py main test 0 test 0 test 1 阅读全文
posted @ 2020-12-01 22:25 anobscureretreat 阅读(107) 评论(0) 推荐(0)
摘要: sed编辑器不会修改原始文件。你删除的行只是从sed编辑器的输出中消失了。原始文件仍然包含那些“删掉的”行 macname@localhost Desktop % cat data1 1The quick brown fox jumps over the lazy dog 2The quick br 阅读全文
posted @ 2020-12-01 14:12 anobscureretreat 阅读(839) 评论(0) 推荐(0)
摘要: content macname@localhost Desktop % macname@localhost Desktop % cat ddd This is a test of the test script. This is the second test of the test script. 阅读全文
posted @ 2020-12-01 13:58 anobscureretreat 阅读(1485) 评论(0) 推荐(0)
摘要: 用at命令在预设时间安排脚本执行非常好用,但如果你需要脚本在每天的同一时间运行或是 每周一次、每月一次呢?用不着再使用at不断提交作业了,你可以利用Linux系统的另一个功能。 Linux系统使用cron程序来安排要定期执行的作业。cron程序会在后台运行并检查一个特殊的表(被称作cron时间表), 阅读全文
posted @ 2020-12-01 10:22 anobscureretreat 阅读(229) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 68 下一页