Hi Venkat,
I will surely try this option...But I see sometimes the first user is
itself failing at ctrx_nfuse_connect statement..So I hope rampup rate
is not an issue.
Dear All,
I also found a hint for these failures on a published document.
Hint :
During replay LoadRunner takes the first response from the server and
saves the body into the file nfuse_(null).ica located inside the
script directory. We then parse thru this file and connect to the
server specified. If the first response from the server is a
redirect, then it will fail during replay. As a workaround, you need
to manually correlate the dynamic .ica file. Below is an example of
how to do so.
int fp;
char * icafile;
web_cleanup_cookies();
web_set_max_html_param_len("4096");
web_reg_save_param("icadata", "LB=WFClient", “RB=", LAST);
web_url("Default.asp",
"URL=
https://mercury.com/
NFuse_Application=Notepad&NFuse_MIMEExtension=.ica")",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
icafile = (char *)malloc(strlen(lr_eval_string("<icadata>")) + 100);
sprintf(icafile,"[WFClient%s",lr_eval_string("<icadata>"));
fp = fopen("C:\\temp\\icafile.ica", "w");
fprintf(fp, icafile);
fclose(fp);
ctrx_set_connect_opt(ICAFILE,"C:\\temp\\icafile.ica");
//ctrx_nfuse_connect(…);
I am failing to use this solution. I tried to replace
ctrx_nfuse_connect statement with web_url statement to download
dynamic ICA file but could not frame exact request to download the ICA
file. Can somebody please help me with this?.
I am not sure is this a proper workaround or not..?
I raised a ticket with HP..I will surely post if I get the solution
from HP before you give me one.
Thanks and Regards,
siva
> >
http://groups.google.com/group/LR-LoadRunner?hl=en- Hide quoted text -
>
> - Show quoted text -