Wednesday, August 7, 2013

Error -26630 Not an XMLHttpRequest in Load runner

Error -26630: HTTP Status-Code=401 (eWS – Not an XMLHttpRequest) for “URL”

Turns out that this error occurs, during replying of a script, because the X-Requested-With and the X-Prototype-Versionheaders are missing in the http request.

steps:

To get past these errors here are the steps to follow for the failing script:

In Vugen go to Record>Recording Options…




In the Recording Options dialog, click on Advancedunder the General>HTTP Properties section

Under the HTTP Properties Advanced area click on theHeaders.. button

In the Headers dialog select Record headers in list from the dropdown




Click on the + sign and add an entry for X-Requested-With

Click on the + sign and add an entry for X-Prototype-Version





Re-run your script and the error should no longer appear.