import configparser base_path = os.getcwd() sys.path.append(base_path) file_path = base_path+" /Config/server.ini" cf = configparser.ConfigParser() cf ...
分类:
其他好文 时间:
2020-11-30 15:29:14
阅读次数:
4
接口测试平台:支持多线程执行(压测)由于testng本身是支持多线程执行的,我们只需要调用testng的多线程就可以。集合详情内新增了两个字段:threadPoolSize和repeatTimes,对应线程数和重复执行次数。Server端代码,新增了一个MultiThreadingListener监听类,用以修改testng的InvocationCount和ThreadPoolSize。(详细用法
分类:
编程语言 时间:
2020-11-30 15:17:56
阅读次数:
10
在CentOS容器内执行 yum install passwd openssl openssh-server -y # Ubuntu把yum改成apt-get ssh-keygen -q -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N '' ssh-ke ...
分类:
系统相关 时间:
2020-11-27 11:39:01
阅读次数:
15
使用IdentityServer的起点! 安装 IdentityServer4 模板 dotnet new -i IdentityServer4.Template 1、IdentityServer4 创建IdentityServer4项目: dotnet new is4empty -n 项目名 定义 ...
分类:
其他好文 时间:
2020-11-27 11:16:39
阅读次数:
7
xdebug 原理 : php 服务器为 client , phpstom 为调试服务器 获取php对应的xdebug 版本: https://xdebug.org/wizard php.ini 配置: zend_extension=xdebug.so xdebug.remote_enable=1 ...
分类:
Web程序 时间:
2020-11-27 11:05:40
阅读次数:
12
首先:开启binlog日志 server-id=1 log-bin=mysql-bin binlog_format=MIXED binlog_format有三种格式: 1)只有sql语句STATEMENT, 你不知道源数据内容是什么,不好恢复 2)ROW模式 这种会记录下源数据内容是什么,记录的日志 ...
分类:
数据库 时间:
2020-11-26 15:17:15
阅读次数:
11
void gridView1_MouseDown(object sender, MouseEventArgs e) { GridHitInfo info; Point pt = winGridView1.gridView1.GridControl.PointToClient(Control.Mous ...
分类:
其他好文 时间:
2020-11-26 15:06:38
阅读次数:
5
1.在application.properties中添加如下内容 server.port=8888 spring.mvc.servlet.path=/test 2.访问127.0.0.1:8888/test/hello ...
分类:
编程语言 时间:
2020-11-26 15:04:09
阅读次数:
8
select * from v$sql select row_number() over (order by a.username, a.client_info, a.terminal) as id , a.username, a.sid, a.serial# as serial_id, a.cli ...
分类:
数据库 时间:
2020-11-26 14:51:52
阅读次数:
9
saveImage()方法 // 分别获取当前日期 与小时做文件夹 SimpleDateFormat formapath = new SimpleDateFormat("yyyyMMdd"); SimpleDateFormat formahhpath = new SimpleDateFormat(" ...
分类:
编程语言 时间:
2020-11-26 14:51:02
阅读次数:
5