Asynchronous Ajax calls LR Script

142 views
Skip to first unread message

Sunnythinkquest

unread,
Mar 4, 2012, 11:51:32 AM3/4/12
to LoadRunner
Hi,

Was scripting for a website with Asynchronous AJAX calls, used the
function web_reg_cross_step_download() to mimic the Asynchronous Ajax
functionality but was wondering how to validate the response of that
particular step in the Vugen Script?

Suggestions will be appreciated.

Thanks

Shane (HP)

unread,
Mar 5, 2012, 12:28:24 PM3/5/12
to LR-Loa...@googlegroups.com
Hi Sunny,
 
While this function will allow you to perform an asynchronous download necessary to replay your script, I wouldn't use it for complex validation of asynchronous calls. That is something you will be able to do much better/easier in the next version of LoadRunner, which has recently finished a very successful Beta program. I cannot be specific on the date of the release
 
Cheers,
 
Shane Evans

Sunny rao

unread,
Mar 5, 2012, 9:03:59 PM3/5/12
to lr-loa...@googlegroups.com
Thanks for the response Shane, since there is very little documentation on this function.

would like to verify the syntax to properly use this function:
web_reg_cross_step_download("URL=./abc/../..html", LAST);

I did not find the response of this URL anywhere in the step replay log.

One unique thing I found is that if I use the same URL again for ex:

web_reg_cross_step_download("URL=./abc/../..html", LAST);

web_url("ABC",
   URL=./abc/../..html",
    Last);


In the step replay log I can see "retaining web_cross_step_download..."
and correct response is observed after few Http requests.

So my question is what is the correct syntax to use this particular function, was not able to get much documentation on this function.

Thanks





--
You received this message because you are subscribed to the Google "LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en

Reply all
Reply to author
Forward
0 new messages