- 博客(22)
- 收藏
- 关注
转载 代理问题:python & jmeter
最近遇到下面几个问题:(亲测有用)1. python写接口测试的时候,在mac上面执行脚本的时候一直报错self = <ssl.SSLSocket [closed] fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0>, block = False @_s...
2019-07-15 20:22:00
313
转载 Accessibility automation testing: AxE
Accessibility testing: web无障碍性测试,要让所建的网站对所有用户都可用、可访问,不管用户的生理/身体能力如何,不管用户以何种方式访问网站。视障用户:色盲,完全失明 > 网站构建要适应于屏幕发音阅读器听障用户:图片,颜色...Web无障碍标准: https://dequeuniversity.com/rules/axe/3.2/...
2019-03-29 14:34:00
456
转载 Python-访问网络资源
使用python写接口自动化脚本的时候,会使用到一系列请求来访问网络资源使用python内置模块from urllib import requestdef get_html(url): page = request.urlopen(url) html = page.read().decode('utf-8') # 如果不用decode,获取...
2019-03-27 10:14:00
305
转载 性能测试之JMeter-实践4
怎么使用throughput timer(吞吐量定时器)15. 想要测试20QPS下系统的性能表现,包括响应时间等性能数据20QPS指的就是每秒钟要服务器发送20个请求,这个前提是系统每秒最多处理请求数要超过20,并且线程组中产生了足够多的请求。默认情况下,jmeter会在短时间内向服务器发送大量的请求数,Throughput timer 的作用的就是控制请求负载Thread...
2019-03-25 14:41:00
126
转载 自动化测试:理论
输入-过程-输出--通过测试脚本和测试数据来完成测试过程,并比较测试结果,进而形成测试报告。Web自动化测试自动化测试过程:明确测试范围:确定需要进行自动化测试的功能和颗粒度,编写测试脚本(最后的输出:比如sanity test的case有哪些,regression的case有哪些)明确脚本执行策略:执行周期,比如sanity case需要每个新版本构建之后立马执...
2019-03-22 15:09:00
205
转载 UI Automation Framework: pytest
pytest特性1. 很多第三方扩展插件可以直接使用,pytest-selenium, pytest-xdist, pytest-html...2. 装饰器fixture:可以将函数作为参数使用3. 多种方法实现参数化4. 装饰器mark: 测试case分类5. conftest:数据共享问题1. 使用pycharm,test文件和page文件分别在不同的目录...
2019-03-18 16:23:00
244
转载 Python
Python Module1. 基本概念一个.py文件在其他模块中进行重用2. 引用module的方法import "module name"使用内部moduleimport sysprint('The command line arguments are:')for i in sys.argv: print(i)...
2019-03-15 17:52:00
115
转载 性能测试之JMeter-实践1
一个简单的性能测试实践1. 打开Jmeter GUI (bin->jmeter.bat)2. 添加一个线程组 Thread Group3. 在线程组上面添加一个http请求 Thread Group -> Add -> Sampler -> HTTP Request (打开login页面)4. 添加查看结果树 Thread Group -...
2019-03-08 10:46:00
135
转载 性能测试之JMeter-实践2
怎么使用cookie和header12. 想测试登录后的界面,怎么让请求执行的时候知道当前已经是登录状态呢a. 先试一下,接着在上面的基础上,添加这个界面http请求(user list页面)因为这个页面由两个请求组成,所以我加了一个事物控制器来组合这两个请求Thread Group -> Add -> Logic Controller -> Transac...
2019-03-08 10:42:00
129
转载 Fiddler for device
Install Fiddler on cp 1. Open Fiddler, Tools > Otpion > Connections, keep port in 8888 > HTTPS, and check "Allow remote computers to connect"; 2. Tools > Otpion > HT...
2018-04-16 15:44:00
256
转载 Nightwatch+gulp
Nightwatch+gulp注:npm: 包管理工具(一)搭建一个简单的nightwatch项目1. 安装底层环境node.js -- 已经包含npm下载地址 https://nodejs.org->安装exe->检查是否安装成功 cmd: node -vnpm install npm -g -- 更新npm。因为n...
2017-10-25 09:32:00
187
转载 Git
使用可视化工具SourceTree下载地址:https://www.sourcetreeapp.com/使用branch管理代码下载git代码:Clone/New ->粘贴项目git url -> 选择本地存放路径->Clone创建本地分支:Branch+ -> 填写分支名称 ‘branch1’ -> Creat Branch,创建之后默...
2017-07-04 16:03:00
97
转载 JavaScript Unit Test with Qunit
Gradle + QunitSummary PPT: Pls refer to file tab 'JS-UT-With-Qunit'https://confluence/display/POS/JavaScript+Unit+testing+with+QUnit+and+Gradle转载于:https://www.cnblogs.com/lj8023wh/p/6674443...
2017-04-12 11:16:00
125
转载 Unit Test Mocking Framework
not complete yet~Mocking Frameworkfor JavaScriptSinonThe third party library. Standalone test spies, stubs and mocks for JavaScript.Works with any unit testing framework.Jsmockito...
2017-04-12 10:48:00
309
转载 Java Unit Test Framework: JUnit & TestNG
https://www.mkyong.com/unittest/junit-4-vs-testng-comparison/Functionality - JUnit 4 vs TestNGAnnotation SuppotException Test Ignore TestTimeout TestSuite TestGroup Test...
2017-04-07 18:11:00
165
转载 Java Unit Test with TestNG
TerminologyCUT(Class Under Test) –a class in the production code which is being testedMUT(Method Under Test) –a method in the production code which is being testedFixture–the set of...
2017-04-07 15:52:00
204
转载 WebPageTest
Pls refer to the file tab for 'WebPageTest'转载于:https://www.cnblogs.com/lj8023wh/p/6674798.html
2017-04-06 18:13:00
107
转载 性能测试之JMeter
性能测试理论理解性能测试理发店模型:http://www.cnblogs.com/jackei/archive/2006/11/20/565527.html性能衡量标准吞吐量(TPS):指的是服务端返回给客户端的数据量。吞吐率:单位时间内网络上传输的数据量,也可以指单位时间内处理客户请求数量。它是衡量网络性能的重要指标,通常情况下,吞吐率用“字节数/秒...
2017-04-06 18:10:00
139
转载 Selenium
Web automated test tool set, include IDE, Grid, RC, WebDriver.learn url:http://www.webdriver.org/article-4-1.html http://www.seleniumhq.org/Selenium 1 - Selenium Remote Control组成:se...
2017-04-06 18:07:00
161
转载 JavaScript Unit Test Framework: Mocha Vs Qunit
Mocha VS QunitAssess CategoryAssess ItemsMochaQunitSetupInstallationRequire to install node.js and Mocha.js$ npm install mocha.js...
2017-04-06 17:42:00
247
转载 JavaScript Unit Test with Mocha
Framework: Gulp + Karma + MochaSummary PPT: Pls refer to file tab 'JS-UT-With-Mocha'Before test startTo install Node.js and npm,https://nodejs.org/en/download/To get the source code of...
2017-04-06 16:27:00
340
转载 Cross-browser Testing Tool
Usage - instant assess to all real mobile and desktop browsers:Browserstack:https://www.browserstack.com/Can enable local testing: connect to your private and internal serversLive - s...
2017-04-06 16:09:00
306
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