关于Loadrunner 错误解决

录制脚本时,总会出现一些莫名其妙的错误,下面总结了一些:

1、[MsgId: MESG-26388] 错误解决方法:

Action.c(29): web_submit_form("UserLogin.action") highest severity level was "ERROR", 172503 body bytes, 19076 header bytes [MsgId: MMSG-26388]

改用基于URL的脚本录制方式,然后回放后,就一切ok了。

 

2、[MsgId: MERR-27979] 错误解决方法:
LR中录制脚本时有如下问题:

在录制时一切正常,而回放时提示类似如下错误:
Action.c(41): Error -27979: Requested form not found                                [MsgId: MERR-27979]
             Action.c(41): web_submit_form highest severity level was "ERROR",              0 body bytes, 0 header bytes                       [MsgId: MMSG-27178]"

 

 这时在tree view中看不到此组件的相关URL。
 
处理方法如下:
1, 打开recording options,在internet protocol下的recording中选择recording level为HTML-based script,点击HTML Advanced,选择script type为A script containing explicit.即可。
2, 选择使用URL_based script录制。
另外,附上帮助中的这个错误代码的说明:

3、Message Code 27979

Requested form not found

The form was not found in the page received from the server. Possible reasons: (i) The current or a previous HTML page was changed after the script was recorded. (ii) A previous request navigated to a wrong page or failed. (iii) One or more web_submit_form arguments are missing or incorrect (especially for manually coded, parameterized, or correlated functions). (iv) The server returned an unexpected page (e.g., under excessive load).

Troubleshooting

  • If the current or previous HTML page was changed, look for the correct properties of the form used in the text (e.g., action), and change it in the script.
  • If your snapshots and extended log are disabled, enable them and run the script again.
    (i) To enable Snapshots: Select Tools > General Options > Correlation, and check the Save correlation information during replay box.
    (ii) To enable Extended Log: Select Run-time Settings > General: Log, and check Enable logging, Always send messages, Extended log, Data returned by server, Advanced trace.
  • Compare the record and replay snapshots for each step in the script from the beginning, and locate the first difference. If you identify a difference in the snapshots, locate the corresponding HTTP request in both the recording log and the extended log. Compare the requests and, if they are different, have the replay issue exactly the same request. This can be done, for example, by adding web_add_header (for adding missing headers or adjusting existing ones), web_remove_auto_header (for removing extra headers), and web_add_cookie (for missing cookies).
  • If some correlation is missing, (e.g., the recording and replay runs have different session IDs), use the correlation tool to locate and handle such cases.
二、关于highest severity level was "ERROR" 另一解决方法:

错误:

ction.c(34): Error -27727: Step download timeout (120 seconds) has expired when downloading resource(s). Set the "Resource Page Timeout is a Warning" Run-Time Setting to Yes/No to have this message as a warning/error, respectively   [MsgId: MERR-27727]
Action.c(34): web_link("****") highest severity level was "ERROR", 14506915 body bytes, 547 header bytes   [MsgId: MMSG-26388]Ending action Action.

解决方法:

取消选中run time settings-browser emulation-download non-html resources.解决 。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/416103.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

[HNOI 2001]求正整数

