日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

关于Loadrunner 错误解决

發(fā)布時(shí)間:2023/12/10 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 关于Loadrunner 错误解决 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

錄制腳本時(shí),總會(huì)出現(xiàn)一些莫名其妙的錯(cuò)誤,下面總結(jié)了一些:

1、[MsgId: MESG-26388] 錯(cuò)誤解決方法:

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] 錯(cuò)誤解決方法:
LR中錄制腳本時(shí)有如下問(wèn)題:

在錄制時(shí)一切正常,而回放時(shí)提示類似如下錯(cuò)誤: 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]"

?

 這時(shí)在tree view中看不到此組件的相關(guān)URL。   處理方法如下: 1,?打開recording options,在internet protocol下的recording中選擇recording level為HTML-based script,點(diǎn)擊HTML Advanced,選擇script type為A script containing explicit.即可。 2,?選擇使用URL_based script錄制。 另外,附上幫助中的這個(gè)錯(cuò)誤代碼的說(shuō)明:

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.
二、關(guān)于highest severity level was "ERROR" 另一解決方法:

錯(cuò)誤:

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.解決?。

總結(jié)

以上是生活随笔為你收集整理的关于Loadrunner 错误解决的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。