Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all 3978 articles
Browse latest View live

Call Javascript actions or libraries

$
0
0

Starting on LR 12.5 the script code can be generated in JavaScript format and all the commands and code is generated using this programing lagnguage.

 

Following next is described the method for call another action from the script or an external library.

 

  1. lr.loadLibrary() is used to “include” a single file into the script, the code inside the included file will be loaded and evaluated.
    All definitions inside it will be added to the global scope of runtime context.
    It can be used for browser based libraries.

    Example:
    lr. loadLibrary (‘external.js’);

Errors in the test results

$
0
0

Hi, 

 

While replaying a script I could see it passing but when I checked the test results I found some errors messages/popups indicating the script has not gone smoothly. Also in the run time viewer I could see the pages not getting downloaded properly. PFA the screenshot of the pop up that came up when clicked on one of the steps in the tests results. 

 

Can anyone point to why its happening , to me  it looks like Javascript is not getting downloaded properly. Any help on this will be appreciated.

 

Regards,

Jitesh

Regarding Screenshots in VuGen

$
0
0

Can we capture and save screenshots in HP Loadrunner 11.50 version? If yes, what is the way to get it?

"the name "lr_load_dll" does not exist in the current context"

$
0
0

Hi everybody,

 

I try  to load our C# based dll to test the functions inside the dll. but I get problem when I use the statement: 

 

namespace Script
{
    public partial class VuserClass
    {
        public int vuser_init()
        {
            lr_load_dll(" C:\\PerfApp\\VELinkedServiceTestInterface_19_11_1111\\bin\\ValidationEngine.LinkedServices.Client.dll ");
            return 0;
        }
    }
}

The compile is filed with following error message:

 "the name "lr_load_dll" does not exist in the current context" 

 

Any idea why?

 

add-in for VS 2013 or VS2014 in LR version 12.02

$
0
0

Does anyone know if there is add-on for VS 2013 or VS2014 in LR version 12.02

Can we copy bitmap from any script to another in citrix protocol?

$
0
0

Hi 

 

I have already record the script and done enahncement for that but their is one bitmap which i notice later was not capture, so I need to copy bitmap from one new script to new script. Can it be possible ?

Or is their any other solution in this case?

 

Thanks In Advance

Nikhil Kamboj

MTOM implementation

$
0
0

Hi All,

 

We need to test a service and it has operations that uploads documents. MTOM is implemented in the service end. We are trying to implement MTOM in LR as well. Read somewhere that LR supports MTOM, but could not find any documentation about the implementation. Any help is appreciated.

 

Thanks!

MQ Tester not available in LR community edition V12.5

$
0
0

Hi

 

I have to Evaluate Loadrunner on IBM MQ version 8. 

 

Downloaded Loadrunner community edition V12.5, could not find MQTester in Additional Components folder.

 

Also, Downloaded a seperate zip file with Additional Components, MQTester does not exist.

 

Where can I download MQTester component for Loadrunner V12.5?

 

Thanks


How to Migrate the Web Click&Script protocol scripts to Web HTTP/HTM

$
0
0

HI All,

 

We have developed the Scripts in Web (Click&Script) in load runner 11 version but now we are using load runner 12.02 version . In this version Web Click&Script protocol in not availbel .

Please advice how to migrate those scripts into any other prtocol and sugguest me the best apparoch for this.

TruClient FireFox Does Not Paint Screen in Interactive Mode

$
0
0

I recorded a TruClient FireFox script using VuGen 12.02 on Windows 7.

 

When the script replays in interactive mode, a FireFox window displays that has Profile Customization (not responding) in the title bar, but the rest of the window remains blank. After a few minutes, the window goes away and the script is displayed again in interactive mode.

 

I tried running the script again in load mode, using the PaintWindowsInLoad=1 setting in default.cfg. This paints the screen fine. But it is not helpful to develop  in this manner, as I am encountering an error with object identification and need the interactive mode to improve that.

 

I've tried re-installing VuGen, tried running as Administrator, tried to start a new script, and tried a TruClient IE script and none of these has helped.

 

Any ideas on why the screen won't paint in interactive mode?

Partial VUsers getting disconnected and getting error as [10061] Connection refused

$
0
0

Hi Experts,

 

Kindly guide me with the following problem. I apologize is the same exists on the forum, I tried to explore but was unable to find the solution.

 

I have an application server (JBoss) which connects to a database (PostGres) and follows HTTP protocol.

 

I'm trying to test the performance by running concurrent users through LoadRunner.

 

For a load of say 300 users, around 190 gets through the run while for the balance an error is shown as "Failed to connect xxx.xxx.xxx.xxx:xxxx. [10061] Connection refused".

 

This count varies with each run. I've increased the Step-Download & Keep-Alive value also in Run-Time settings to offset any delay during the run. My entire environment is on LAN.

 

Kindly help..

 

--

Sourabh

Need Help: Load Test Approach

$
0
0

Hi,

 

