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

Loadrunner connect to SQL DB

$
0
0

Hi All,

It's probably the simplest request for you Loadrunner experts. I need to have a simple query to do the following:

1. Connect to a DB which is hosted on Azure

2. Run a query to get values of a table multiple times by Virtual Users. For example 100 queries in a second.

 

Many thanks,

Nima


How to setting simulate multi user with difference Login.

$
0
0

I want to set simulate user access to web site about 5 users and difference username for login.

how to setting in Virtual User Generator

Thank you

working with parameters

$
0
0

Hi all,

I'm working with Truclient and I want to randomize data from an array.

If I create a parameter with 2 tables : array1 and array2 with the same dimension

then I want to randomize a variable i (from 1 to the number max of elements)

and retrieve Array1[i] and Array2[i]

in othe words, once the i is randomize I need the same i with array1 and array2  (for example array1 and array2 can be a list of firstname and lastname)

how can we do that with parameter and then a type action on an object (like a textfield)

thanks in advance

Frédéric

 

 

 

Loadrunner Controller with terminal session mode

$
0
0

Hello,

We need to use the loadrunner controller with terminal session mode but the RDP session launch the next error:ErrorTerminalSession.PNG

The process "Loadrunner agent process" is running in host machine and this is the configuration of Load Generator:

 

LoadGeneratorConfig.PNG

Can you help us with this problem?

Thanks you.

 

Getting error message while replaying web service script

$
0
0

Hi Team,

While replaying script in Load Runner, for the function 'web_service_call', I am getting error message as-

1- "Could not find file 'C:\Program Files (x86)\HP\Analysis\dat\web_service_call..xsl". and

2- "Could not find file 'C:\Program Files (x86)\HP\Analysis\dat\http..xsl".

Kindly let me know how to resolve this.

Execute a Java Vuser on Docker LG

$
0
0

Hi 

I have the follow scenario :

  • LoadRunner Community 12.53
  • Java Vuser developed using and external jar dependency added via classpath into run-time setting
  • Additional Load Generator deployed into AWS cloud using docker

    With local LG I have no trouble. I can run both VuGen and Controller and Java Vuser performs planned activities.

Into cloud I have configured properly the LG and I can see into Controller that it is connected via "Load Generators" panel but at scenario execution I receive below error messages for each planned VU :

Initialization failed; communication error.
Error (-81024): LR_VUG: The 'General-Java' type is not supported on 'Linux' platforms .

Error (-81024): LR_VUG: The 'General-Java' type is not supported on 'Linux' platforms .

Into docker container I can see the "brr*/netdir" folder with replication of virtual user scripts but I can't understand which specific issue occurs.

Before to continue I have some questions:

  1. Is "Java Vuser" not supported in mine configuration? (e.g. Community limitation, Linux limitation, Cloud ? )
  2. There is a manner to find additional log file into LG? ( "brr*/log" seems empty )
  3. If NO @ Q1, I can suppose that I miss jdk into LG and jar dependencies. Is it correct?

Thanks for the support!

Vincenzo

Object Reference not set to an instance of object

$
0
0

I am using loadRunner 12.53.

I run a Scenario of RDP scripts, when it is completed.

I find that, I am not able to retrieve raw data reports from Analysis software as it throws the following error,

The error is "Object Reference not set to an instance of object".

any suggestions, please ?

Kindly help.

Thanks in advance.

New to load runner need help with JSON POST to web service using loadrunner

$
0
0

Hi, I'm wanting to test web service performance by sending POST requests with a JSON object to our webservice.

The tricky part is that the JSON object needs to be different evertime the POST is submitted. I will want to send this request to simulate lots of these requests from different users over a period of time.

Is there a good way to do this using loadrunner?


Not able to install LR 12.53 successfully into Windows Server 2008 and Windows Server 2012 R2 DataCe

$
0
0

Hi,

I am not able to install LR 12.53 successfully into Windows Server 2008 and Windows Server 2012 R2 DataCenter.

