在LoadRunner中設定HTTP請求time-out的時間

TIB發表於2010-02-03

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.

如果錯誤是在場景執行的過程中發生的,則通常是由於系統受到很大的壓力而不能及時地處理某些虛擬使用者的請求導致的,這應該是效能問題,需要進一步查詢效能瓶頸了。

 

參考:

http://www.loadrunnertnt.com/errors/error-27728-step-download-timeout-120-seconds-has-expired-when-downloading-non-resources-msgid-merr-27728/

 

關於是否要配置timeout可參考:

http://www.loadrunnertnt.com/concepts/should-i-configure-step-download-timeout/

相關文章