Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all 12134 articles
Browse latest View live

Re: NV Analytics Report - HTTP Analysis sometimes does not include web service requests

$
0
0

Hi  AvniLior,

 

I tried to install LoadRunner 12.5 again in a fresh PC, this time NV Report works with all defaults but it still does not include web service/API requests under NV Analytics Report/HTTP/HTTP Analysis.

I zip all logs and screen dumps of NV Report in attachment. Please take a look and help me resolve it.

 

Thank you so much,

Quang


Re: NV Analytics Report - HTTP Analysis sometimes does not include web service requests

$
0
0

Can you please also attach the script's replay log (output.txt from script folder)?

TruClient Ajax for IE - issue with ability to capture data entered into an input type=number field.

$
0
0

Using LR version 12.01 

Truclient recognizes the field and assigns it 

      Roles: "focusable, element" 

 

When I try and record typing a number in the field, TruClient does not capture anything. It captures when I Click on the field, but that is it. I don't have the option in the Step section to select an Action of "Type" so I can't assign a value to this field. 

 

the object on the website I'm attempting to record is defined as:

<div class="inputFieldContainer"><input type="number" id="DOBDay" style="width: 40px;" data-validate-functions="validateNumberRange,validateDate,validateAge" onchange="validate(this);" class="numericInput" required="required" maxlength="2" max="31" min="1" placeholder="Day" /></div>

 

 

I'm not strong on the JavaScript side, is there a way using JavaScript to assign a value to the field?

 

 

VuGen/LR 12.50: Issues With Citrix/HTTP Multi-Protocol Script

$
0
0

Greetings, experts!

 

I am attempting to record synthetic transaction use cases for Citrix 6.5.

 

I am using multi-protocol mode, using Citrix ICA and HTTP.

 

Only Chrome launches in 64-bit mode and I get a Diffie-Helmen error about the SSL certificate of the site.

 

I'm applying a fix for this, provided by support, but do not know the result yet.

 

UPDATE: The result is that I get the same "SSL Certificate Revoked" error in Chrome.

 

The issue is that the Citrix customer wants IE 11 to be used, and VuGen launches Firefox and Internet Explorer in 32 bit mode, so the browers never launch.

 

FYI, using just the Citrix ICA protocol alone, using login and the ICA file gives me these errors:

 

1. The Citrix XenServer is not accepting connections at this time.

 

2. I receive Citrix XenServer Error 1110, using just the ICA file.

 

Now, if I launch all of these browsers outside of VuGen, I don't get any certificate errors, and all 3 log in no problem, download the ICA file and launch the Citrix application.

 

Any ideas as to how to fix or work around this?

 

Thanks,

 

~ Mike

 

Re: TruClient Ajax for IE - issue with ability to capture data entered into an input type=number fie

$
0
0

Nevermind, I got it working.

 

was able to set the Action to Evaluate JavaScript

 

and used 

document.getElementById('DOBDay').value=22 ; 

Re: NV Analytics Report - HTTP Analysis sometimes does not include web service requests

$
0
0

Hi Igor,

Please see attached file for the log output.txt of my tries in fresh PC in which NV Report works but no web service/API request is captured.

I also attach screenshot of a NV Report that used to capture web service/API requests.

Thanks,

Quang

Re: VuGen/LR 12.50: Issues With Citrix/HTTP Multi-Protocol Script

LoadRunner 12.02 Correlation

$
0
0

Hi folks,

I am currently working on a script where I get a dynamic value from a redirected URL ( not captured in VuGen) which needs to be correlated.

For example :

Redirecting URL1

To Location URL2.

Now URL2 has a value that needs to be correlated.

Kindly someone help me resolve this.

 

Thanks,

Umesh


LR 12.01 TruClient variable is undefined after several iterations

$
0
0

Hi All,

Having a weird issue, hope someone can suggest something.

I am using TruClient IE on LR 12.01. I have variable reading in a parameter for a URL.

     var pURL1=LR.getParam('pURL')

