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

Ajax TruClient Firefox script not getting initiated from PC

$
0
0

Hi,

I'm using loadrunner 12.01 to record the truclient script which works fine locally for multiple iterations but nothing happens when I try to run from PC (PFA). It was working fine before but recently HP added a patch  - LG software upgrades ( LRLG_00087 and LRLG_05000 ) after which firefox scripts stopped working where as IE scripts works fine. Looking for some directions to  try and resolve the issue. 

Thanks


load runner stops executing after 32 iterations

$
0
0

Hi,

I'm running a ajax truclient script in controller with 10 users and each user should run for 20 iterations (total 200 iterations) but the script runs for only 32 iterations without errors and stops after that. Controller displays that the users are still running and the time elapsed keep on increasing. I looked at the logs but it stops at certain place and does not go beyond. Please help.

Java not invoked for Oracle Forms 11g, IE11, Jre 1.8_66 in LR 11.52

$
0
0

When i launch the oracle forms 11g normally in IE 11, JRE 1.8_66 - It launches as expected and i am able to login.

But i am recording it with LR 11.52, using Oracle Web App 11i protocol, the forms are not launched and stuck on attached error. As this is customer provided system i can't disable the mentioned settings in IE.

Can i get some help please.

-Gaurish

Connect VTS Server running in SSL mode

$
0
0

Hi all,

trying to connect a vts running with ssl active ("useSSL":true; in configure.json) iI always get the following error message:

Request:

pvci = vtc_connect(vts_name, vts_port, VTOPT_KEEP_ALIVE );

Response:

Error: vtc_connect: Failed to connect server. Please check the server name, port number, network connectivity or whether server above 11.52 version is started.

The VTS version is 12.53. I can access the GUI with https://<ServerName>:<ServerPort> in web browser (IE).

Some ideas?

Best regards

Christoph Richter

Capture Access Token to Parameter

$
0
0

I am working on a web page that is sending an access token similar to that used by Facebook. I'm a novice and haven't come across a post addressing how to capture the token and could use a little help. I need to capture the token generated during authenticate an place it in a parameter. I will then need to pass the token in the web header when requesting additional pages. The content type is json and looks as such:

{
"access_token": "1qMo-ua4ybgsB7uPtEF0B4jdth2OzFZS6Ja0-psc5keQaMWlO8WyVAzS7L6hMEGckW_5UL7X09xW3xpXV6ICRx1Qtx7s3rPwIzavAI4oykCJod_iJOlB-XtrzazH0fRfrxHGNgmpl2W-PHRgH349dKt_K9vkMg8C-hAbKZf6i5sB9mkgngAn1PDI-gYsRMosb7smYe9PfZLYDd5_9a6f5Q3_-AsFiEf1QXfDwXXJEj62tORRE_IQBNZDn1kfKrHV",
"token_type": "bearer",
"expires_in": 86399
}

Any help is appreciated

Loadrunner/UFT/AppDynamics

$
0
0

We use UFT for automating RESTful web services, and then integrate those scripts with Loadrunner to performance test the service. We're now looking at trying to integrate Loadrunner with AppDynamics to give us more visibility to performance issues, and wonder if anyone has had success with getting the 3 tools to play nice. To get Loadrunner to work with AppDynmamics one of things you have to do is set a header in the Loadrunner script so AppDynamics picks it up. Is this possible when using a UFT script in Loadrunner? Any help/advice/experience would be greatly appreciated.

TrueClient vs. Web HTTP protocol

$
0
0

Hello there,

I have been using LR Web HTTP protocol for years for our application.  I wanted to start using TrueClient because of it's scripting simplicity.  But the response time I am getting with TrueClient is much higher than HTTP protocol.   For example, average sigin-lin response time in HTTP is 2 sec where TrueClient would be 10 sec - keeping the same environment and conditions.  Why it's different in TrueClient?  Is it my configuration or that's the way TrueClient works?  

I would appreciate your experienced opinion with explanation.

Thanks ina dvance,
Akim

 

 


 

 

 

 

