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

Loadrunner Insufficient records for Parameter

$
0
0

Hello,

I am using a .dat file that has the parameter settings as: Unique, Each Iteration, and Continue in a cyclic manner. This should theoretically never actually run out of data because it should be reusing the data. However, after every line is used up, the rest of my iterations fail out because of an insufficient records error in Loadrunner.

Is there some special setting I need to use to get loadrunner to recognize these parameter settings in VuGen? Are there different parameter settings I should be using?

P.S. I am using loadrunner 12.53 with Oracle protocol. The dat file is being used to login users, and the users can have an infinite number of sessions opened.

 

Thanks.


How Network Virtualization works in load runner

$
0
0
Hello,
I am using the trail license for Network Virtualization to understand the concept and demo our client on licenses and benefits of Network virtulizaion within loadrunner.

As i was working on it, question came up on my mind, how does NV actually works.

I am trying to simulate a scenarios where Application servers(Data Center) located in Texas and users are trying to connect from different location and load generators are located in New York.


Scenario A)Users in New York, Load Generator in New York, application servers in Texas.

Scenario B) Users in Washington, Load Generator ​in New York, application servers in Texas.


In controller i have selected Virtual location settings
Under Virtual Location: Added the two locations(NY to TX and WA to TX)
After that i configured the settings as follow:
1)Select Virtual location definition Method--> Custon
2)Network Profile settings-->Gave Latency, Packet loss etc
3)Run time setting
​ And applied all above settings to the scenario and started the test.

After the test, i compared the response time between Scenario A and Scenario B and there was about 20-30% difference in response time.

​I was wondering how this is calculated. Just giving the location name will simulate the network from particular location to Data Center?

Is my assumption correct. Please advise.

issue with VTS Connection String

$
0
0

Hi,

I am not able to connect to Oracle database through VTS Connection string,

I am using using OraClient11g_home1_32bit x32 client and Loadrunner 12.01.

Connection Strings that I have tried-> Provider=SQLOLEDB; Data Source=***********; Initial Catalog=STENS; User ID=********; Password= ******;
Provider=SQLOLEDB; Data Source=************\*********; Initial Catalog=ST1 ENSEMBLE APPC DB; User ID=*********; Password= ******;

Tried to troubleshoot using below, but not much of help

1. How to configure VTS 11.5x to connect to Oracle DB:
https://softwaresupport.hpe.com/km/KM00768275

2. How to import data into VTS from Oracle:
https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM178401

Is there any provider name I need to specify in particular ?

Kindly help.

Thank you in advance.

VUGEN script in PC does not proceed beyond VUser Initialize and fails to RUN

$
0
0

I have a problem of getting Some VUGEN scripts from a recent scripting task to RUN in ALM Performance Center having worked perfectly well in VUGEN. 

I have 10 scripts that work in VUGEN - 50% Fail to Run in PC

When transferred to ALM Performance Center. Some of these scripts function and some do not make it to the Run Stage. The VUsers initialize but they TimeOut because they have not progressed to run the script.

I increased the delay for time out to 3 minutes and this had no impact.

Any assistance would be greatly appreciated.

Paul G

 

LR 12.02 VuGen is crashing when I type lr_db_connect () function in the Http/Html protocol script.

$
0
0

HP Virtual User generator with Http/Html protocol is crashing when I type lr_db_connect () function in the script.

OS: Windows Server 2008 R2, HP LoadRunner 12.02 

Exception code: c0000374 Excpetion Offset: 000ce843 OS Version: 6.1.7601.2.1.0.16.7

Problem signature:
Problem Event Name: APPCRASH
Application Name: vugen.exe
Application Version: 12.0.2739.0
Application Timestamp: 547b79f6
Fault Module Name: StackHash_b9cb
Fault Module Version: 6.1.7601.23539
Fault Module Timestamp: 57c997df
Exception Code: c0000374
Exception Offset: 000ce843
OS Version: 6.1.7601.2.1.0.16.7
Locale ID: ***********

Kindly help.

Thanks in advance.

Unable to open the controller

$
0
0

I am trying to open the controller. It showing below error. Please find the attached screenshot for reference.
Can you please help me with this issue?

 

 

Protocol Advisor in LR 12.53 Option

$
0
0

Is there a way to get protocol advisor as an option instead of being taken out completely?

VuGen 12.53 Patch 4 Web/Http Protocol Recording Issue

$
0
0

Hi, I am facing a recording issue under Win 7 Professional SP1 and Firefox.

In the recording options, I setup a port mapping entry for a ssl url with the correct SSL version and cipher and ssl test is successfully. However during recording, the browser automatically redirected to the non-ssl url and cause my script failing. When manually open the ssl url, the browser works properly.

Is there anyone have the same issue before? Any advice is appreciated!


Error: ctrx_sync_on_window("Windows sign-in") failed. Server IP address = 192.168.21.180:1494. The

$
0
0

Dear All,

Protocol: Web HTTP/HTML

               Citrix_ICA

 

