Highlighted
Absent Member.. Absent Member..
Absent Member..
2444 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

0 Likes
5 Replies
Highlighted
Absent Member.
Absent Member.

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.
0 Likes
Highlighted
Absent Member.
Absent Member.

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.

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

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

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

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

 

 

 

 

0 Likes
Highlighted
Visitor.

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}");

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.