1、在此界面點擊Run Load Tests提示:
”Can not save the license information because access to the registry is denied, please provide the current user with write permission for the HKEY_LOCAL_MACHINE registry key”。
解決辦法:右鍵以管理員方式運行LoadRunner,再次選擇Run Load Tests即可。

2、錄制的腳本中中文顯示亂碼問題,解決方案如下所示:
選擇Tools->Recording Options-> Advanced -> Support charset-> UTF-8即可解決。
3、錄制回放報錯,Errors:-27780
解決辦法:run-time settings->preferences->勾上WININET replay instead of Sockets。
【關於WININET replay instead of Sockets】:官方文檔上面的說明為: Use WinInet replay instead of Sockets (Windows only). Instructs VuGen to use the WinInet replay engine instead of the standard Sockets replay. VuGen has two HTTP replay engines: Sockets-based (default) or WinInet based. The WinInet is the engine used by Internet Explorer and it supports all of the features incorporated into the IE browser. The limitations of the WinInet replay engine are that it is not scalable and does not support Linux. In addition, when working with threads, the WinInet engine does not accurately emulate the modem speed and number of connections. VuGen's proprietary sockets-based replay is a lighter engine that is scalable for load testing. It is also accurate when working with threads. The limitation of the sockets-based engine is that it does not support SOCKS proxy. If you are recording in that type of environment, use the WinInet replay engine.Default value: disabled (socket-based replay engine).(使用經由WinInet重播,而不是套接字(僅支持Windows)。指示VuGen使用經由WinInet回放引擎而不是標准的socketss重播。VuGen有兩個HTTP重播引擎:基於sockets(默認)或經由WinInet。經由WinInet引擎使用Internet Explorer和它所支持的所有功能納入IE瀏覽器。經由WinInet回放引擎的局限性是它不是可伸縮,不支持Linux。此外,使用線程時,經由WinInet引擎不准確模擬調制解調器的速度和數量的連接。VuGen專有的基於回放是較輕的引擎,是可伸縮的負載測試。這也是准確的在處理線程。基於sockets的局限性是它不支持socks代理。如果你是記錄在這種類型的環境中,使用經由WinInet重播引擎。默認值:禁用(基於socket的重播引擎)。)

4、勾選了"WININET replay instead of Sockets"選項后,錄制回放報錯,Errors:-27492
解決方法:運行時的連接超時時間設置得太低了,試試把runtime setting中的preferences-->options-->http-request connect timeout(sec)的值設大一點.

6、在添加關聯函數后回放腳本,出現Error-26377的錯誤,引起這個錯誤的可能原因有:
1.)確認關聯的內容在當前腳本中的web_url頁面中
2.)被存儲於參數中的關聯內容字節大小是否小於等於256,如果大於,則需要設置web_set_max_html_param_len函數,腳本為:web_set_max_html_param_len("999999");
7、當錄制的腳本在樹視圖下找不到Login的url時,要改用URL-based script模式去錄制
8、Error -26359: Function not allowed within a concurrent group
解決方法:web_set_max_html_param_len("9999999");這個函數在基於url錄制的腳本中,應該寫在web_concurrent_end之后,web_concurrent_start之前,不能寫在一對web_concurrent_start和web_concurrent_end之間;否則報錯。
9、Action.c(56): Error -27216: Invalid argument (number 4) [MsgId: MERR-27216]
Action.c(56): Registering web_reg_save_param highest severity level was "ERROR" [MsgId: MMSG-26389]
解決方法:參數化無效->是自己敲進去的代碼,運行報錯;用插入的代碼,則運行成功。
10、Action.c(69): Error -35061: No match found for the requested parameter "CorrelationParameter_1". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-35061]
Action.c(69): Registering web_url("nav.pl") highest severity level was "ERROR" [MsgId: MMSG-26389]
解決辦法:注釋或刪除"RequestUrl=*/workDaily.do*",這一行。
11、run load test或在controller打開腳本提示:提示無效虛擬用戶腳本,可能是腳本路徑變了,可嘗試在VG打開腳本再創建場景tools-create controller scenario;
12、開始菜單打開controller,彈出提示:可嘗試右鍵管理員身份運行(凡是遇到license之類的問題,都可以重新以管理員身份運行)
13、直接打開腳本運行場景前,必須啟動web server和lr agent,如果啟動后還沒有localhost,那么要從vugen啟動創建場景;
14、關於參數化的報錯error-13889
解決方法:是因為參數文件路徑不正確,需要在屬性中重新選擇改變后的參數文件路徑
15、報錯error -27987 :Requested image not found [MsgId: MERR-27987]
解決方法:Recording Options-->Recording-->HTTP/HTML Level-->HTML-based script --> HTML Advanced-->Script type