Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

LoadRunner newbie with SharePoint 2013: Exactly how do I handle __REQUESTDIGEST ?

$
0
0

Hello all,

I cannot successfully call the ProcessQuery web service request in a load test of a SharePoint Server 2013 website. I am getting 403 errors. (My load test is very simple. I login to the SharePoint portal home page and search for a word.)

I have read posts and that say I have to add an X-RequestDigest header by doing web_add_header and create a correlation for the __REQUESTDIGEST by creating a web_reg_save_param.

But I am very new to Load Runner. I do not know exactly where to add these references in my script or how.

  • Do I add them in text at the very beginning of the VUser script or just before the ProcessQuery statement? How do I create the correlation of such a complex string?
  • Do I use one of the dialog boxes and add a New Rule? (Record > Recording Options > Rules > Advanced > ASPNET?)
  • Do I have to do both? Or something else?

I see walkthroughs of how to extract this vital variable for other load testing software. (See Step 4 at https://blogs.technet.microsoft.com/meamcs/2013/06/16/web-performanceload-testing-sharepoint-2013-for-beginners-part-1/) But how do I do those steps with Load Runner? Could someone please post a more detailed walkthrough?

Thanks in advance,

M. Dex


Viewing all articles
Browse latest Browse all 3978

Trending Articles