01 2020 档案

摘要:1、View Results Tree【查看结果树】 2、Summary Report 为测试中的每个不同命名的请求创建一个表行,与聚合报告类似,使用更少的内存 3、Aggregate Report 【 聚合报告 】 4、Backend Listener 【后端监听器】 5、Aggregate Gr 阅读全文
posted @ 2020-01-20 11:01 Alieen617 阅读(417) 评论(0) 推荐(0)
摘要:【 主要用来检查测试中得到的数据是否符合预期 】 1、Response Assertion 【响应断言】 1区: Main Sample and sub-samples:匹配范围包括当前父取样器并覆盖至子取样器。 Main sample only:仅匹配当前父取样器 Sub-samples only 阅读全文
posted @ 2020-01-20 10:45 Alieen617 阅读(192) 评论(0) 推荐(0)
摘要:【 对发出请求后得到的服务器响应进行处理,一般用来提取响应中的特定数据 】 1、CSS Selector Extractor 2、JSON Extractor 3、Boundary Extractor [ 边界值提取 ] 4、Regular Expression Extractor 【 正则表达式提 阅读全文
posted @ 2020-01-19 20:11 Alieen617 阅读(245) 评论(0) 推荐(0)
摘要:【 在sampler 执行之前用来修改sampler的,无法直接被“察看结果树”记录】 1、JSR223 PreProcessor 2、User Parameters 【 作用同CSV Data Set Config组件,使用在数据量较少的情况下 】 3、HTML Link Parser 4、HTT 阅读全文
posted @ 2020-01-19 19:57 Alieen617 阅读(242) 评论(0) 推荐(0)
摘要:1、Constant Timer 【 设定固定时长,用来模拟思考时间 ,单位是:毫秒 】 2、Uniform Random Timer 【 均匀随机定时器:产生的延迟时间是个随机值,而各随机值出现的概率均等 】 总延迟时间 = 随机延迟时间 + 固定延迟时间 Sample Start: 2020-0 阅读全文
posted @ 2020-01-19 19:44 Alieen617 阅读(928) 评论(0) 推荐(0)
摘要:1、setUp Thread Group、Thread Group、tearDown Thread Group setUp Thread Group: 在测试执行开始前要做的动作; Thread Group: 用来运行测试用例,每个线程是一个虚拟用户; tearDown Thread Group: 阅读全文
posted @ 2020-01-17 17:05 Alieen617 阅读(578) 评论(0) 推荐(0)
摘要:pytest 1)简介 官方文档地址:http://www.pytest.org/en/latest/getting-started.html pytest中定义测试用例有三种方式: 1)兼容unittest,已有的unittest库和文件都可以直接进行调用; 2)可以基于简单的类进行定义,如果一个 阅读全文
posted @ 2020-01-14 20:26 Alieen617 阅读(324) 评论(0) 推荐(0)
摘要:unittest框架 unittest介绍和使用 【 官方文档:https://docs.python.org/3/library/unittest.html 】 1) 简介 unittest是python自带的一个单元测试框架 ; unittest中包含了一些对常规的测试用例体系的支持,包括:te 阅读全文
posted @ 2020-01-13 20:07 Alieen617 阅读(432) 评论(0) 推荐(0)
摘要:一、上传下载 *** 若有遗漏欢迎评论讨论,或加qq群:744419090 *** 阅读全文
posted @ 2020-01-10 16:27 Alieen617 阅读(167) 评论(0) 推荐(0)
摘要:步骤: 1、将代码拉到本地; 2、切换到代码所在盘符,cd到需要打包的路径; 3、打包: mvn package 4、cd到要起的服务target目录下: java -jar xxxxxxx.jar 5、hosts目录下加上linux系统的ip; 阅读全文
posted @ 2020-01-10 16:02 Alieen617 阅读(349) 评论(0) 推荐(0)
摘要:报错:Uncaught Exception java.lang.OutOfMemoryError: PermGen space. See log file for details. JVM_ARGS="-Xms1024m -Xmx1024m" /data/tmp/apache-jmeter-5.1. 阅读全文
posted @ 2020-01-10 16:00 Alieen617 阅读(932) 评论(0) 推荐(1)
摘要:一、等价类划分法 有效等价类 无效等价类 例:学生的成绩: 无效等价类(-∞,0)和(100,+∞) 有效等价类[0,100] 二、边界值划分法 [如果输入条件设置了边界,取边界值和比边界值大一个的值和比边界值小一个的值] 例:重量在10-20斤 边界值是:9.99 10.01 19.99 20.0 阅读全文
posted @ 2020-01-09 18:38 Alieen617 阅读(183) 评论(0) 推荐(0)
摘要:官方文档:[https://2.python-requests.org//zh_CN/latest/user/quickstart.html] 一、安装 1、安装Requests库 pip install requests 2、检查是否安装成功 pip show requests 二、使用 1、导入 阅读全文
posted @ 2020-01-09 14:43 Alieen617 阅读(138) 评论(0) 推荐(0)
摘要:一、HttpRunnerManage的搭建 主要参考以下两篇博客搭建,博主写的很详细: 1、https://www.cnblogs.com/tiechui2015/p/10017801.html 2、https://www.cnblogs.com/feifei-cyj/p/10911688.html 阅读全文
posted @ 2020-01-08 10:01 Alieen617 阅读(2051) 评论(0) 推荐(0)
摘要:1、安装locust报错 Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpret 阅读全文
posted @ 2020-01-07 11:10 Alieen617 阅读(2424) 评论(0) 推荐(0)
摘要:1、是什么?用来做什么? 官方文档解释:Postman是用于API开发的协作平台。您可以使用Postman与您的队友一起设计,构建和测试API,并支持开发人员采用 2、为什么用? 1)开发人员大多用postman来完成接口的调试工作,选择postman保持工具使用上的一致性; 2)使用简单方便; 3 阅读全文
posted @ 2020-01-06 19:33 Alieen617 阅读(233) 评论(0) 推荐(0)