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

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.解决 。

关于Loadrunner 错误解决相关推荐

  1. lr中错误解决方法(收集)

    一.Error -27727: Step download timeout (120 seconds)has expired when downloading resource(s). Set the ...

  2. LR运行常见错误解决办法

    LR运行常见错误解决办法  一.Step download timeout (120 seconds) 这是一个经常会遇到的问题,解决得办法走以下步骤: 1.修改run time setting中的请 ...

  3. linux mysql 主从 1130_Linux Mysql 1130错误解决

    Linux Mysql 1130错误解决 今天在win32下通过navicat 远程登录Mysql时出现如下错误: 想都不用想,肯定是Mysql的访问权限问题. 首先,通过终端(我用的是SSH)远程登 ...

  4. GPU运行Tensorflow详细教程及错误解决

    GPU运行Tensorflow详细教程及错误解决 前提条件 配置GPU运行 确认是否成功配置 出现的错误及解决方案 前提条件 最重要的一点:CUDA与tensorflow的版本一点要对应,不然用不了! ...

  5. Maven 的Could not calculate build plan错误解决方法(不一定适用,看原因)

    Maven 的Could not calculate build plan错误解决方法(不一定适用,看原因): 1.将C:\Users\a\.m2\repository\org\apache\mave ...

  6. JUnit单元测试依赖包构建路径错误解决办法

    JUnit单元测试依赖包构建路径错误解决办法: 选中报错的项目文件夹→右击选择属性(ALT+Enter)→java构建路径→库→添加库→JUnit→选择合适的Junit库版本.

  7. 一条命令下载google壁纸,含错误解决方法

    该命令是从google图片搜索上搜索wallpaper的大尺寸图片,匹配其中的jpg文件进行下载. #!/bin/bash for i in {1..10}; do     for url in $( ...

  8. Centos系统上安装php遇到的错误解决方法集锦

    Centos系统上安装php遇到的错误解决方法集锦 1.configure: error: xml2-config not found. Please check your libxml2 insta ...

  9. ubuntu错误解决。

    ubuntu中出现如下错误: W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/precise-backports/main/i ...

最新文章

  1. Maven出现User setting file does not exist ...\.m2\setting.xml的问题解决(同时也解决用户.m2目录下无setting.xml文件)...
  2. 人工智能时代的产品思维(2C)
  3. read configuration - shared object - read_comp_configuration_raw
  4. MySQL的常见存储引擎介绍与参数设置调优(转载)
  5. SQLite For .Net 已经整合了32位和64位
  6. 服务器开机后显示f1 f2,电脑开机总是提示按f1 f2问题的解决办法
  7. android工程怎么连手机,安卓手机怎么进工程模式 安卓手机进工程模式教程【详解】...
  8. js 事件模型 + ( 事件类型 )
  9. [NOIP2015] 运输计划(第二弹)
  10. windows的消息机制
  11. c# spire.xls 设置文字为微软雅黑_微软推出的逆天神器,让我抛弃用了5年的 Chrome。...
  12. 2020年408真题_2020年港澳台联考真题——数学!
  13. 什么是论文陈述?论文陈述怎么写?
  14. Codeforces Round #322 (Div. 2) A. Vasya the Hipster 水题
  15. 小布语音下载安装_oppo语音助手小布小冰安装包app
  16. ECMAScript 变量
  17. ImageMagick将多张图片拼接成一张图片_高逼格九宫格图片,2020年朋友圈图片,自己做不求人...
  18. 神经网络及其在点云中的应用
  19. linux查看tomcat在,在陌生Linux环境查看Tomcat服务的方法
  20. rasa开发过程中出现的错误情况(实时更新)

热门文章

  1. 前端学习(2600):响应控制
  2. 前端学习(2564):如何触发组件的更新
  3. 前端学习(2480):接口文档使用2
  4. 前端学习(1849)vue之电商管理系统电商系统前端项目初始化
  5. 前端学习(811):api和webapi
  6. java学习(71):GUL边界布局管理器
  7. 实例43:python
  8. spark简介(大数据技术)
  9. [线性代数]Note2--矩阵消元
  10. tensorflow 目标分割_Tensorflow中的控制流和优化器