I called the JS variable something different to the LR parameter *incase* there was some scope conlict, also removed any comments from before the declaration step; I also just tried putting in a second delay after declaring the variable before i used it in the load step and still happening.

The script will play through several iterations, of logging into the AUT, doing a search, opening a PDF, then logging out. There is just one value of my URL in my parameter file.

It will run through several iterations perfectly and then give an error saying that the variable that I'm using in the Navigate to step is undefined. (even though it's successfully ran several iterations!). Error log below and screenshot attached.

Has anyone seen anything like this? Or suggest anything?

 

12:04:20: ** 16.4: Select Archive file in option #1 from element (2) listbox ** successfully completed
12:04:20: ** 16: If Search resultexists ** successfully completed
12:04:20: ** 17: Wait 3 seconds ** started
12:04:24: ** 17: Wait 3 seconds ** successfully completed
12:04:24: ** 19: Click on Exit Documents image ** started
12:04:25: ** 19: Click on Exit Documents image ** successfully completed
12:04:25: ** 20: Verify Login's "Visible Text" contains "Login" ** started
12:04:25: ** 20: Verify Login's "Visible Text" contains "Login" ** successfully completed
12:04:26: ** 1: Evaluate JavaScript code var pURL=LR.getParam('pURL') ** started
12:04:26: ** 1: Evaluate JavaScript code var pURL=LR.getParam('pURL') ** successfully completed
12:04:27: ** 2: Navigate to pURL ** started
12:04:27: ** 2: Navigate to [Exception] ** failed - an argument is invalid:
'Location': JavaScript exception 'ReferenceError: 'pURL' is undefined' during evaluation

 

Thanks,
Brian.

Recording - Java Applet Application

$
0
0

Hi ,

When we are trying to record the Web based Java-applet application using LR-Vugen 11. Its not capturing any events when some link opening additional java applet pages. Kindly help us to resolve this issue.

Regards,

Sathish.N

Re: LoadRunner 12.02 Correlation

$
0
0

I thought I replied here. I didn't notice that it gets queued to be approved or not...

Use a web_reg_save_param_ex before the web call and use Scope=Headers.

I don't have a site to test handy to get the exact LB & RB, but should be "Permanent-Redirect:" or something like that.
Run the script with full logging on and you will see the line in the headers of the page.

 

web_reg_save_param_ex(
        "ParamName=pPDF_name",
        "LB=filename=\"",
        "RB=\"\r\nContent-Type: application/pdf",
        "Notfound=Warning",
        SEARCH_FILTERS,
        "Scope=Headers",
        LAST);

Re: VuGen/LR 12.50: Issues With Citrix/HTTP Multi-Protocol Script

$
0
0

Thanks for the idea, but I've read and re-read this stuff around 10 times now. The issue still exists.

 

  • Launching a normal browser hits the Citrix HTTPS site, no problem, and I can log in, launch apps, etc. no problem.
  • Inside VuGen, it launches the browser, goes to the exact same website, and proceeds to get an SSL Certificate Revoked error message.

This is what needs to be solved. I need a real solution, not a RTM (Read the Manual) solution. ;-)

WSE005 Soap error message in webservice protocol

$
0
0

Hi,

I am using LR version 12.20.Trying to create webservice script.

While importing the WSDL, I used .NetFramework in the toolkit option.

I am getting below error while replaying the script-

Message:WSE005: The input was not a valid SOAP message because it has either the wrong name or the wrong namespace. The name specified follows: Envelope. The namespace it was defined under follows: http://www.w3.org/2003/05/soap-envelope.
   at Mercury.LR.LrWsNetClient.ProxyCreator.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)
   at Mercury.LR.LrWsNetClient.NetReplay.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)

Then I used the Axis/Javabsed webservices framework in the toolkit option and got below error-

Action.c(3): Error:InvokeMethod failure: AXIS engine threw an exception.

Action.c(3): Error:Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters

Need help.

Thanks

 

 

[Knowledge Sharing] How to prevent confirm and alert boxes from showing

$
0
0

Hi,