Description 对于任意输入的正整数n,请编程求出具有n个不同因子的最小正整数m。例如:n4,则m6,因为6有4个不同整数因子1,2,3,6;而且是最小的有4个因子的整数。 Input n(1≤…

APP支付报错ALI40247解决方案

APP支付交易参数验证不通过,请在SDK返回的result中查看具体的错误信息sub_code、sub_msg等(如有返回),同时可在 公共返回码 列表中找到对应的解决方案。 参考检查方向: 1、检查APPID对应的支付宝账号是否有App支付接口…

微信 wx.chooseImage 上传图片 的思考

开发微信上传图片功能,我的想法是选择图片后,不调用wx.uploadImage上传到微信后台,而是自己组织一下,直接上传到阿里云OSS,因为看到了官方文档到说明localId可以作为img标签的src属性显示图片。 wx.chooseImage({coun…

发布服务器 bugzilla, streber 数据库备份方案

发布服务器 bugzilla, streber 数据库备份方案 Bugzilla, Streber 目前均使用 MySQL 数据库。备份的方法是将两个库导出为 sql 脚本,然后压缩为 zip 文件,按日期保存在 d:/backup/mysql 目录下。利用 Windows 的 计划任务 启动备份,每天备份一…

(转载)控制反转(IoC)与依赖注入(DI)

http://zhangjunhd.blog.51cto.com/113473/126530/转载于:https://www.cnblogs.com/eecs2016/articles/7417091.html

微信 开发 图片 上传 阿里云 oss 服务器

在做微信开发时,我需要将图片上传至阿里云OSS,思路是服务端下载微信图片再转存至OSS。 wx.chooseImage({count: 1, // 默认9sizeType: [original, compressed],sourceType: [album, camera],success: function (res) {var localIds res.localIds;wx.up…

教你创建自己的CSDN博客专栏

首先说明一下 专栏创建标准: 1. 申请者的CSDN个人博客中原创技术性博客文章要多于15篇。 2. 申请专栏主题明确,简介翔实清晰,并且与IT技术相关首先进入博客专栏:https://blog.csdn.net/column.html,点击我的专栏跳转预…

开发服务器 VSS开发库 自动备份方案

开发服务器 VSS开发库 自动备份方案 vss开发库每天备份一次,脚本如下:from F:/backup/dev_vss_backup.bat set src_dirf:/dev_vssset dest_file%date:~0,4%%date:~5,2%%date:~8,2%set dest_dirdev_vss;if exist %dest_dir% goto do_itmkdir %dest_dir%;:do_itzip -r…

工作95视频上传逻辑

定好是前端直接把视频传到他们的服务器,还是先到我 们的后端暂存,提交的时候在存到他们那边

JAVA 成员访问权限修饰符

修饰符 类内部 package内 子类 其他 public 允许 允许 允许 允许 protected 允许 允许 允许 不允许 default 允许 允许 …

微信 网页开发 获取地理位置 高德地图显示

1、微信中获取地理位置经纬度 wx.getLocation({type: wgs84, // 默认为wgs84的gps坐标,如果要返回直接给openLocation用的火星坐标,可传入gcj02success: function (res) {const latitude res.latitude // 纬度,浮点数,范围为90 ~…

支付宝异步通知验签失败解决方案

原贴地址:https://openclub.alipay.com/read.php?tid1598&fid69,欢迎大家访问 说明: 验签只需要使用到支付宝公钥 ,而不是使用应用公钥!错误原因: 1.支付宝公钥使用错误导致 2.验签方法使用错误 3.…

工作96:当前页面拿id

reject(){putAction("/order/"this.ListId"/status",{status:-1,remark:""}).then(res>{this.$message({message: 审核撤回状态修改,type: success});this.close();})},/*审核通过的方法 定义在混入里面*/approve(){/*控制审核状态成功*/putA…

使用ftp上传文件到Unix系统注意事项

使用ftp上传文件到Unix系统注意事项 在使用FTP客户端上传文件到Unix系统时,应该注意将传输模式设置为二进制(Binary)传输模式,否则有可能造成传输到Unix系统的文件与实际文件大小不一致,文件无法使用。

度度熊回家

一个数轴上共有N个点,第一个点的坐标是度度熊现在位置,第N-1个点是度度熊的家。现在他需要依次的从0号坐标走到N-1号坐标。但是除了0号坐标和N-1号坐标,他可以在其余的N-2个坐标中选出一个点,并直接将这个点忽略掉,问度…

微信地图 leaflet 腾讯地图

本来在微信项目中使用的高德地图,发现不是想象中的好用,而且用了微信,感觉使用腾讯地图会比较方便,所以,索性使用leaflet腾讯地图的底图来实现。 其中关于正确使用腾讯地图参考了https://github.com/wuxiashuangji/TX…

支付宝会员卡开卡表单模板配置(alipay.marketing.card.formtemplate.set)JAVA版本demo

官方接口文档: https://docs.open.alipay.com/251/105668/ ,我这里写的是开卡组件前两步的操作流程, 仅供参考1. 调用接口前的准备工作(创建应用等)参考该文档 :https://docs.open.alipay.com/251/105731/2.核心代码,这…