当前位置:网站首页>LoadRunner运行过程中的一个诡异问题
LoadRunner运行过程中的一个诡异问题
2022-07-20 12:41:00 【全栈程序员站长】
大家好,又见面了,我是全栈君。
最近使用loadrunner压测一个项目的时候,发现TPS波动巨大、且平均值较低。使用jmeter压测则没有这个问题。经过多方排查发现一个让人极度费解的原因:
原脚本:
//脚本其他代码 …… web_submit_data(“aaa”, “Action=http://demo.ddd.com/aaa?a=xr23498isfgljfsfd&b=adfasdfoi4308askdfjkla”, //此处为密文链接 “Method=POST”, “RecContentType=text/html”, “Referer=http://demo.ddd.com/ccc?a=xr23498isfgljfsfd&b=adfasdfoi4308askdfjkla”, “Snapshot=t2.inf”, “Mode=HTTP”, ITEMDATA, LAST); //事务判断逻辑等代码 ….. |
---|
TPS图如下:
修改后的代码:
//脚本其他代码 …… web_submit_data(“aaa”, “Action=http://demo.ddd.com/aaa?a=xr23498isfgljfsfd&b=adfasdfoi4308askdfjkla”, //此处为密文链接 “Method=GET”, “RecContentType=text/html”, “Referer=http://demo.ddd.com/ccc?a=xr23498isfgljfsfd&b=adfasdfoi4308askdfjkla”, “Snapshot=t2.inf”, “Mode=HTTP”, ITEMDATA, LAST); //事务判断逻辑等代码 ….. |
---|
问题得以解决。后来猜测是否loadrunner对于URL中加密的参数/值对兼容性有问题?
最新内容请见作者的GitHub页:http://qaseven.github.io/
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/108364.html原文链接:https://javaforall.cn
边栏推荐
- 【Appium】Failed to create session. An unknown server-side error occurred while processing the command
- Yyds dry goods inventory # solve the real problem of famous enterprises: small trick meow running
- R language uses the aggregate function of epidisplay package to divide numerical variables into different subsets based on factor variables, calculate the summary statistics of each subset, and calcul
- Yes, another testing partner with a monthly salary of more than 10000!
- 包揽数理化国际奥赛全部第一,全员金牌,网友:中国队太秀了
- Question d'entrevue 2
- Zcmu--5150: GSY's warehouse blind run (C language)
- thinkphp 实现 MongoDB CURD
- How to improve the clarity of LED display?
- 1260. 二维网格迁移 : 简单构造模拟题
猜你喜欢
When I came to interview Ali test engineer, the interviewer asked me about my plan for the next 3-5 years, and I drew a big cake for the interviewer.
给1万帧视频做目标分割,显存占用还不到1.4GB,代码已开源 | ECCV 2022
IReport导出PDF字体加粗失效
Recommend a WordPress paid theme station
Grafana visual configuration chart time series
Data competition mode in go language
第2讲 Hi3861的WiFi实验-AP模式
【Power Shell】Invoke-Expression ,Invoke-Expression -Command $activateCommand;错误或power shell激活虚拟环境报错失败
【Appium】Failed to create session. An unknown server-side error occurred while processing the command
openGauss内核分析:查询重写
随机推荐
G025-DB-GS-INS-02 OpenEuler 部署 OpenGauss(1主1备)
Sorting out and solutions of common problems in pytorch
【机器学习】《蒲公英书》1
Grafana visual configuration chart time series
从放弃到精通,这13篇推荐系统论文一定要读!【附资料】
Sax解析xml及pull解析xml
没错,又是一位月薪过万的测试小伙伴!
Sax parsing XML and pull parsing XML
《流浪(Stray)》工人外套与安全帽获得方法 工人安全帽怎么获得
第2讲 Hi3861的WiFi实验-API-3
多线程与高并发(二)—— Synchronized 加锁解锁流程
sql 命令insert into 的作业没办法通过savepoint启动么?或是我集群关闭重启的时
After Huawei, no one can stop apple. It is expected that iphone14 will be popular with hundreds of millions of domestic users
sigsuspend 与 sigwait 的区别
V853开发板硬件资料——RISC-V核E907用户手册
机器学习基础篇(3)之图像运算和变换
Insightface paddle User Guide (1)
#yyds干货盘点# 解决名企真题:小招喵跑步
强烈推荐 | 卷积神经网络综述:从基础技术到研究前景
总结 | 基于深度学习的医学图像半监督分割