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

Loadrunner 12 Citrix Agent

$
0
0

Hi all,

 

I have to install the LR 12 agent for Citrix on the Citrix Xenapp server. Any idea where I can locate this installable[32/64 bit] and what the filename would be?

 

FYI, I couldn't find it in the LR setup folder.

 

Thanks.


Regarding Parameterization properities

$
0
0

Hi Everyone,

 

                   I have one scenario in loadrunner(http protocol)

i)user login

action

{

ii)search id

iii)view id details

}

iv)logout

 

                   I did parameterization for id,my .dat file contains 22id values.My question is:while i am running for 3 user with 3mins runs.these are the behaviours observed

 

i)parameterization properities of id file(sequential):

 

               i)Enabled full log.my searchid and view id details page got 72 number of transaction in transaction summary graph.

 

ii)parameterization properities of id file(random):

              i)Enabled full log.my searchid and view id details page got 22 number of transaction in transaction summary graph.

 

 

                   My doubt is this normal behaviour.Is this the way loadrunner works,or it is the problem.Please clarify doubt.

 

             

Connect to Sybase DB from a Web or TruClient script? ...

$
0
0

I'm looking at the Connection String Generator and see options for SQL Server and Oracle, but nothing for Sybase.

 

A couple questions:

 

1. can lr_db_connect() (and related DB functions) be used inside a Web or TruClient script?

 

2. Is it possible to connect to a Sybase DB with lr_db_connect()?

 

Thanks very much in advance,

Chris

"An Error Has Occurred" message when attempting to open a VuGen script from ALM

$
0
0

I am running VuGen 12.01 with scripts stored in ALM 11.52

 

We have had no problems opening and editing scripts stored in ALM from VuGen until now.

 

When we attempt to open the script, it returns a popup message stating only "An Error Has Occurred".

 

This appears to be related to permissions, because the user who first saves the script to ALM can open the script, but no one else can.  What is puzzling though, is if we try to open a script that is locked, we still get the "test is locked and read only" message before the "error has occurred" message, so I don't think it is a locking issue. I also checked the Locks table in ALM to make sure there were no locks on the test.

 

Has anyone else seen this issue before?

Can I have multiple instances of LR controller Version 11.5

$
0
0

Hi Guys,

we just procured LR 11.5 licence for 300 VUsers. Can i create two instances of Controller in 2 machines and divide my VUsers between them ( Say 150 - 150)? If yes then how do we do that?

"Batch Job" Performance Testing

$
0
0

Hi All

 

Reagarding performance testing of Batch Files

 

1. How to record Batch Job using LoadRunner which protocl? and steps to start recording.

2. Batch jobs are run using *.bat files ?

3. If one .bat file is used for one opeartion how to run it for infinite time for a certian intervial of time ?

 

If any one has worked on batch jobs or hands, working for batch jobs please expalin the concept.

 

 

Thanks in advance.

 

Regards

Asif

Re-scripting in LR is it necessary

$
0
0

HI- 

 

i would like to understand the following:

 

if you have an HTML script for an application tested in release 1, once you have a new code in release 2 (with changes) if you run your script and it runs through fine with all the checkpoints, and you can see the responses successful from LR, do you have to worry about rescripting or missing some of the new component added? a coworker is claiming that since it is not a true browser by LR in HTML, hence it does not run parallel it runs sequential therfore we could be missing come new added component although re-run is good. please advise. thanks 

Record Oracle Mobile

$
0
0

Hi,

 

 

How to record a Oracle Mobile application(Oracle Mobile Supply Chain) with load runner which is runing as windows command script developed in java.

 

We have tried to captured the requests in RTE Protocol and Java. but both of them are failed to capture the request send by orcale mobile emulator.

 

Thanks,

Makesh


issue replaying firefox truclient ajax script

$
0
0

Hello

 

I created a firefox truclient ajax script using vugen 11.52.

When I replay on vugen, it runs properly but at the end (after vuser terminated) it remains idle or frozen.

 

The stop button on the control bar, is enabled but if I click it , nothing happens (script wont stop on demand).

I have to kill the HP.Utt.StandaloneDebugger.exe process, after which I get the vugen script showing the script run results and sometimes an error saying that there was a problem with vugen.

 

If I deploy this script to BPM, and run it on demand from the BPM web admin console, I get a similar case where it runs but does not 'stop running'. I need to hit the stop button to kill it.

 

What can be the issue?

 

Thanks

Load Runner .Net - Found an undefined object of type

$
0
0

Hi

I am trying to record a .net thick client application in Load Runner 12.01 but i am getting the following errors. can someone please help


namespace Script {
    using LoadRunner;
    using Mercury.LoadRunner.DotNetProtocol.Replay;
    using OM.EXIGO.SGUI;
    using OM.EXIGO.SGUI.WscServicesAPI;
    using OM.EXIGO.SGUI.WsCUsersAndRolesAPI;
    using Script.Accessors;
    using System;
    using System.Data;
    using System.Net;
   
   
    public partial class VuserClass {
       
