2023年6月29日

摘要: import java.nio.charset.StandardCharsets; import java.security.KeyFactory; import java.security.PrivateKey; import java.security.Signature; import jav 阅读全文
posted @ 2023-06-29 17:46 无锡-小松 阅读(88) 评论(0) 推荐(0) 编辑

2022年6月14日

摘要: /* 1、其中自定义部分变量清参考脚本中对变量的设置 */ import org.apache.jmeter.config.Arguments; import org.apache.jmeter.protocol.http.control.HeaderManager; import org.apac 阅读全文
posted @ 2022-06-14 16:33 无锡-小松 阅读(372) 评论(0) 推荐(1) 编辑

2022年6月7日

摘要: 1.安装beego; go get -u github.com/astaxie/beego go get -u github.com/beego/bee 当出现如下错误的时候 #错误1C:\Users\Administrator>go get -u github.com/astaxie/beego 阅读全文
posted @ 2022-06-07 16:15 无锡-小松 阅读(995) 评论(0) 推荐(0) 编辑

2022年5月14日

摘要: 创建文件 import ( "fmt" "os" ) func main() { //创建文件时,需要指定文件的存储路径以及文件名称 file, err := os.Create("D:/Test/a.txt") if err != nil { fmt.Println(err) } //对文件进行操 阅读全文
posted @ 2022-05-14 23:44 无锡-小松 阅读(76) 评论(0) 推荐(0) 编辑
 
摘要: go异常处理 import ( "errors" "fmt" ) func main() { num, err := ErrorTest(0, 10) if err != nil { fmt.Println(err) } else { fmt.Println(num) } } func ErrorT 阅读全文
posted @ 2022-05-14 00:27 无锡-小松 阅读(31) 评论(0) 推荐(0) 编辑

2022年5月8日

摘要: [root@localhost src]# pwd /usr/local/src [root@localhost src]# ls redis-6.2.7.tar.gz [root@localhost src]# tar xf redis-6.2.7.tar.gz [root@localhost s 阅读全文
posted @ 2022-05-08 19:40 无锡-小松 阅读(7) 评论(0) 推荐(0) 编辑

2022年4月28日

摘要: 以下图为例进行测试 # coding = utf-8s import csv from loguru import logger #将一个有序的字符串转化成一个list def str_split(list_param): str = list_param[0] return str.split(' 阅读全文
posted @ 2022-04-28 14:33 无锡-小松 阅读(394) 评论(0) 推荐(0) 编辑

2022年4月27日

摘要: 第一步:安装python,并设置环境变量 相信这一步没有任何难度,python安装时建议选择自定义安装 剩下的一路下一步,当遇到下图页面时,需要选择安装路径,笔者这里选择C:\Program Files进行安装 剩下的步骤不在描述,下一步就行; 第二步:配置环境变量 打开我的电脑,鼠标右键,选择属性 阅读全文
posted @ 2022-04-27 17:48 无锡-小松 阅读(788) 评论(0) 推荐(0) 编辑

2022年4月24日

摘要: jmeter使用过程中需要在对body的内容进行加密处理,比如md5加密方式或者sha256等等,需要获取body的内容然后再进行加密 获取body,例如请求的body为 { "msgId": "${msgId}", "orderNum": "${orderNum}", "termId": "${t 阅读全文
posted @ 2022-04-24 16:49 无锡-小松 阅读(2679) 评论(0) 推荐(0) 编辑

2022年4月20日

摘要: 反向代理也叫reverse proxy,指的是代理外网用户的请求到内部指定web服务器,并将数据返回给用户的一种方式,这是用的比较多的一种方式。 ngx_http_prixy_module:将客户端的请求以http协议转发至指定服务器进行处理。 ngx_stream_proxy_module:将客户 阅读全文
posted @ 2022-04-20 00:11 无锡-小松 阅读(437) 评论(0) 推荐(0) 编辑