Accessing a web application thru citirix server and hence using multiple protocols as above. Though am gving appropriate credentials as required but still getting the following error

 Error: ctrx_sync_on_window("Windows sign-in") failed. Server IP address = 192.168.21.180:1494. The window does not exist.

 

 

Scripting LoadRunner in javaScript - load generator estimate for resources

$
0
0

Hi all,

 

I've read somewhere that JavaScript code requires more memory and CPU to run than C code withing LoadRunner load generators. About 50% was one estimate I read in a blog.

Is there an official estimate or something I could read about this subject?

We are trying to decide between coding in JavaScript or C (for the HTTP protocol) and such an estimate would be helpful.

Not able to execute more then 2 users per script in LR Controller

$
0
0

Hi,

i am currently trying to load test a web application using LR 12.53 installed on windows 2012 server.

I am using simple script that loggs in waits and loggs out,

i noticed that only the 2 first users, out of 10 assigned are able to login, while the rest fail, i tried to run 2 scenarios and again, only 2 first users in each scenario (total 4) are able to login.

The AUT is the new HP service manager we are planning to upgrade in our company.

Does anyone has any idea what can the problem be?

Thanks in advance for any input.....   

NEED TO EXECUTE A QUERY USING LOADRUNNER AND SAVE THE OUTPUT AT A PARTICULAR PATH

$
0
0

Hi All,

I need to execute a query in sqldev using Loadrunner which will have multiple output;and save the output to a particular path. I assume i need to record the the application using ODBC protocol, never used this protocol before. Need help on steps and advice on how to proceed from scratch.

Any help would be really apppreciable. 

Thanks

C Function that execute database functions shows as transaction in Analysis

$
0
0

Hi,

I have a TruClient that executes a C function to connect to a database and execute some SQL statement like below:

void cleanDbBuffers()    
{
    
    lr_db_connect("StepName=CONNECT_TO_DB", 
                  "ConnectionString=Data Source={LRP_DS};Initial Catalog={LRP_DB};Integrated Security=false;user id={LRP_DB_USER_ID};password={LRP_DB_PASSWORD};" ,
                  "ConnectionName={LRP_DB}",
                  "ConnectionType=SQL",
                LAST);
    
    lr_db_executeSQLStatement("StepName=DROPCLEANBUFFERS", "ConnectionName={LRP_DB}", "SQLStatement=CHECKPOINT;DBCC DROPCLEANBUFFERS;", "DatasetName=ResultSet", LAST);
    
    lr_db_disconnect("StepName=DISCONNECT_FROM_DB","ConnectionName={LRP_DB}", LAST);
}

The function executed successfully. However, the 3 calls to the database all show up as Transactions in the Analysis Summary Report.  See attached image. Does anyone know if there is any way to disable them from showing up as Transaction?

Thanks!
Jason

Need help on TRUCLIENT replay on Develper script vs replay on VUGEN

$
0
0

Hi all,

When I was developing script I can playback my script without any errors but when I close " Develop script" and click playback on VUGEN, it threw error about can not find object. You can refer to attachment for two images

 Replay on VUGEN

LR1.jpg

Replay in develop Script

LR2.jpg

 

 

Thanks and regards,

 

Tan Nguyen

how to capture ordinal value with same boundary values

$
0
0

Hi All,

I am trying to capture ordinal value from the below request and having same left and right boundaries in responce body. Currency and Header Account number fields will change every time and I am writing custome request to handle this dynamic request. But iam not able to capture Currency ordinal and Header account ordinal seperatly due to same boundaries. Can any one suggest on this.?

"Name=StructureTypeOptions[0].Key", "Value=MCP", ENDITEM, 
        "Name=StructureTypeOptions[0].Value", "Value=MCP:Multi Currency Pool", ENDITEM, 
        "Name=StructureTypeOptions[1].Key", "Value=SCP", ENDITEM, 
        "Name=StructureTypeOptions[1].Value", "Value=SCP:Single Currency Pool", ENDITEM, 
        "Name=StructureTypeOptions[2].Key", "Value=CC", ENDITEM, 
        "Name=StructureTypeOptions[2].Value", "Value=CC:Cash Concentration", ENDITEM, 
        "Name=CurrencyOptions[0]", "Value=AED", ENDITEM, 
        "Name=CurrencyOptions[1]", "Value=AUD", ENDITEM, 
        "Name=CurrencyOptions[2]", "Value=CAD", ENDITEM, 
        "Name=CurrencyOptions[3]", "Value=CHF", ENDITEM, 
        "Name=CurrencyOptions[4]", "Value=CZK", ENDITEM, 
        "Name=CurrencyOptions[5]", "Value=DKK", ENDITEM, 
        "Name=CurrencyOptions[6]", "Value=EUR", ENDITEM, 
        "Name=CurrencyOptions[7]", "Value=GBP", ENDITEM, 