As a part of our project requirement: We need to do performance testing of cloud based citrix application. We need to do a Load Test with 50 concurrent users. 

The problem here is  that client is not providing those many virtual users for Load Test. We have only one user with us to execute the load test. But we have 50 actual users with us. So we are using below approach for Load Test. Please suggest if this make any sense.

 

Approach: 50 actual users will use the application for a period for particular business scenarios and at the same time we will run a unit test in load runner with one user, Also some one from database will start the monitoring the servers using Perfmon. 

Conclusion: Instead of generating load from Load Generator Machine, we are generating it through the actual users and testing the performance (responsiveness of the application) of the application under load condition buy running one or two user test in loadrunner at the same time.

 

Note: We dont have virtual users and we can not use the actual user's credentials in LoadRunner to generate the load due to security issue.

 

Please provide your suggestion .

 

Thank You

Prabhjot

Need Help: Cloud Based Citrix Application (Web+Citrix)

$
0
0

Hi All,

 

As a part of our project requirement, …….

If anyone has inputs on this, kindly share your knowledge/ inputs on the same.

 

Domain Overview:  We are working on web + citrix protocol in cloud environment. The environment here is like we have one Virtual Machine in client environment. Load Runner is installed on that machine. From there we connect to the Cloud 9 environment through a URL and we are allocated one desktop randomly from cloud. It prepares that desktop for us according to our profile and we get the application there in the program list.

 

 

Requirement\ Problem : We are provided with 1 user id to access the cloud environment. Once we are logged into the cloud environment we can open multiple instances of the application manually(application does not require any login, It opens according to cloud login)

 

We want to achieve the same scenario with LoadRunner i.e. We want to open the multiple instances of the application and perform multiple business transactions simultaneously with 1 user once we are logged into the cloud system.

 

Please give your input if we can handle the multiple session\windows of the application with 1 user in Web+CITRIX protocol in LoadRunner. If anyone faced such a scenario before please help (We want to achieve this because we don’t have so many virtual users with us).

 

Thanks,

Prabhjot

Japanese Character Support

$
0
0

Hello,

 

when trying to script Japanese sites I have numerous issues with encoded Japanese text. 

 

no support charset - unable to text check Japanese words, unable to correlate or parametrize Japanese. The data passed to/from servers appears as garbled japanese/chinese encoded somehow.

 

UTF-8 - As above but this allows for text checks in Japanese.

 

EUC-JP - this simply doesnt work at all, the text checks dont work, even when they are the page titles generated during recording. 

 

tried on LR 11.50, 11.52, 12.02

 

All on Win 7.

 

WebProtocol.

 

Both Japanse and English localizsed Windows versions are the same.

 

Also noticed that when I record a script it will work, the encoded text gets passed as correct Japanese, but when I try to "save as" the encoded data, which looks the same, and if compare the files they are the same, will suddenly stop working.

 

Also if I rename the Action that was used for recording the text checks that were in readable Japanese become garbled encoded text, and then also stop working.

 

Any help is greatly appreciated....

How to handle cookies in Load Runner

$
0
0

Hi,

 

I was using LR for one of my application and did find that few cookies are recorded in the script that did not allow me to actually go to reports after login in replaying the script.

 

Those cookies are generated by asp.net runtime engine, disabling these cookies either application will not run, or we will not to proceed to further pages. 

 

I'm actually looking for a way to handle cookies through Load Runner itself as through code if we do then it will impact the functionality of application.

 

Earliest solution to this will be appreciated.

 

 

Cookies details below as recorded in LR script:

 

web_add_cookie("hPleat34_RGPSTEST_SECURE=6E5ADC205032123E995EE554DF71393E10012215A47D71A990F782EA935D81BED041A72EED0C614C1BC0BCC438DCFE07BB4B97D745F5A02EBE01147B456BF3E120773F99002BACC8ACBB6F002B760559F103DC4FD8BAB943E9D130BE3795C70785E34D69FD97C729F281F28B12572A68868B4E2AE816020A32946DBCE6D9E7988DDB3FECA3DBA9AA99F65C140A4D496B4BB518A7C8A29F314C2ADB119E66959CF1506F9A; DOMAIN=rgpssystest.mclagan.global");     

web_add_cookie("hPleat34_RGPSTEST_SECURE=F66813DC286C986FCB88515F64F00548ED7F7BDF4F6170AD84E08D2616CF5280039A594BE07B72AC88F5303E5106B4FCB99F2301413C4349C798913DE4CF477D4F74C267A78325A809E1ED6E9FC9F7EEE90AC98D8406CFBB27D707F2616361804E2622173C7C0A5B3B31DBD621C24606663C84846153C887B35ABFC77F5E9027F7C5CAF3B9C9FC033125E053A100D1EA36B24F2672B25503B78B56ED14754985541B2365; DOMAIN=rgpssystest.mclagan.global");     

