03 2021 档案

摘要:jmeter Content-Encoding 是什么 https://blog.csdn.net/u014569188/article/details/78912446 主要是为了告诉服务器或者客户端,传输的正文是什么编码 HTTP 协议中的 Transfer-Encoding https://b 阅读全文
posted @ 2021-03-31 22:53 峡谷恶霸 阅读(119) 评论(0) 推荐(0) 编辑
摘要:jmeter 新版本遇到了无法保存测试计划的bug 2021-04-01 20:21:58,371 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main] java.lang.IllegalAc 阅读全文
posted @ 2021-03-31 20:31 峡谷恶霸 阅读(1476) 评论(0) 推荐(0) 编辑
摘要:Stop : 它会直接的把接下来进行的所有线程直接停掉Shutdown: 在当前线程运行结束后,才会去把剩下的还没有执行的线程全部结束掉 Start no pauses: 无停顿启动运行测试计划 1,可以忽略定时器 2,再启动时运行更快 阅读全文
posted @ 2021-03-31 17:29 峡谷恶霸 阅读(613) 评论(0) 推荐(0) 编辑
摘要:Stop : 它会直接的把接下来进行的所有线程直接停掉Shutdown: 在当前线程运行结束后,才会去把剩下的还没有执行的线程全部结束掉 Start no pauses: 无停顿启动运行测试计划 1,可以忽略定时器 2,再启动时运行更快 阅读全文
posted @ 2021-03-31 17:24 峡谷恶霸 阅读(272) 评论(0) 推荐(0) 编辑
摘要:有两个吞吐量定时器 常量定时器规定了每分钟的吞吐量 准确定时器更加灵活,可以规定指定周期内的吞吐量,如每10秒,这部分国内资料较少 https://jmeter.apache.org/usermanual/component_reference.html#Precise_Throughput_Tim 阅读全文
posted @ 2021-03-31 17:17 峡谷恶霸 阅读(1576) 评论(0) 推荐(0) 编辑
摘要:关于线程组:延迟创建线程直到需要:延时创建线程直到该线程需要采样时。【如果勾选,例如50个线程Ramp-Up Period为10s,那么每隔1s启动50/10=5个线程并运行下面的请求(状态为running);不勾选,测试计划开始后启动所有线程(状态为new),但是不立即执行下面的请求。例如50个线 阅读全文
posted @ 2021-03-31 16:44 峡谷恶霸 阅读(515) 评论(0) 推荐(0) 编辑
摘要:简介 契约测试的背景就是微服务大行其道 契约测试最开始的概念由 Martin Fowler 提出,它又被称之为:消费者驱动的契约测试(Consumer Driven Contracts),简称CDC。这里的契约是指软件系统中各个服务间交互的数据标准格式,更多的指消费端(client)和提供端(ser 阅读全文
posted @ 2021-03-24 20:49 峡谷恶霸 阅读(334) 评论(0) 推荐(0) 编辑
摘要:Python语言利用缩进表示语句块的开始和退出(Off-side规则),而非使用花括号或者某种关键字 冒号(:)用来标识语句块的开始,块中的每一个语句都是缩进的(缩进量相同) 阅读全文
posted @ 2021-03-16 14:22 峡谷恶霸 阅读(306) 评论(0) 推荐(0) 编辑
摘要:http://cn.linux.vbird.org/linux_server/0430nis.php 阅读全文
posted @ 2021-03-10 16:01 峡谷恶霸 阅读(43) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/cute/archive/2012/05/17/2506342.html 阅读全文
posted @ 2021-03-10 15:58 峡谷恶霸 阅读(268) 评论(0) 推荐(0) 编辑
摘要:openldap 网上的烂和过时文章太多了,这里找了两个比较优秀的文章,防止再被坑。 一个是纯安装openldap 一个是openldap 结合smb做认证的 https://www.somata.net/2019/samba_openldap_build_nfs.html https://www. 阅读全文
posted @ 2021-03-10 15:38 峡谷恶霸 阅读(46) 评论(0) 推荐(0) 编辑
摘要:以下实例是使用 copy 模块的 copy.copy( 浅拷贝 )和(copy.deepcopy ): 实例 #!/usr/bin/python # -*-coding:utf-8 -*- import copy a = [1, 2, 3, 4, ['a', 'b']] #原始对象 b = a #赋 阅读全文
posted @ 2021-03-05 17:51 峡谷恶霸 阅读(29) 评论(0) 推荐(0) 编辑
摘要:#!/usr/bin/env python # -*- coding: utf-8 -*- # author:jiaoyaxiong time:2021/3/5 __author__ = 'jiaoyaxiong' import time import os import sys import ra 阅读全文
posted @ 2021-03-05 17:36 峡谷恶霸 阅读(44) 评论(0) 推荐(0) 编辑
摘要:#coding:utf-8 """ 申请本package 需要的资源,如果申请失败的话,停止后续测试,并发出告警? 申请成功的话,把资源写入环境变量中 申请网关: package_name + "id/name" eg: test_nose_gw = "xxx" os.environ["test_n 阅读全文
posted @ 2021-03-05 17:00 峡谷恶霸 阅读(43) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*- """ File Name: base_case_lib Description : 用例基库类 Author : jiaoyaxiong date: 2019/7/22 Change Activity: 2019/7/22: """ __author 阅读全文
posted @ 2021-03-05 16:25 峡谷恶霸 阅读(45) 评论(0) 推荐(0) 编辑
摘要:http://www.caneman.cn/?p=540示例HTML <html> <a> contentA <b> conetntB <c> contentB </c> <d type='type1'> contenteD </d> </b> <e> contentE </e> </a> </ht 阅读全文
posted @ 2021-03-05 16:24 峡谷恶霸 阅读(71) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/fzy629442466/article/details/84790829 https://www.cnblogs.com/hongfei/p/python-xml-sax.html 可以使用SAX来查询或者阅读XML文档。SAX可以快速扫描一个大型的XM 阅读全文
posted @ 2021-03-05 11:11 峡谷恶霸 阅读(161) 评论(0) 推荐(0) 编辑
摘要:json and xml 阅读全文
posted @ 2021-03-04 18:17 峡谷恶霸 阅读(36) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*- """ File Name: base_case_lib Description : 用例基库类 Author : jiaoyaxiong date: 2019/7/22 Change Activity: 2019/7/22: """ __author 阅读全文
posted @ 2021-03-04 18:16 峡谷恶霸 阅读(74) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*- """ File Name: conf.py Description : 读取当前文件上级目录conf 内hcs_conf.yaml的内容,返回yaml 对象 Author : jiaoyaxiong date: 2019/7/22 Change Ac 阅读全文
posted @ 2021-03-04 18:07 峡谷恶霸 阅读(93) 评论(0) 推荐(0) 编辑
摘要:# -*- coding: utf-8 -*- """ File Name: hcs-log Description : log 模块 Author : jiaoyaxiong date: 2019/7/22 Change Activity: 2019/7/22: """ __author__ = 阅读全文
posted @ 2021-03-04 17:21 峡谷恶霸 阅读(70) 评论(0) 推荐(0) 编辑
摘要:使得类实例对象可以像调用普通函数那样,以“对象名()”的形式使用 http://c.biancheng.net/view/2380.html 用 __call__() 弥补 hasattr() 函数的短板前面章节介绍了 hasattr() 函数的用法,该函数的功能是查找类的实例对象中是否包含指定名称 阅读全文
posted @ 2021-03-04 17:00 峡谷恶霸 阅读(52) 评论(0) 推荐(0) 编辑
摘要:https://www.linuxprobe.com/linux-single-mode.html https://blog.csdn.net/sj349781478/article/details/82798435 阅读全文
posted @ 2021-03-04 16:32 峡谷恶霸 阅读(36) 评论(0) 推荐(0) 编辑
摘要:# os.environ 设置的是临时环境变量,只能在一次运行中使用# 这个环境变量只在进程和子进程中可以获取到# 这里所谓的修改环境变量,仅仅影响当前python进程后续启动的子进程,对当前python进程以外的环境是没有任何影响的。# https://www.zhihu.com/question 阅读全文
posted @ 2021-03-04 16:08 峡谷恶霸 阅读(78) 评论(0) 推荐(0) 编辑