Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
abbasaura Regular Contributor.
Regular Contributor.
151 views

Having issue in replaying Vugen script

Hello Dear,

Need help in Vugen. I am having an error while replaying my script. Actully i am a beginner and doing some testing. I am testing on an enviornment which takes an user name and a password. error is as following,

Kindly Help

Regards

   

Action.c(109): Error -26628: HTTP Status-Code=403 (Forbidden) for "https://livesql.oracle.com:443/apex/wwv_flow_custom_auth_sso.process_success?urlc=v1.2%7E3B2AD6480C473679DF3942BAB316AD8FFB3AE883429314A3D9947EB896BB7BA26A3E3FC104452B48AB384ABEB9A6B2F66A8D3AB9402E261416C2F00E4E11349FEDB3491049B6C2908BC736384859CEEB5D9CED89C7D817C7B3DB1DA5BBA9BF26F0BAAF379740FD9D4B5506FDF8F1BFC300EF0DB2BB6DD64EC3B7FB163AF0F05D126D85C279F0F6ADB990F89246DD81BF4D31E169EDB9F4BF55432D2..."   [MsgId: MERR-26628

Action.c C:\Users\ABC\Documents\VuGen\Scripts\Testing_02 Testing_02

0 Likes
1 Reply
Outstanding Contributor.. lb1 Outstanding Contributor..
Outstanding Contributor..

Re: Having issue in replaying Vugen script

Hi Abbasaura, 

HTTP 403 error refers to an authentication issue server side. Probably, you have to add some security information such as authentication data or some type of certificate to access. Once you've found this information, try to add function 

   web_add_auto_header("Authorization", "username:password");

with "username:password" string decrypted, or 

   web_set_certificate_ex( "CertFilePath=...", "CertFormat=...", "KeyFilePath=... ", "KeyFormat=...", //"Password=...", // LAST );

Normally, LoadRunner should prompt this during recording and fix it as such. 

Another suggestion is about to compare request/response headers from "Snapshot Layout": try to add some headers that are present in the "Recording" window, then re-Replay the script. 

Hope this can be helpfull, 

Lorenzo

   

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.