Re: JavaScript is required + HTTP Status-Code=403 (Forbidden) ERRORS in VUGen (466 Views)
Reply
Valued Contributor
Posts: 134
Registered: ‎06-13-2012
Message 1 of 6 (757 Views)

JavaScript is required + HTTP Status-Code=403 (Forbidden) ERRORS in VUGen

Hi Experts,

 

I've recorded a script in Web(Http/HTML).

 

VUGen: 11.03

IE: 9

 

I've tried recording in Web(HTTP/HTML), Web(Click & Script) & Ajax but getting Forbidden error in all the protocols.

 

But while replaying I get the below error.

 

"JavaScript is required

 

Please enable javaScript in your browser before using"

 

Also in the further steps I'm getting the below error.

 

Error -26628: HTTP Status-Code=403 (Forbidden) for "<<URL>>" 

 

There are no correlations in the script.

 

Thanks & Regards,

Ashok

HP Expert
Posts: 736
Registered: ‎09-14-2011
Message 2 of 6 (720 Views)

Re: JavaScript is required + HTTP Status-Code=403 (Forbidden) ERRORS in VUGen

We had worked on this in the internal forums. But any other bit of advice is welcomed.

 

Regards,

Mario M.

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Occasional Visitor
Posts: 1
Registered: ‎09-04-2013
Message 3 of 6 (623 Views)

Re: JavaScript is required + HTTP Status-Code=403 (Forbidden) ERRORS in VUGen

Hi,

 

I am trying to record a Sharepoint 2013 where getting 403 Forbidden error while replaying in Vugen.

Vugen Version:11.04

Just a login and search operation

Please provide me a solution.

Occasional Contributor
Posts: 4
Registered: ‎10-04-2013
Message 4 of 6 (506 Views)

Re: JavaScript is required + HTTP Status-Code=403 (Forbidden) ERRORS in VUGen

Hi,

 

Hello, I have exactly the same problem, someone has a solution ?

 

thanks

HP Expert
Posts: 661
Registered: ‎04-06-2011
Message 5 of 6 (466 Views)

Re: JavaScript is required + HTTP Status-Code=403 (Forbidden) ERRORS in VUGen

Hello

 

There are a lot of possible ways tio resolve this, this error comes due to authentication issues, maybe a header, maybe user not defined or even correlation

 

check on this articles

 

http://support.openview.hp.com/selfsolve/document/KM184873

 

http://support.openview.hp.com/selfsolve/document/KM1166712

 

 

 

 

Visitor
Posts: 3
Registered: ‎05-27-2013
Message 6 of 6 (454 Views)

Re: JavaScript is required + HTTP Status-Code=403 (Forbidden) ERRORS in VUGen

 about sharepoint, "x-requestdigest" is missing ! You have to add this parameter in the header. In the snapshot, find the parameter x-requesteddigest (header of the recording snapshot). Use this value to find where it is generated, and Correlate it !
web_reg_save_param_ex(
        "ParamName=CorrelationParameter_2",
        "LB=id=\"__REQUESTDIGEST\" value=\"",
        "RB=\"",
        SEARCH_FILTERS,
        "Scope=Body",
        "IgnoreRedirections=Yes",
        "RequestUrl=*/Home.aspx*",
        LAST);
... and add it with web_add_header("X-RequestDigest","{CorrelationParameter_2}");

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.