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

LoadRunner - Support Tip: Silent Installation

$
0
0

LoadRunner can be installed using the silent mode in this case can be used the next commands

- Silent installation of full LR, after prerequisites have already been installed:

”<Installation_disk>\lrunner\En\setup.exe” /s

– Silent installation of full LR, including prerequisites:

”<Installation_disk>\lrunner\En\setup.exe” /InstallOnlyPrerequisite /s
msiexec.exe /
qn /i“<Installation_disk>\lrunner\MSI\LoadRunner_<arch>.msi

 

– Silent installation of a standalone application:

”<Installation_disk>\Standalone Applications\Setup<application name>.exe” /s /a /s

 

– Silent installation of an additional component:

”<Installation_disk>\Additional Components\Setup<setup file path>” /s /a /s

The different and other installation commands related to LR installation can be found in the attached document.


Unable to upgrade the Loadrunner version from 11.5 to 12.x

$
0
0

Hi,


We are unable to upgrade the loadrunner version from 11.5 to 12.x.  When i am trying to install the loadruuner 12.x version, it is looking for LoadRunner_x64.msi in the previous version. Unfortunatley my customer was deleted the loadrunner 11.5 version instead of upgrade directly. Now while installing the 12.x version he is facing it is looking for


"\\mlgmuc00sap026\LR 11.5\LR 11.5\lrunner\MSI\". Also we have tried to install the same by using LoadRunner_x64.msi. But its not installing. Could you please suggest us how to proceed further.

Version:- From 11.5 to 12.01


O/S:-  Windows 64-bit


Regards,


-Kiran

Events are not recording

$
0
0

Hi All,

When i started recording a script "Events are no trecording" and at the same time script also not generating anything.

i have tried removing anit virus,

changing win/socket level data,

SSL2, 3

tried in all the browsers also.(IE 11, mozilla and chrome) in Win 10.

 

while the same script once recorded in Windows 7 and it given an error with 403 forbidden pls suggest me how to resolve this also

 

Could you plese suggest me how to carry over...................

 

Load Generator Setup

$
0
0

I am trying to test using multiple users however I am unable to add my 11 load generators.  Is there a separate file that I install on the load generators (in my care, virtual machines) to communicate with the 'main' loadrunner machine?

 

 

Loadrunner script question

$
0
0

what is think time .what is real use of thing time.

in a project think time is necessary or not .if necessary then why?

what is the calculation of think time?

 

Loadrunner script question

$
0
0

how to distribute the script in different  os system like solaris,windows,xp,Linux

How to use parameters in a TruClient Script?

$
0
0

I am trying to use parameters in a very simple TruClient Script. The script just opens google, enters a search term, and starts the search.

On the main window I am defining the parameter as a table like follows:
params.png

 

Great, just realized the stupid forum did not save my actual post!!! Need to write again...

So anyway, in the TruClient developer I try to access the value from the parameter as follows:

param_usage.png

 When trying to run the script in developer mode; I get the following error:

** 3.2: Type API_ERROR_INVALID_ARGUME... step only" mode in Suche combobox ** failed - an argument is invalid: 'Value': JavaScript exception 'API_ERROR_INVALID_ARGUMENTS_RUNTIME: TC.getParam("searchterm") APIError: Can not be used in "Play this step only" mode' during evaluation

 This is not user-friendly. So I save the script and change back to the main LR window, and try to run the script from there, only to get another error:

 

t=00006161ms: Warning -205179: Failed to get a parameter: Parameter_GetParameterExt failed. Internal: bsTempName="searchterm" (length=10), bsTempValue="" (length=0), paramValueLen=0, rcGetParameterExt=-1, ClrParamAPI::GetParam returns LR_ERROR_PARAM_NOT_FOUND [MsgId: MWAR-205179]
t=00006238ms: Error -205177: ** 3.2: Type API_ERROR_UNEXPECTED: TC...s not a function in Suche combobox ** failed - an argument is invalid:
'Value': JavaScript exception 'API_ERROR_UNEXPECTED: TC.getParam TypeError: window.getL10NStr is not a function' during evaluation Snapshot Info [MSH 1 0] [MsgId: MERR-205177]

 