It throws Windows security patch issues every time. Does anyone have solution for this?

Please do needful.

Regards,

Kuldeepsinh Chavda

Web Truclient Controller scenario User stopped with error IPC connection to browser process is lost

$
0
0

Hi Shlomi,

I am running a web truclient script on controller with 20 user and after few minute I found that users are stopping with error message "Error -205177:  IPC connection to browser process is lost"

Any Idea?

Regards

KAPIL

403 Forbidden error. Vugen scripting,sec-websocket-key in header

$
0
0

Hello,
I am working on sapgui html application via fiori app and under header i see value " sec-websocket-key: L3y6+isai7u4tzs0bqrc+w=="

 

I have added sec-websocket-key in recording optios--> Header and was able to get the actual value in script using web_add_header. But that value is in request. I am unable to correlate from request and script throws 403 forbidden error.

Any suggestion on how to fix this.

Oracle Hyperion Application Recording

$
0
0

I am trying to record a Oracle Hyperion Application but not able capture any requests. Please suggest any method to record this application.

Downloading Error : Performance Center

Generate Graph in Analysis from Perfmon Log

$
0
0

Hi

I need the graphs to be generated from the perfmon logs in Analysis. I have seen the post which show the graph generation from perfmon CSV logs.

https://easyloadrunner.blogspot.com/2013/06/loadrunner-analysis-importing-perfmon.html

When i select the Tools -> External Monitors -> Import Data. option,i am getting error message as "Object reference not set to as instance of an object".

Any idea how we can generate the graphs automatically from  Perfmon Logs in Analysis. Else tool apart from PAL would also be helpful for us for generating the graph. Do any tool in the market similar to NMON Analyser for Perfmon log analysis as well?

Regards,

Raghul M

Loadrunner controller crashes when connecting to sitescope monitor

$
0
0

I set up sitescope monitor and its fine and shows me the stats against the server

I then launched LR controller and attempted to connect the sitescope measurements

Loadrunner is able to connect to the sitescope and retrieve the list of all sitescope monitors

but when attempting to select one of the sitescope monitor, HP LR crashes

This happens for both LR versions 12.5 and 12.02

 

Error message below

C:\Users\SA\AppData\Local\Temp\WERCAD7.tmp.appcompat.txt

C:\Users\SA\AppData\Local\Temp\WERDAE.tmp.WERDataCollectionFailure.txt

 

Read our privacy statement online:

  http://go.microsoft.com/fwlink/?linkid=280262

 

If the online privacy statement is not available, please read our privacy statement offline:

  C:\Windows\system32\en-US\erofflps.txt


Target window is not getting captured in scripting.

$
0
0

Hi everyone,

 

I am scripting Documentum(WebTop 6.6) using Web HTTP protocol.

The application opens a popup in the flow.  I am not able to run the script, as it failsto executes on step, where popup appears.  I have correlated all the possible values. Also one of the step takes 8 minutes to load and the following step fails to load as soon as it starts to run.

Thanks in advance.

Bhanu Bisen

Stats.xml to collect only required transaction mame stats

$
0
0

Currently after the test is done,  my stats.xml/raw are caturing vuser_init, vuser_end, Action and other transaction stats listed in my script. However i only need "other transaction" in my stats.xml to be captured so that i can draw the graph of that using the HP automation API in the front end. Is there any setting we can force in LR 11.52 to just collect required stats in raw/xml?

How to make Truclient synchronous

$
0
0

Hi all

I am using java script in Truclient for executing a business logic.

Step 1: define variable  "interval=5"

Step 2: Evaluating Javascript and and incrementing interval=<dynamic value> based on the javascript logic.

Step 3: printing "interval"

However, when i execute this truclient, the final value it prints is "5" .

Truclient does not wait for step 2 to completely finish and it navigates to step 3 . However, javascript in step 2 still executes .

How can i make sure the javascript in step 2 is completed and only then the control should pass on to step 3?

Any suggestions?

 

 

 

 

