Error: -27751: Step download timeout 120 seconds has expired
web_url("bigbazaar",
"URL=http://wikishown.com/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
"Url=images/bb_h_img2.jpg", ENDITEM,
"Url=images/bb_h_img1.jpg", ENDITEM,
"Url=images/bb_h_img3.jpg", ENDITEM,
"Url=images/loadingAnimation.gif", ENDITEM,
"Url=../favicon.ico", "Referer=", ENDITEM,
LAST);
In order to execute web_url() successfully Virtual User generator first downloads EXTRARES and it start execute the web_url() function ,in case downloading time completed as per setting then you will error message in reply log as
Error: -27751: Step download timeout (120 seconds) has expired when downloading resource
Resource downloading default time is 120 seconds,you can change resource downloading settings in Run time settings,please follow below steps to change resource
downloading time settings.
STEP 1 : Open Run Time Settings.
STEP 2 : Go to Internet Protocol - Preferences.
[caption id="attachment_1020" align="aligncenter" width="561"] Preferences Options[/caption]
STEP 3 : Click on Options button on preferences window.
STEP 4 : Just scroll down to General - Step Download Timeout (secs) here default time is 120 seconds.You can change it to your desired value.
STEP 5 :Click on OK and again Click on OK button
In case you want to set timeout value in script itself then you can use web_set_timeout() function to increase time limit in script for downloading resources as below
web_set_timeout()
The function which works to wait until given time to CONNECT,RECEIVE OR STEP to complete particular action.
web_set_timeout("STEP","60");
After setting the time increased limit,now try to run your script in VUGen ,you will not face any problems while downloading the resources and test script will run successfully with out any problem.Please provide your valuable comments on this posts, so that i will know that you got solution.
No comments:
Post a Comment