web_add_cookie("hPleat34_RGPSTEST_SECURE=69E804A28FE74AF2EB3A72412BC76F3624E0419E27210037B53064EC88A8060CC13C0D97D6938D2C934E3272349A01E795948F5F898639D434AA5A69F514243DE95413EC14E0E8A8ABF430F4B61BCAC3618BC363849EC6C1641A6A714CBC52F2E19D948F5BEBAEFC5A0623F02C5B40D994FEA1F54CAC12543DF4AF4242EB504B28FE4A77FEEBE3A843D4D2A477C1CE85FDF5BAA33324632726602ABA933A5EE70DA4E3E2; DOMAIN=rgpssystest.mclagan.global");     

web_add_cookie("hPleat34_RGPSTEST_SECURE=15EBD62BBF44560B695817B8CE6814956DE6995D19A2D2D6E306BEFC379649E857938AD8819E1CBDC5DF9B916DBF57C318574FA766426501E3658EFD3808830F30418B74B0D761A5A819551E454D7B0B2BE87A30E5E1ACC1A1C2C7028E0FAF9134F7F81C30C10F5ED21C3B0BB09438AAC4A5D8F98DAE3422B6C8DAD5BF322C9160BAD2358171B2AD00D3FAC19CA656DF0F8B60F00A1EE969348315C47606BA7A32530933; DOMAIN=rgpssystest.mclagan.global"); 

Thanks

Aman


Install Winsock Plus Protocol Interceptor certificate error when starting recording

$
0
0

I've jsut reinstalled Loadrunner because it didn't work. Now it works, but when i try and record a script (Ajax script) and choose any kind of browser, it pops up this message for a blink of an eye and then freezes (presumably wairing for input from me). i cannot get to the dialog window it is hidden. I copied this text from the event log.

 

any ideas how I can get it to work? This is v12.5 build 1096.

 

 

Application popup: Security Warning : You are about to install a certificate from a certification authority (CA) claiming to represent:

 

Winsock Plus Protocol Interceptor

 

Windows cannot validate that the certificate is actually from "Winsock Plus Protocol Interceptor". You should confirm its origin by contacting "Winsock Plus Protocol Interceptor". The following number will assist you in this process:

 

Thumbprint (sha1): 67411E2F 5CBC33F9 6A33FD0A 4AF2CEA6 42D77E16

 

Warning:

If you install this root certificate, Windows will automatically trust any certificate issued by this CA. Installing a certificate with an unconfirmed thumbprint is a security risk. If you click "Yes" you acknowledge this risk.

 

Do you want to install this certificate?

TruClient - IE Failing due to "Network Timeout" error

$
0
0

Hi All,

 

I have recorded a TruClient - IE script in LR 12.02 to perform the below steps.

 

> Login

> Search for a matter (a unique number)

> View Matter Summary

> Generate PDF

 

Script is failing on the last step due to the network timeout error. I have changed the end event and step timeout to 500 but still no luck.

 

Any suggestions please?

 

Regards,

Prash.

 

HTML5 Progressive Video Stream download support with LR

$
0
0

Does Loadrunner 12.0 TrueClinet script supports  HTML5 video Prgressive stream download events like

Initial Buffer, HTML5 video playback, buffering duration and rebuffering times?


Background of HTML5 video:

HTML5 video is embedded in a web page supported by the HTML5 format. HTML5 video does not require any media player Plugins.  I've recorded using LR 12.0  AjaxTrueClient for Firefox/IE and its able to record and playback the HTML5 video.

 

Below are the steps:

Step 1. User clicks on HTML5 video page hyperlink
Step 2. HTML5 video is download and embedded in the web page
Step 3. Click Play on the Video
Stpe 4. Video strats playback and stalls for rebuffering and then plays again till the end.


Please suggest if TrueClient protocol supports HTML5 video stream download events, if no please suggest other protocol which supports.

 

Thank you

 

Raghu

Cloud load generator sitting at Provisioning status

$
0
0

Hi, 

 

First time provisioning an Azure cloud load generator. 

 

I've successfully created an custom image with these instructions.  Also followed these instructions to provision the cloud LG.

 

From Azure management console the load generator is provisioned and is in Running status. I can also RDP to the server and telnet to the server on port 54345. But in the controller it is still displaying  Provisioning status. 

HP cloud load generator.PNG

 

Any idea how to resolve or what else to check?

 

Loadrunner version 12.02 on windows 2008R2

 

 

 

 

 

Load runner 11.4 is hang/stuck while recording application on VPN Remote machine IE 9 bowser

$
0
0

Hi All,

 

Need support.

 

I have VPN remote machine installed LR 11.4. version.
I'm trying to record new script using IE9 browser on remote machine, but every time Vugen get hang or stuck and I'm not able to do any task on that machine, then have to stop the LR services from task manager.

 

How can I record the scripts? how to resolve recording issue ?

 

Configuration of VPN Remote machine where we installed LR :-

 

OS:- Window 7 professional
RAM:- 12 GB

 

 

Can any one provide me trail version link for 11.4 ?


Thanks,
Amol Ray.

  

Viewing all 3978 articles
Browse latest View live




Latest Images