        public virtual int Action() {

            lr.think_time(11);

            lr.log("Event 1: new NetworkCredential();");
            NetworkCredential_1 = new NetworkCredential();

            lr.log("Event 2: NetworkCredential_1.UserName = \"NEWUSERT1\";");
            NetworkCredential_1.UserName = "CITI20T1";

            lr.log("Event 3: NetworkCredential_1.Password = \"passowrd1234\";");
            NetworkCredential_1.Password = "passowrd1234";

            lr.log("Event 4: new AssemblyWithVersionDS();");
            AssemblyWithVersionDS_1 = new AssemblyWithVersionDS();

            lr.log("Event 5: AssemblyWithVersionDS_1.AssemblyWithVersionDT;");
            AssemblyWithVersionDTDataTable_1 = AssemblyWithVersionDS_1.AssemblyWithVersionDT;
            // Table AssemblyWithVersionDTDataTable_1 is empty

            lr.log("Event 6: AssemblyWithVersionDTDataTable_1.AddAssemblyWithVersionDTRow(\"OM.EXIGO.d" +
              "ll\", \"2.7.1.1498\");");
            AssemblyWithVersionDTRow_1 = AssemblyWithVersionDTDataTable_1.AddAssemblyWithVersionDTRow("OM.EXIGO.dll", "2.7.1.1498");

            lr.log("Event 7: NetworkCredential_1.UserName;");
            StringRetVal = NetworkCredential_1.UserName;

            #warning:  Code Generation Error
            // Found an undefined object of type System.Xml.XmlTextWriter. Assigning it the name writer_1.
            // Suggested solution: adding both this type, in assembly System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, to the filter
            // and/or any other types that return instances of this one.
            // Note:  This script will not compile as is.
            lr.log("Event 8: new DataSet_Accessor(AssemblyWithVersionDS_1).WriteXml(writer_1);");
            new DataSet_Accessor(AssemblyWithVersionDS_1).WriteXml(writer_1);

            #warning:  Code Generation Warning
            // Note:  writer_1 is not included in the recording filter.
            // Its state may have changed since it was last detected.
            #warning:  Code Generation Error
            // Found an undefined object of type OM.EXIGO.SGUI.WscServicesAPI.AssemblyWithVersionDS. Assigning it the name AssemblyWithVersionDS_2.
            // Suggested solution: adding both this type, in assembly SGUIWebReferences, Version=2.7.1.0, Culture=neutral, PublicKeyToken=8941f02d31442b70, to the filter
            // and/or any other types that return instances of this one.
            // Note:  This script will not compile as is.
            lr.log("Event 9: new DataSet_Accessor(AssemblyWithVersionDS_2).WriteXml(writer_1);");
            new DataSet_Accessor(AssemblyWithVersionDS_2).WriteXml(writer_1);

            lr.log("Event 10: NetworkCredential_1.GetCredential(new Uri(\"https://testdomain.com/HEXAPIRelease5/SGServiceA/CServicesAPI.asmx\"), \"digest\");");
            NetworkCredential_1 = NetworkCredential_1.GetCredential(new Uri("https://testdomain.com/HEXAPIRelease5/SGServiceA/CServicesAPI.asmx"), "digest");

            lr.log("Event 11: NetworkCredential_1.GetCredential(new Uri(\"https://testdomain.com/HEXAPIRelease5/SGServiceA/CServicesAPI.asmx\"), \"basic\");");
            NetworkCredential_1 = NetworkCredential_1.GetCredential(new Uri("https://testdomain.com/HEXAPIRelease5/SGServiceA/CServicesAPI.asmx"), "basic");

            lr.log("Event 12: new AssemblyWithVersionDS();");
            AssemblyWithVersionDS_3 = new AssemblyWithVersionDS();

            #warning:  Code Generation Error
            // Found an undefined object of type System.Xml.XmlTextReader. Assigning it the name reader_1.
            // Suggested solution: adding both this type, in assembly System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, to the filter
            // and/or any other types that return instances of this one.
            // Note:  This script will not compile as is.
            lr.log("Event 13: new DataSet_Accessor(AssemblyWithVersionDS_3).ReadXml(reader_1);");
            new DataSet_Accessor(AssemblyWithVersionDS_3).ReadXml(reader_1);

Here are the missing libraries that Load runner is complaining during compilation.

            // Found an undefined object of type System.Xml.XmlTextWriter. Assigning it the name writer_1.

            // Found an undefined object of type OM.EXIGO.SGUI.WscServicesAPI.AssemblyWithVersionDS. Assigning it the name AssemblyWithVersionDS_2.

            // Found an undefined object of type System.Xml.XmlTextReader. Assigning it the name reader_1.

 

How can i resolve these errors?

Thanks
Sri

Ajax Truclient 12.0 multiple iterations issue

$
0
0
My truclient script is supposed to do 24 iterations of the steps in Action part with login and logout inside Init and End sections. The script works fine for 24 iterations in interactive mode but in load mode it fails at the first step inside action after around 16 or 17 iterations. The error snap of this step shows just a blank screen. Also, the subsequent iterations fail too with the same blank screen page. In replay statistics I could see the connection is shown as shutdown at the error step. Pls help this is very urgent.
I can't share the scripts here due to security reasons.

Want to change the Ajax Truclient IE 9 to IE11 in LR 11.52

$
0
0

Hi,

I've installed LR 11.52 on Win 7 64 Bit + IE 11

 

Problem:- Want to Change the Ajax Truclient IE 9 default mode to IE 11

As my application is not working on IE 9.

 

Thanks,

Amol Ray.

 

 

IP Spoofing and Load balancing

$
0
0

Hi,

I need some help to determine if I need IP spoofing or not.

I have 4 load generators, load balancer and five web servers behind.

If load balancer algorithm makes determination based on client IP then 4 load generators is enough to spread load of few hundred users equally or I still need IP spoofing.

Persistence is maintained by session cookies and the question is do I need to use web_cleanup_cookies function before the script goes to the next iteration?

Your help is appreciated.

Thanks,

Garry

Can web_reg_find be used with web_service_call or not

$
0
0

I tried adding a string check using web_reg_find for a web_Service_call step but the script aborts after the 1st iteration, and does not continue replay, when this is done. When the web_reg_find step is commented-out, the script replays without any issues. When the script was convered to a web_custom_request it works with the web_reg_find. So my question is - Can web_reg_find be used with web_service_call or not?

 

Thanks,

Aish

Vugen not invoking the IE while recording

$
0
0

Hi ,
We have to record a SAP application for monitoring.While recording the APP,Vugen is not invoking Iexplorer. We are using
VuGen:-9.0 ,Operating System is Windows Server 2003 with Service Pack 2,IE version is 6.0,machine is Core 2 Duo with 3 GB RAM.
Kindly suggest ASAp.

regards,
Shraddha.

 

 

P.S. This thread has been moved from Application Perf Mgmt (BAC / BSM) Support and News Forum to LoadRunner Support Forum. - Hp Forum Moderator


Start Recording Button is disabled in LoadRunner (Virtual User Generator)

$
0
0

Hello All,

 

Load Runner Version - 11.52

Win OS version - Windows Server 2008 R2 Enterprise

Browser - Internet Explorer 11

 

Recently I rebooted my machine where LoadRunner was installed after that when I try to record any new web page using virtual user generator the start recording button is disabled.

 

Any suggestions about how to solve this peculiar problem.

 

I have attached a screen shot for reference (RecordButton_Disabled.png)

 

Thanks,

Ganesh

 

 

 

Loadrunner v12.02 Community Edition license limit - Citrix

$
0
0

Hi,

 

Has anyone come cross this license issue on the Citrix protocol?

 

I installed the LoadRunner v12.02 CE on a Win2008R2 server. When I run a 27VU load testing on Citrix protocol LoadRunner displayed a message indicated I have exceeded the license limit, see 2nd attachment. I can only run up to 25VUs. I checked the license utitlity and it clearly displayed 50VU capacity, see 1st attachment.

 

HP support, kindly advise how to increase the license limit.

 

Note: no problem with Web HTTP/HTML protocol. It can run 50VU load test.

 

Thanks in advance,

 

John

 

 

TCS has stopped working "error when starting TruClient IE script in LR12

$
0
0

Hi,

 

We are trying to record the script in Ajax Tru Client - IE in LR 12.0 ver tool, but once we complete the flow recording and when we click on stop button an error message received as

 

"TCS has stopped working",  so the we closed the "Develop Script" session.

 

When I select the "Develop Script" button again, I get the error stating:

HP Virtual User Generator

A communiction error occurred between the TruClient browser and Vugen. Close the TruClient broswer if it is open and click the "Develop Script" button to restart the TruClient browser. If the browser is already closed, restart VuGen.

 

The issue is similar to the case as below:

 

http://h30499.www3.hp.com/t5/LoadRunner-Support-Forum/TCS-has-stopped-working-quot-error-when-starting-TruClient-IE/td-p/6599178

 

But there is no issue resolution setps...in above ticket. Let me know if I need to raise a SAID ticket for this...?

 

Thanks,

Prasanna

 

 

How web_set_timeout works?

$
0
0

Hi ,

 

I have to use timeout as 10 sec for a webservice script.(webservice protocol)

Do we need to specify the web_set_timeout() function before each transaction

or

mentioning at the begining of the script will apply for all transactions present in the script?

 

Thanks.

Is Load Runner compatible to Google Chrome

$
0
0

I wanted to record an application which is compatible only to Chrome.

 

But I am not able to record it through Chrome. Can anyone help me on how to record it through Chrome

Viewing all 3978 articles
Browse latest View live




Latest Images