How to parameterize in TruClient...

$
0
0

Hi,

I'm not getting the "Replace Parameter" highlighted and I couldn't able to replace the the parameter even after selecting the parameter value and hitting right click. Can any one help on this. I'm using V 12.5 (Trail Version).

Please suggest me on how to do paramterization for the value in TruClient.


can you suppress http 404 errors at runtime?

$
0
0

Hi,

I know this sounds mad, but I'm wondering if at runtime, I can make an exception for http 404' so that they don't appear in the error count/log in the controller?

I basically want my http 404s to not throw an error because it's replaying production logs and 404s aren't in scope for this test. 

Cheers,

J

"EncType=application/json;charset=utf-8", "Body={\"method\":\"login\",\"params\":{\"username\":\"

$
0
0

"EncType=application/json;charset=utf-8", 
        "Body={\"method\":\"login\",\"params\":{\"username\":\"myeggoni\",\"encryptedPassword\":\"1b401d80d5e5eefdb4a29be0d4fca7026cddfe83246dd9367340a903d74b1b69b764082ee3c4488662db43b38bcd0ac688ac43511f188130e2e2ebf1034b53df715c4d4b463525050ada52cec11ecd63670407a3da4eec00c54f2860fbc3f329cb8f3226f435514667001ede5591c15cafa50bd10ceb7af0c1c2676f0078bde6\",\"keyId\":\"GxRvuPoUacOvzrCn9xtZABQUT70Q6Hs0\"}}", 
        LAST);

Hi , how can i handle encrypeted password.

 

 

Test Case Big Question

$
0
0

hi amigoes...!

here is my dout is when 10000 peoples are using my application how to capture time,how many are register with in 1 min..? how the memory graph,what is maxmimum no of clients hit ata time,,? how to capture and test ? please tel me any one ...is it posible with "LoadRunner"  or is there any tools for this ?  ......? please give answer as early as posible !!!!!!

Think time vs pacing

$
0
0

i'am assume

Think Time:

Think time emulates the real behaviour of a user.

Pacing:

If suppose two itterations happen(assume)one itterations waits after that another itteration start to control the traffic hitting to the server at atime. 

 

 

Need a setup file for Load runner 12.01

$
0
0

I am looking for 12.01 Load runner version setup file. it would be great if someone can share the setup file

Creating While Loop in LR Around Iterative Code to check HTML Reports Response

$
0
0


We are trying create scripts for one of our Reporting Application which is web based. We have used Oracle Web App protocol since it is Oracle Application. We are running trying to response time for HTML reports and only way to verify that the report succesfully ran and receiving response is using web_reg_find method.Using web_reg_find method it verifies the text which is displayed once report is completed.

Please see below code. If i find the match i am exiting out of loop. it never finds match. But if i do manually the report shows up in 2 to 3 seconds, Can anyone help me here please?





do
{
web_reg_find("Text=Columns and Rows sets : R", "SaveCount=CountTotal");
web_submit_data("saw.dll_14",
"Action=",
"Method=POST",
"TargetFrame=",
"RecContentType=text/plain",
"Referer=?PortalGo&Action=prompt&path=%2Fshared%2FReal%20Time%20Reports%2FReports%2FColumn%20and%20Row%20Sets%20-%20Col",
"Snapshot=t19.inf",
"Mode=HTML",
ITEMDATA,
"Name=SearchID", "Value=nanme332ourdcg67b750d0sc46", ENDITEM,
"Name=_scid", "Value=b53ciR0M7W1QySEfTEmd", ENDITEM,
"Name=icharset", "Value=utf-8", ENDITEM,
EXTRARES,
LAST);
z = (atoi( lr_eval_string("{CountTotal}")));
lr_output_message("Count value after is %d", z);
}while (z == 0);

LoadRunner Virtual User Generator

$
0
0

Do you need to be a local admin to use LoadRunner's Virtual User Generator.


LoadRunner License Issue

$
0
0

Hello,