Unable to parameterise the user details in VUGen Script

$
0
0

Hi Team,

Before getting into my issue, let me tell you some functionality of my application.Upon Login... users are associated with level(country) and locations. Each level may consists of 'N' no.of Sub levels and locations for level.

coming to my issue...

We have recorded an login script of our application, upon clicking 'Login' button it redirects to home page.

And upon parameterising the URL, UserName and Password and with different environment details and re-run the script. I am getting the below error at login step/transaction.

"Error -26612: HTTP Status-Code=500 (Internal Server Error) for "https://XXXXXXX/AspSessions.asp?User_ID=14055&Level_ID=11270&Location_ID=11683&Language=English""

The problem is.. in my recorded script the above mentioned url details is not displayed in login transcation/Step so that i can parameterise and pass the Userid,Level id & Location ID of user login.
It displays only on running the script or on Playback.

As the above error producing url is not displayed in my login script, by whcih am unable to parameterise it.. how to fix this issues as i need to run the script for different url having user credentials.

Please let me know how to move on this.

Can we run the scripts which are recorded in one environment(https://Prod.qualitytest.com) and rerun on another environment(https://reg.qualitytest.com) by URL parameterising or context parameterising?

Loadrunner Json web_custom_request Error -26627: HTTP Status-Code=404 (Not Found)

$
0
0

I have recorded a script with following  web_custom_request

web_custom_request("page_6",
  "URL=https://XXXXXX:8443/delegate/mntresttalend/transportationAsset/page?tsr=1492515446164",
  "Method=POST",
  "TargetFrame=",
  "Resource=0",
  "RecContentType=application/json",
  "Referer=https://XXXX:8443/group/guest/mnt",
  "Snapshot=t212.inf",
  "Mode=HTML",
  "EncType=application/json;charset=utf-8",
  "Body={\"filters\":{\"filters\":[{\"property\":\"transportationAssetType.id\",\"filterParameters\":[{\"type\":\"eq\",\"values\":[\"7\"],\"group\":null,\"operator\":null}]}]},\"sort\":{\"sortParameters\":[]},\"pageNumber\":1,\"pageSize\":20}",
  LAST);

Request seems to be working fine in Jmeter but we are planning to use loadrunner and my script is failing with following error

 Error -26627: HTTP Status-Code=404 (Not Found) for "https://XXXXX:8443/delegate/mntresttalend/transportationAsset/page?tsr=1492515446164

I can following 2 warning as well before this error

vuser_end.c(24): web_custom_request("page_6") started   [MsgId: MMSG-26355]
vuser_end.c(24): Warning: The string '"type":"eq","values":["7"],"group":null,"operator":null' with parameter delimiters is not a parameter.
vuser_end.c(24): Warning: The string '"sortParameters":[]' with parameter delimiters is not a parameter.
vuser_end.c(24): t=162063ms: 289-byte response headers for "https://XXXXXX:8443/delegate/mntresttalend/transportationAsset/page?tsr=1492515446164" (RelFrameId=1, Internal ID=763)
vuser_end.c(24):     HTTP/1.1 404 Not Found\r\n
vuser_end.c(24):     Server: Apache-Coyote/1.1\r\n
vuser_end.c(24):     X-Content-Type-Options: nosniff\r\n
vuser_end.c(24):     X-Frame-Options: SAMEORIGIN\r\n
vuser_end.c(24):     X-XSS-Protection: 1\r\n
vuser_end.c(24):     Cache-Control: no-cache\r\n
vuser_end.c(24):     Expires: -1\r\n
vuser_end.c(24):     Pragma: no-cache\r\n
vuser_end.c(24):     Content-Type: text/html;charset=UTF-8\r\n
vuser_end.c(24):     Content-Length: 670\r\n
vuser_end.c(24):     Date: Tue, 18 Apr 2017 17:04:23 GMT\r\n

Any Suggestion to resolve this error ?

Viewing all 3978 articles
Browse latest View live




Latest Images