I had a support case recently with a customer who is using TruClient IE 11.52. They face an issue that is reproduced on certain machines and was resolved in 12.0x. For some reason TruClient IE does not perform click on Confirm/Alert boxes causing the script to hang during replay.

I wanted to share an easy workaround - prevent the confirm/alert box from showing. I have seen this issue more than once and in all cases the workaround below didn't affect the functionality of the application under test

 

Script before the workaround:

  1. ..... script logic before relevant part
  2. Step A that triggers pop up box(es).
  3. Click OK on confirm box
  4. Click OK on alert box
  5. .... script logic after relevant part

 

Workaround

  1. Add "Evaluate JavaScript" step before the step that triggers the pop-ups with the following code in it

 

// Save original alert and confirm functions in order to restore them later

var browserAlert - window.alert;

var browserConfirm = window.confirm;

 

// Override browser alert and confrm behavior not to issue a pop-up

window.alert = function() { returntrue; }

window.confirm = function() { returntrue; }

 

2. Add "Evaluate JavaScript&colon;" step after the step that triggers the pop-ups with the following code in it

 // Restore normal behavior of confirm and alert boxes

window.alert = browserAlert;

window.confirm = browserConfirm;

 

Script after the workaround

  1. ..... script logic before relevant part
  2. Evaluate JavaScript to prevent pop up boxes from showing
  3. Step A that triggers pop up box(es).
  4. Evaluate JavaScript to restore pop up boxes
  5. .... script logic after relevant part

 

Notice that there is no need in the Click OK steps anymore since the browser does not show them

 

Hope it helps

 Shlomi

Re: LR 12.01 TruClient variable is undefined after several iterations

$
0
0

Very strange indeed. 

First, as a workaround I suggest adding/modifying the code in the "Evaluate JavaScript" step that comes before the navigation step to avoid the failure

var strURL=LR.getParam("pURL");

// fallback option in case the parameter returns no data

if (!strURL) { strURL = "http://<hardcoded_value>"; }

Second, can you please share the script? You can delete all the steps apart from the first couple of steps. Alternatively, attach a snapshot of the parameter dialog so we can see the policy of that parameter

I suggest opening a support ticket regardless 


Re: Loadrunner script for SAP Netweaver server login faile Error -26627: HTTP Status Code =404

$
0
0

Thanks Naveen for your reply.

yeah there is one header request is missing basically we are calling one of our application url with disabled single sign-on so it's redirect to 401 response webdynpro login page, this login page request not getting captured through recording, same request/response I am able find in code gneration log but in recorded script this request is missing.

Basically recorded script able to record all following headers genereted through this 401 response page but not a one which is responsible for this 401 response.

Can you suggest how to get it capture in recording itself or how to add it explicitely. somewhat I am trying to download/install fiddler but it's blocked by our network, so meanwhile can you suggest to track missing header through lodrunner itself if it possible.

 

BR

Hemant

Re: Loadrunner script for SAP Netweaver server login faile Error -26627: HTTP Status Code =404

$
0
0

If the LoadRunner is not able to record the request by itself, then you need to add it manually. I suggest you to explore Advanced options in Recording Options. 

Press Ctrl + F7, click on Advanced under HTTP Properties, then click on Headers button. There you can see list of headers to check/uncheck.

If above option not working, dont use Fiddlerm because LR has built-in Fiddler engine, so use browser developer tools and trace the network log. There, you can catch all the requests and responses.

Error 27794 - Failed to connect to server :443

$
0
0

I am getting this server failure only when i replay the script. Manually this functionality is working perfectly. RTS timeout setting option tried. No luck.

Can someone kindly provide their insights in solving this?

 

Re: VuGen/LR 12.50: Issues With Citrix/HTTP Multi-Protocol Script

$
0
0

Hi!

Could you please attached screenshots and and extended logs.

Best regards,

Mikhail

Re: SAP Fiori Recording - HTTP Status-Code=403 (Forbidden)

$
0
0

Anyone that has tested an HTML5 Fiori transaction with Loadrunner? I'm really stuck....

Viewing all 12134 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>