Recentley in my project, team bought 500 VUD License for couple of days. Now the license has expired. Now we need to utilise our community license for our debugging . Could you please help me to remove the installed licese to procced further.
Note: I'm getting error message says  "There is no valid license" when I try to open CONTROLLER

Trueclient Script Issue

$
0
0

Hi,

I am recording a script using trueclient protocol which has a PDF Pop up. The PDF pop up is not being recorded in to the script. Please help me to solvethis issue.

How to resolve "Target object could not be found" in TruClient protocol( Issue in Controller)?

$
0
0

Hi,

The Java application  Tru Client script is working fine for single user in developers mode. But executing in controller for 2 different users, I am getting an error message "Target object could not be found".(Able to run the script till both users logged in)

LoadRunner version :12.02

Below are the workaround i did in scripting which is not resolving the issue.

1)Select each object argument as "JS" instead of Automatic,

2)Given "Verify" for all the steps and checked the same in developer mode.

3)Added "Wait" of 10 sec between each page or transation.

4)Increased the "Step timeout" and "Object timeout" to 100 or 999 sec in each step and also in verify step as well

When i execute with above settings , I am getting Verify Step "Object could not be found" in Controller, By seeing the application snapshot at runtime. It was in the previous page But not moved to next page which is causing the Verify function failed. please let me know whether there is any setting i need to do apart from the above settings to resolve this error..

Additional Info: Manually , the application launch itself taking nearly 10 sec or more

Regards

Raghul M

 

 

 

 

Installation issue - Loadrunner 12.53 on WIndows8

$
0
0

Hi,

I could download the community edition version12.53. When I go to install by clicking 'setup', is shows message:

It shows a pre-requisite is needed(details is screenshot). When I click to say ok, it should go to install that missing one as per the manual. It displays message "Unable to install pre-requisite KB2999226". (Screenshot)

I went to microsoft and doanloaded this needed one and installed, but no use. It says, it's not needed for this windows.

WHat's going on? anyone came across this issue before? Please help asap!

 

Oracle 2 tier protocol scripting - Correlation help

$
0
0

Application type - 2 tier architecture
Protocol - Oracle 2 tier
required - Scripting help on Correlation.

**1st recording ** // 170188 needs to be correlated -
lrd_ora8_bind_col(OraStm1, &OraDef264, 1, &CONTRACT_ID_D372, 0, 0);
lrd_ora8_fetch(OraStm1, -0, 300, &uliFetchedRows, 0, 2, 0, 0);
lrd_ora8_stmt(OraStm1, "select count ( 1 ) from contract_bp join contract on "
"contract.contract_id =contract_bp.contract_id and live_sts ="
"'L' where business_partner_id =:1 ", 1, 0, 0);
lrd_assign(&_1_D373, "170188", 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm1, &OraBnd109, "1", &_1_D373, 0, 0,
0);
lrd_ora8_exec(OraSvc1, OraStm1, 0, 0, &uliRowsProcessed, 0, 0, 0, 0,
0);

**** 2nd recording ***** //value got changed from perivous recording to 379814
lrd_ora8_bind_col(OraStm1, &OraDef288, 1, &CONTRACT_ID_D420, 0, 0);
lrd_ora8_fetch(OraStm1, -0, 300, &uliFetchedRows, 0, 2, 0, 0);
lrd_ora8_stmt(OraStm1, "select count ( 1 ) from contract_bp join contract on "
"contract.contract_id =contract_bp.contract_id and live_sts ="
"'L' where business_partner_id =:1 ", 1, 0, 0);
lrd_assign(&_1_D421, "379814", 0, 0, 0);
lrd_ora8_bind_placeholder(OraStm1, &OraBnd133, "1", &_1_D421, 0, 0,
0);
lrd_ora8_exec(OraSvc1, OraStm1, 0, 0, &uliRowsProcessed, 0, 0, 0, 0,
0);

question is - How to correlate the above mentioned dynamic value which is present in the assigned statement & later on same value will be used in exec statement.

Kindly help me on this.

Thanks,
Yathish

Viewing all 3978 articles
Browse latest View live




Latest Images