I have three questions:

  1. Looking at the >1000 page user manual I did not find any hint on how to use a parameter from a table in TruClient. I think this is pretty basic stuff and should be documented. Is there documentation where I can see how I can use parameters?
  2. How to fix the main error? I mean, how to use a parameter ...?
  3. Is it still possible to let the script run in the developer mode? How to be able to develop a script if I am not able to develop a script with parameters ...?

How to manage a scenario in LoadRunner?

$
0
0

I have created a TruClient Script (Web-actions) that runs without problem and finishes in about 90 seconds,.

Now I have put this single script in a Controller Scenario, but it runs much longer than 90 seconds. How can I see from the controller what really is going on when running this script? Can I see an output as I can see when I run the script in the VuGen Client? How else can I see what is going on in my scenario?


TruClient Firefox crashing

$
0
0

For sevral days we have been unable replay  TruClient Fire Fox on our Vugen 12.02 scripting machines because Mozilla crashes. We can record a new Truclient FF script but it will crash upon replay. The Mozilla crash report lists 'URL: about:blank' so I am assuming this will occur will all sites. If we try to run existing scripts in interactive or vugen mode it will die with  "Error -205177:  IPC connection to browser process is lost"

Our Vugen scripting machines are Windows 8 virtual machines. Existing Truclient FF scripts will run correctly on non-VM BPMs, they fail on the VM BPMs.

Has anyone experienced anything like this?

Thanks,

Dave

 

Parameterizing parameter file

$
0
0

 

I am working on a scenario where I have 3 user contexts. Each user will need to submit data 5 times. Each submit data will have 4 different values.

I could handle the 3 user logins with parameterization

  web_submit_data("login",
    "Action=.../login",
    "Method=POST",
    "RecContentType=text/html",
    "Referer=",
    "Snapshot=t4.inf",
    "Mode=HTML",
    ITEMDATA,
    "Name=utf8", "Value=...“", ENDITEM,
    "Name=token", "Value={token}", ENDITEM,
    "Name=id", "Value={UserId}",ENDITEM,
    "Name=pwd", "Value=Somepwd", ENDITEM,

LAST);

To submit data 5 times, I did a for loop.

   for(i = 1; i <= 5; i++)
   {
    // Submit data
   }

The challenge I am encountering is with submitting 4 different values. Because the preferrable option is a list of values per User, I have created parameter files for each user, PO_{UserId}. My intention behind doing this is to make vugen pick each file and parse through the file for 4 values and submit 4 values. I have setup the option of Sequential->Per occurance for PO_{UserId} parameter file. This is not working as expected. I am reusing the csv upload concept that I had used earlier where I set value with sample_{UserId}.csv and File=yes. I understand the scenario here is different and we are not looking at using the file's contents in one go but to parse the file and submit data 4 times. I really appreciate any assistance.

  for(i = 1; i <= Count; i++)
   {
 web_submit_data("Submit_i",
    "Action=...",
    "Method=POST",
    "Referer=...",
    "Snapshot=t6.inf",
    "Mode=HTML",
    ITEMDATA,
    "Name=id", "Value={LR_MyId}", ENDITEM,
    "Name=preferable_option", "Value={PO_{UserId}}", ENDITEM,
    LAST);
  }

How Can I do confirguration in MI Listener and Agent Configuration to connect Controller and Loadgen

$
0
0

Hi,

I have installed Load Runner Full Setup version 12.50 in Azure Server. During installation, it asks to provide CA Certificate and SSL Certificate. Could someone tell me How can I get these files? Is there any link between these files and Load generator installation.

When I skipped the CA Certificate steps and installed, from Controller, I am not able to connect Load generator. I got connection failed.

What is the role of MI Listener to establish connection between Controller and Load Generator.

 

Does Average Response Time calculated by Controller includes Network Delay Time ?

$
0
0

In the LoadRunner Controller there is a Network Delay Time Graph in Network Graphs. I have set the measurement from localhost to server under test.

The average response time as show in Trans Response Graph is 2.3 secs

The Network delay time graphs shows an average delay of 2.75 secs

Is this data consistent. Does Response time include network delay time also ?

Please explain What is response time in Loadrunner ?

Query on Web Service test through Load runner vugen

$
0
0

Hi Team,

I am trying to record multiple web service call using Load runner vugen tool. I use Load runner version 12.2 which generates script in C language.

I have following requirement.

Based on first web service response, (for example login web service which returns session token) i need to pass it in subsequent web service call.

