05 2021 档案
摘要:问题描述: 脚本实现删除场景名称为test1的记录,删除请求响应删除成功{"success":true,"data":"","code":200,"message":"删除成功!"},但是前台显示该数据仍然存在 原脚本实现如下: Action() { int i=1,busiSceneIdnum;
阅读全文
摘要:处理的Json数据: { "success":true, "data":{ "current":1, "size":5, "pageSizes":[ 5, 10, 15, 20, 25 ], "total":4, "pageCount":0, "start":0, "end":0, "tablesA
阅读全文
摘要:环境准备: 1、准备好测试用的Mysql数据库。 2、下载并安装mysql odbc x32:https://dev.mysql.com/downloads/connector/odbc/ 3、配置数据源(应该配置32位数据源) 遇到的问题: 1、“DB Connection failed {"ER
阅读全文
摘要:示例1: 该平台登录过程及脚本实现过程如下: 1、通过“http://10.248.57.226:9010/user-center/user-info/publicKey?machineFlag=1&randomStr=1395644086717349888”请求获取响应报文中的publicKey及
阅读全文
摘要:1、while控制器 Condition为空:当最后一个节点运行失败时退出循环。若失败节点不是最后一个(例如中间的节点),则会一直循环执行下去。 Condition为LAST:当最后一个节点运行失败时退出循环。若该控制器的上一个节点失败了,则TestPlan执行时不再进入该控制器。 Conditio
阅读全文
摘要:连接mysql数据库:mysql -uroot -p 查看版本号:select version(); create database tempdb char set utf8; use tempdb; create table student( id int not null auto_increm
阅读全文
摘要:查看OS版本:cat /etc/redhat-release查看内核版本:uname -r查看网卡信息:ethtool -i 网卡名称,回显驱动版本号为空则需升级。例如:ethtool -i enp70s0(网卡名称的含义: en代表以太网卡 p70s0代表PCI接口的物理位置为(70, 0), 其
阅读全文
摘要:Web Vuser Functions: C Language (WEB) HTTP-related functions have a web prefix. See: Action Functions Authentication Functions Asynchonous Functions C
阅读全文
摘要:问题描述:Controller执行完毕后,log文件夹下为空,无虚拟用户的日志文件输出。 问题定位:可通过Controller查看单个虚拟用户的日志信息,方法为点击Vusers->show vuser log即可(如下图所示),我们可以看到界面的提示信息:当前为JIT(实时)消息模式,只有在报错时才
阅读全文
摘要:根据使用手册内容可见,LR支持的关于Information Functions包括: lr_end_timer Stops a timer. lr_get_host_name Returns the name of the host executing the script. lr_get_mast
阅读全文