Problem with a record LR

82 views
Skip to first unread message

Virginie Loisel

unread,
Oct 16, 2008, 2:29:13 AM10/16/08
to lr-loa...@googlegroups.com
Hi,

I'm recording in a HTTP/HTML Script.
The recording goes fine but when i replay it, i have an error message about the laoding of a web page which if i test it manually, will load just fine:

Here is the script :

    web_url("index.htm",
        "URL=http://www.aviva-assurances.com/portail/index.htm",
        "Resource=0",
        "RecContentType=text/html",
        "Referer=",
        "Snapshot=t3.inf",
        "Mode=HTML",
        EXTRARES,
        "Url=../biblio/bandeau/credit-auto-aviva.gif", ENDITEM,
        "Url=javascript/HM_Arrays.js", ENDITEM,
        "Url=../javascript/HM_ScriptDOM.js", ENDITEM,
        "Url=http://fr.sitestat.com/aviva/assurances/s?portail.home&ns__t=1224138174817", ENDITEM,
        "Url=http://fr.sitestat.com/aviva/assurances/s?portail.home&ns__t=1224138174817&ns_p=527454&ns_type=hidden&ns_ver=132&ns_availscreen=1280x994&ns_screen=1280x1024&ns_colordepth=32", ENDITEM,
        "Url=http://tracking.veille-referencement.com/TAG/TAG_passage.js?idsite=957", ENDITEM,
        LAST);

and this is the error message :

Action.c(37): Warning -26295: JavaScript error in line 20: Type_error: /^(\d{1,4})\.(\d{1,4})\.(\d{1,4})\.(\d{1,4})$/(ipaddr) is not a function      [MsgId: MWAR-26295]
Action.c(37): Warning -26295: JavaScript error in line 1: error when executing function FindProxyForURL      [MsgId: MWAR-26295]
Action.c(37): Warning -27726: Executing the automatic configuration script function (FindProxyForUrl) failed, fallbacking to manual proxy settings      [MsgId: MWAR-27726]
Action.c(37): Error -27798: Could not resolve address of host www.aviva-assurances.com      [MsgId: MERR-27798]
Action.c(37): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s)      [MsgId: MWAR-26200]
Action.c(37): web_url("index.htm") highest severity level was "ERROR", 0 body bytes, 0 header bytes      [MsgId: MMSG-26388]


Is anyone have an idea about what it could be and how can i fix it?

thx
V.

kiran

unread,
Oct 16, 2008, 5:53:44 AM10/16/08
to LoadRunner
I can record and replay your site,Bad idea to give the clients IP
address and you may be fired to leaking the clients data.
Can you open this manually via browser with same proxy setting as in
LR ?
try with browser setting rather than giving proxy.You really need to
understand that proxy has to be interpreted by LR and its failing in
your case.

On Oct 16, 11:29 am, "Virginie Loisel" <virginie.loi...@gmail.com>
wrote:
> Hi,
>
> I'm recording in a HTTP/HTML Script.
> The recording goes fine but when i replay it, i have an error message about
> the laoding of a web page which if i test it manually, will load just fine:
>
> Here is the script :
>
> web_url("index.htm",
> "URL=http://www.aviva-assurances.com/portail/index.htm",
> "Resource=0",
> "RecContentType=text/html",
> "Referer=",
> "Snapshot=t3.inf",
> "Mode=HTML",
> EXTRARES,
> "Url=../biblio/bandeau/credit-auto-aviva.gif", ENDITEM,
> "Url=javascript/HM_Arrays.js", ENDITEM,
> "Url=../javascript/HM_ScriptDOM.js", ENDITEM,
> "Url=http://fr.sitestat.com/aviva/assurances/s?portail.home&ns__t=12241381...",
> ENDITEM,
> "Url=http://fr.sitestat.com/aviva/assurances/s?portail.home&ns__t=12241381...",
> ENDITEM,
> "Url=http://tracking.veille-referencement.com/TAG/TAG_passage.js?idsite=957",
> ENDITEM,
> LAST);
>
> and this is the error message :
>
> Action.c(37): Warning -26295: JavaScript error in line 20: Type_error:
> /^(\d{1,4})\.(\d{1,4})\.(\d{1,4})\.(\d{1,4})$/(ipaddr) is not a function
> [MsgId: MWAR-26295]
> Action.c(37): Warning -26295: JavaScript error in line 1: error when
> executing function FindProxyForURL [MsgId: MWAR-26295]
> Action.c(37): Warning -27726: Executing the automatic configuration script
> function (FindProxyForUrl) failed, fallbacking to manual proxy settings
> [MsgId: MWAR-27726]
> Action.c(37): Error -27798: Could not resolve address of hostwww.aviva-assurances.com [MsgId: MERR-27798]
Reply all
Reply to author
Forward
0 new messages