在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/
相關文章
- 在LoadRunner中為什麼要設定思考時間和pacing?
- 【web】Spring RestTemplate提交時設定http header請求頭WebSpringRESTHTTPHeader
- angular學習筆記(二十六)-$http(4)-設定請求超時Angular筆記HTTP
- axios請求超時,設定重新請求的完美解決方法iOS
- 【HTTP】HTTP請求體中的四種格式HTTP
- ajax中POST請求與引數(請求體)設定
- ajax中設定請求頭和自定義請求頭
- 在lua中操作http請求有兩種方式HTTP
- HTTP請求預設值HTTP
- 淺嘗flutter中的http請求FlutterHTTP
- 使用Python請求http/https時設定失敗重試次數PythonHTTP
- ruby進行http請求頭設定及獲取HTTP
- LB層到Real Server之間訪問請求的響應時間及HTTP狀態碼監控及報警設定ServerHTTP
- 在Java中,使用HttpUtils實現傳送HTTP請求JavaHTTP
- ASP.NET Core中介軟體計算Http請求時間ASP.NETHTTP
- AngualrJS中每次$http請求時的一個遮罩層DirectiveJSHTTP遮罩
- 在Node.js中發起HTTP請求的5種方法Node.jsHTTP
- http請求HTTP
- HTTP 請求HTTP
- angular學習筆記(二十四)-$http(2)-設定http請求頭Angular筆記HTTP
- HTTP請求頭中的refer欄位HTTP
- HTTP 請求頭中的 X-Forwarded-ForHTTPForward
- LoadRunner中90%響應時間的理解
- HTTP請求中的referrer和Referrer-PolicyHTTP
- Http 請求頭中的 Proxy-ConnectionHTTP
- vitess中rpc相容http請求的技巧ViteRPCHTTP
- HTTP協議---HTTP請求中的常用請求欄位和HTTP的響應狀態碼及響應頭HTTP協議
- SAP UI5 OData 請求的自定義 HTTP header 設定方法UIHTTPHeader
- http請求概述HTTP
- HTTP請求方法HTTP
- http請求頭HTTP
- HTTP的請求過程HTTP
- golang 的 http 請求池GolangHTTP
- 我知道的HTTP請求HTTP
- 隨著併發數增加http併發請求時間特別長HTTP
- http請求頭中的Content-Type屬性在angular 和 node中的用法HTTPAngular
- Jmeter —— jmeter設定HTTP資訊頭管理器模擬請求頭JMeterHTTP
- JavaScript中發出HTTP請求最常用的方法JavaScriptHTTP