在LoadRunner中設定HTTP請求time-out的時間
Error -27728: Step download timeout (120 seconds) has expired when downloading non-resource(s) [MsgId: MERR-27728]
LR預設使用120秒作為每一個HTTP請求連線和接收和timeout時間,如果一個HTTP下載頁面的時間超過120秒,那麼就會碰到上面的錯誤提示。
Step Download Timeout means that the step needed to performed for the subsequent step to be performed have reached its timeout limit (default is 120 secs) in LoadRunner.
If the error occurs during the generation of the script (replay in Vugen), it could mean that the application is really taking time of more than 120 secs to complete the download of the resources. You may want to configure the timing to suit your application needs.
如果錯誤是在Vugen回放指令碼時發生的,也就意味著應用程式真的需要超過120秒來完成資源的下載,這時可能就需要配置run-time settings中的timeout時間了:
Increase the run-time timeout settings: In VuGen or the Controller, select Run-Time Settings > Internet Protocol: Preferences, click the Options button, and increase the "HTTP-request connect timeout" or "HTTP-request receive" timeout values.
If the error occurs during a scenario execution and happens in the middle of the scenario (usually with a large amount of load), the application is handling a lot of load and unable to attend to all the vuser request, thus (maybe) taking more than the configured download timing. For this,it will be better advisable to look at the system utilization of the server to seeth out any performance problems.
如果錯誤是在場景執行的過程中發生的,則通常是由於系統受到很大的壓力而不能及時地處理某些虛擬使用者的請求導致的,這應該是效能問題,需要進一步查詢效能瓶頸了。
參考:
關於是否要配置timeout可參考:
http://www.loadrunnertnt.com/concepts/should-i-configure-step-download-timeout/
相關文章
- JAVA設定http請求代理JavaHTTP
- 使用Python請求http/https時設定失敗重試次數PythonHTTP
- axios請求超時,設定重新請求的完美解決方法iOS
- LoadRunner中90%響應時間的理解
- HTTP請求預設值HTTP
- 【HTTP】HTTP請求體中的四種格式HTTP
- ajax中POST請求與引數(請求體)設定
- ajax中設定請求頭和自定義請求頭
- 在lua中操作http請求有兩種方式HTTP
- 淺嘗flutter中的http請求FlutterHTTP
- ASP.NET Core中介軟體計算Http請求時間ASP.NETHTTP
- 在Java中,使用HttpUtils實現傳送HTTP請求JavaHTTP
- SAP UI5 OData 請求的自定義 HTTP header 設定方法UIHTTPHeader
- 在Node.js中發起HTTP請求的5種方法Node.jsHTTP
- 【Python】Python 使用http時間同步設定系統時間原始碼PythonHTTP原始碼
- http請求概述HTTP
- Jsoup http請求JSHTTP
- go http請求GoHTTP
- HTTP請求中的referrer和Referrer-PolicyHTTP
- HTTP的請求過程HTTP
- golang 的 http 請求池GolangHTTP
- 中止請求和超時 跨域的HTTP請求 認證方式 JSONP跨域HTTPJSON
- Python中get、post請求詳解(HTTP請求頭、狀態碼)PythonHTTP
- 合併HTTP請求vs並行HTTP請求,到底誰更快?HTTP並行
- 合併HTTP請求 vs 並行HTTP請求,到底誰更快?HTTP並行
- C#中HttpWebRequest發起HTTP請求,如何設定才能達到最大併發和效能C#HTTPWeb
- JavaScript中發出HTTP請求最常用的方法JavaScriptHTTP
- http請求中get和post方法的區別HTTP
- Jmeter —— jmeter設定HTTP資訊頭管理器模擬請求頭JMeterHTTP
- HTTP的請求與響應HTTP
- golang常用的http請求操作GolangHTTP
- HTTP請求報文HTTP
- Cookie 與 HTTP請求CookieHTTP
- python做http請求PythonHTTP
- Angular 如何通過 HTTP Interceptor 實現 HTTP 請求的超時監控AngularHTTP
- 關於在request請求時,處理請求引數的問題
- [入門向]在Golang中像Python一樣快速使用HTTP請求GolangPythonHTTP
- 在 .NET 中使用 Flurl 高效處理Http請求HTTP
- curl 請求獲取響應時間