摘要: The repository for this project is empty You can create files directly in GitLab using one of the following options. New file Add README Add CHANGELOG 阅读全文
posted @ 2021-12-23 10:11 hamona 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 主: remote_hosts=10.0.70.35:1099,10.0.70.47:1099 server.rmi.localport=1099 从: remote_hosts=10.0.70.35:1099 server.rmi.localport=1099 主从文件路径一致 ./jmeter  阅读全文
posted @ 2018-12-13 14:27 hamona 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1. ${__time(yyyy-MM-dd HH:mm:ss,)} 2. import use.GetRsaContent; String pfxPath = "pfx";String key_password = "111111"; String content = "{\"member_id\ 阅读全文
posted @ 2018-11-12 15:19 hamona 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1. 在IDEA中新建一个maven工程。 2. 编写工具类方法,如加密算法。此处以加法为例。 3. 在maven中配置将依赖包打包至某固定位置。 5. 将自己项目的jar包和lib目录下的所有jar包拷贝到jmeter的lib目录下。(也可能没有第三方依赖包,根据你的项目而定) 6. 到jmete 阅读全文
posted @ 2018-06-27 19:55 hamona 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 1.1 配置Java环境 1. 下载并安装Jdk1.7或Jdk1.8 http://www.oracle.com/technetwork/java/javase/downloads/index.html http://www.oracle.com/technetwork/java/javase/do 阅读全文
posted @ 2018-06-27 19:03 hamona 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 后台性能测试不可不知的二三事 某月黑风高之夜,某打车平台上线了一大波(G+)优惠活动,众人纷纷下单。于是乎,该打车平台使用的智能提示服务扛不住直接趴窝了(如下图)。事后,负责智能提示服务开发和运维的有关部门开会后决定:必须对智能提示服务进行一次全面深入的性能摸底,立刻!现在!马上! 那么一大坨问题就 阅读全文
posted @ 2016-07-29 09:12 hamona 阅读(11111) 评论(3) 推荐(3) 编辑
摘要: 有关mysql数据库方面的操作,必须首先登录到mysql中。 开启MySQL服务后,使用MySQL命令可以登录。一般使用mysql -uroot -p即可。如果数据库不是本机,则需要加参数,常用参数如下:1,-h,指定ip地址,默认为localhost2,-u,指定用户名。3,-p,指定密码,密码可 阅读全文
posted @ 2016-07-07 17:49 hamona 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1. ReadFile: Action(){ int count,total=0; char buffer [50]; long file_stream; char * filename = "C:\\test.txt"; //读取文件的存放位置 //判断是否可以读取文件 if((file_stre 阅读全文
posted @ 2016-06-16 10:55 hamona 阅读(191) 评论(0) 推荐(0) 编辑
摘要: package com.bestpay.test;import java.lang.reflect.InvocationTargetException;import java.lang.reflect.Method;/** * Created by Administrator on 2016/4/2 阅读全文
posted @ 2016-04-25 09:24 hamona 阅读(190) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/5iasp/article/details/38545875private void readAccount() throws IOException { ByteArrayOutputStream outputStream = new ByteArrayO 阅读全文
posted @ 2016-03-03 16:00 hamona 阅读(262) 评论(0) 推荐(0) 编辑