51Testing软件测试论坛

标题: loadrunner修改参数后回放报错 [打印本页]

作者: 邪皇灬小痞子    时间: 2013-6-5 16:58
标题: loadrunner修改参数后回放报错
Error -27979: Requested form not found   [MsgId: MERR-27979] 各位这样的错误怎么解决呢?告诉小弟一声,网上找的资料都不能解决麻烦大家帮帮忙。多谢。
作者: junyjiang    时间: 2013-6-6 17:21
处理方法如下:
1, 打开recording options,在internet protocol下的recording中选择recording level为HTML-based script,点击HTML Advanced,选择script type为A script containing explicit.即可。
2, 选择使用URL_based script录制论坛中的解决方案。
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.
作者: xiaoshi_2011    时间: 2013-6-24 15:32
问题已解决




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2