Summary
This error appears during replay even after checking the authentication that the page requires
Error
Error -26630: HTTP Status-Code=401 (eWS - Not an XMLHttpRequest) for "URL"
Cause
The headers X-Requested-With and X-Prototype-Version are missing during the replay of the script.
Fix
Go through the following steps on the failing script:
- Go to "Tools" > "Regenerate script" or "Record" > "Regenerate script" for versions after Vugen 11.5X
- Click on Options...
- Go to "HTTP Properties" > "Advanced" > "Headers"
- Select "Record headers in list"
- Click on the "+" sign and create one entry for X-Requested-With and another for X-Prototype-Version