A solution for highest severity level was "error" in LR playback

Source: Internet
Author: User
The following problems occur when recording scripts in LR:

 

Everything works normally during recording, and the following error is prompted during playback:

 

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]"

 

In this case, the related URL of this component is not displayed in the Tree View. The solution is as follows: 1. Open recording options, select HTML-based script for recording under Internet protocol, click HTML advanced, and select a script type as a script containing explicit. you can. 2. Choose to use url_based script for recording. In addition, a description of the error code in help is attached:

Message code 27979

Requested form not found

The form was not found in the page already ed 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: selectTools> General Options> correlation, And checkSave correlation information during ReplayBox.
      (Ii) To enable extended log: selectRun-Time Settings> General: Log, And checkEnable 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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.