"Name=HeaderAccountNumberOptions[0]", "Value=10070092", ENDITEM, 
        "Name=HeaderAccountNumberOptions[1]", "Value=10615242", ENDITEM, 
        "Name=HeaderAccountNumberOptions[2]", "Value=10615250", ENDITEM, 
        "Name=HeaderAccountNumberOptions[3]", "Value=10615269", ENDITEM, 
        "Name=HeaderAccountNumberOptions[4]", "Value=10615277", ENDITEM, 
        "Name=HeaderAccountNumberOptions[5]", "Value=10615285", ENDITEM, 
        "Name=HeaderAccountNumberOptions[6]", "Value=10615293", ENDITEM, 
        "Name=HeaderAccountNumberOptions[7]", "Value=10615307", ENDITEM, 
        "Name=HeaderAccountNumberOptions[8]", "Value=10804673", ENDITEM, 
        "Name=HeaderAccountNumberOptions[9]", "Value=10804681", ENDITEM, 
        "Name=HeaderAccountNumberOptions[10]", "Value=10804703", ENDITE

"Name=EquivalentCurrencyOptions[0]", "Value=AUD", ENDITEM, 
        "Name=EquivalentCurrencyOptions[1]", "Value=BRL", ENDITEM, 
        "Name=EquivalentCurrencyOptions[2]", "Value=CAD", ENDITEM, 
        "Name=EquivalentCurrencyOptions[3]", "Value=CHF", ENDITEM, 
        "Name=EquivalentCurrencyOptions[4]", "Value=CNY", ENDITEM, 
        "Name=EquivalentCurrencyOptions[5]", "Value=CZK", ENDITEM, 

Replay log output:

Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_1" = "AED" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_2" = "AUD" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_3" = "CAD" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_4" = "CHF" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_5" = "CZK" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_6" = "DKK" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_7" = "EUR" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_8" = "10070092" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_9" = "10615242" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_10" = "10615250" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_11" = "10615269" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_12" = "10615277" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_13" = "10615285" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_14" = "10615293" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_15" = "10615307" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_16" = "10804673" Action1.c(527): Notify: Parameter Substitution: parameter "C_Value_17" = "10804681"


rendezvous point in controller - TRUCLIENT

$
0
0

Hi all,

I have add rendezvous point in script but in controller my rendezvous menu is gray out and my rendezvous is shown in Group information also. Maybe I did something wrong, anyone can help me anwser?

Thanks and Regards,

Tan Nguyen

LoadRunner Web Protocol with insertion of Java Code

$
0
0

Hi,

I have come across the challenge in adding Java Code to generate client side dynamic value to the Web Protocol script. I know any java script can be added by using "Add File to each script" option and also we can use Javascript language as well.

But, i'm not sure whether the Java Code snippet can be exactly used in Web Protocol. I have seen this options in RPT Tool and even JMeter as well.

To Add Java Code, is it like converting Web Protocol script to Java Vuser script is the only way in LoadRunner? If so, license constrains always exist because of this one option, we might need to purchace the License bundle.

 

Please do suggest if there is any option available apart from the above mentioend options.

Regards,

Raghul M

Query to Resume SSL connections under TLS 1.2 Protocol

$
0
0

Hi,

We are testing a REST service protected under SSL with TLS 1.2 Protocol and https session, with a specific Certificate. The scripting is already developed and works fine.

The problem is that this service can't reach the desidered throughtput and for increase capacity, has implemented an option, the RESUME SESSION with TLS 1.2

With this funcionality once the session has been stablished, can be reused (more information at this link: https://vincent.bernat.im/en/blog/2011-ssl-session-reuse-rfc5077

a lot times, saving the time to hanshake certificates and manage private keys.

The question is- How can we implement this functionality with Load Runner?

Is it possibble? Can anyone help me with information of an example code, if there is any?

any information about this is appreciated.

LoadRunner Version - 12.50

Kindly help.

Thanks in advance.

Qlik Sense Technology Application Performance Testing

$
0
0

Hi,

We have tested the Qlik Sense based application which was developed with Angular JS,Canvas,etc., We checked lot of time with web protocol. But the script was hitting only the proxy server  and not loading any values in the front end due to lack of communication in the engine server.

So, We checked it with HP and went with Tru Client Finally.

What is my question here is logically the Graph page loading  was not captured even with Developer tool or loadrunner with web protocol. Even automation tool was not able to handle the Graph Elements.

The above explanation suggests no tool can't support with Web protocol since most of the call are rendered from front end with JS. Here, will we able to test it with Neoload or VSTS or JMeter or any tool with web protocol?

Regards,

Raghul M

Load Runner Recording

$
0
0

Hi Folks,

I have to record a application flow which can be opened only by Internet Explorer 9 that too only through "Run as different user" mode with credentials?

Bcoz the loadrunner captures only the IE windows which is opened by 'Record" Option. But I have to start IE separately as run as 'different user" and navigate the applciation.

Please help me to resolve this issue?

Also I tried like giving "web_set_user" fucntion with credentials in init and started recording but it's asking me to replace the old record which mean replacing the web_set_user.

Viewing all 3978 articles
Browse latest View live




Latest Images