Since it is a load test, I have an input file whci has some 10000 XMLs separated by ~. so I should be able to have a script which can pick up XML files randomly from this input file and then make subsequent web service call using this input xml. Please let me know if you have any sample script to achieve this or any documentaton.

Regards,

sample test has been completed RESTful webservice , but i have one doubt where to add transactions

$
0
0

sample test has been  completed RESTful webservice using LR, but i have one doubt where to add transactions  ,can plese guide me.

my scenerio is appointment creation:

EX: Action()
{
    web_rest("Add yms-appointment creation", 
             
    "URL=http://192.168.68.242:8181/ywc-1.0/services/yms/appointment",
    "Method=POST",         
    "ResType=XML",         
    "BodyFilePath=YMS rest.xml",
    LAST);    
    return 0;
     }

my body file path=xml file(here where to add transactions)

 

Thanks,

Sivanjan BV

Unable to record mobile native apps using proxy mode

$
0
0

Hi,

i am trying to record the http calls using proxy mode (VUGen version 12.52), i am able to capture the http calls till authentication. After successful authentication the page is not loading and not getting the home page, getting blank white screen with refresh button. If I do refresh button, its take me to login screen.

Please let me know how to fix this issue.

Thanks in Advance!

Regards,
Mahesh Rajan

 


HELP NEEDED!! Unable to group steps in function with TruClient.

$
0
0

I am developing LoadRunner scripts with TruClient. I overcame many, many problems, but managed to create scripts which use functions from a library named "SRG". Now, in another script I AM using function calls from this library:

Library1.png

But when I then try to group other steps in the same scripts in a function, I AM NOT ABLE TO CHOOSE THE SRG LIBRARY:

Library.png

I cannot name the library "SRG" because the library already exists! OF COURSE IT EXISTS! But I obviously cannot use the library "SRG" as an existing library!!

How can I fix this cumbersome problem??

PLEASE I NEED HELP!!!!!!

 

Using loadrunner to execute an Update on MS-SQL DB

$
0
0

I have a test were I need to update column in Micorsoft DB and this update will trigger sending a file to another application.  I need to send 50,000 updates in an hour.  Is there a way using load runner to execute this SQL? Your assistance is greatly appreciated.

Getting TE Connection error for RTE protocol in Controller

$
0
0

Hi All,

Currently Iam working on RTE protocol for one of my project. Scriot is working in VUGen, but when Iam executing the same script for 50 users in controller iam getting below error.

Can anyone help me on this.

vuser_init.c(23): Error: TE_connect failed after 1 tries. Retrying.
Reason: Unable to connect to host.
The error message is: Connection closed by host.
During connection of comm-type = telnet;host-name = MPQAAPP;terminal-id = ;set-window-size = true;security-type = unsecured;terminal-type = hp 700/96;terminal-model = hp 700/92;login-command-file = ;terminal-setup-file = ;

 

Thanks & Regards,

K. Srinivas Reddy.

 

 

Unable to replay HTTP/HTML protocol.

$
0
0

Hi,

Im using WinlNet replay and facing an error 'Error -27492: "HttpSendRequest" failed, Windows error code=12007 (server name not resolved) and retry limit (0) exceeded for URL'.

Application can be accessed manually through browser and the above error occurs during replay in VuGen.Tried with more rety limit,Still the same issue.

Appreciate your help!

TruClient Scripts Not Running in Performance Centre

$
0
0

We have some Truclient IE scripts which are not working when we execute trhe through Performance Centre ALM.

Scripts recorded in VUGen 12.5
ALM / PC= 12.5

Script is a very simple webpage, it works fine when we replay the script in VUGEN we have also run it from a the controller (outside of PC) and it works fine.
When we run it from PC using the same INJECTOR as we use for the controller which is the same machine we can run it from VUGEN it false at the first URL request.

There is some external content which the page tries to load which would require a proxy. We have go0t the script working in VUGEN by applying download filters to only download content from the URLS we need. Even after this there were 4 URLS which were being attempted , which required a proxy, so we updated the HOSTS file on the injector to point those URLS back to local host.
This has the script working in VUGEN and in a standalone controller, however it is still failing in PC.

In PC it starts and the tries to access the first URL and then times out after 3 mins.
It feels like its still trying to access the content which requires the proxy but we have no way of proving this.

 

 

 

Viewing all 3978 articles
Browse latest View live




Latest Images