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

Need to create multiple iterations for one particular transaction in script while replay?

$
0
0

I have created a script which have 5 transactions, when i replay the script for only one Itiration the last transaction must be run 22 times (need to get 22 calls), i dont like to create 22 transactions for same calls.

how can i create that kind of condition or Loop?


Make sure the web address https://stgsso.ssogen.com is correct.

$
0
0

HI 

i have a problem in load runner tool while recording in ajax truclient protocal 

i am getting below error. any one please provide solution for this problem.

with IE 10 and 11  and load runner 12.53

Make sure the web address https://stgsso.ssogen.com is correct.

i am unable to record the script 

By using Web(http/html) protocal we are getting below error please any one help me onthis issuse.

Run mode: HTML [MsgId: MMSG-26993]
Replay user agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; Trident/7.0; rv:11.0) like Gecko [MsgId: MMSG-26988]
Run-Time Settings file: "C:\Users\501412875\Documents\VuGen\Scripts\DEV12_Login\\default.cfg" [MsgId: MMSG-27141]
Error -32999: Invalid scheme (not "http:" / "https:" / "ws:" / "wss:") in "stgsso.ssogen.com" [MsgId: MERR-32999]
Error -26499: Internal Error - tUrlCrack is invalid in LrwUtilUrlFilter::_fbSetUrlFilter [MsgId: MERR-26499]
Warning -26518: Error(s) generated while initializing the filter(s) defined in the Runtime Settings > Internet Protocol > Filters view. Open the Runtime settings to edit the filter. Invalid filter(s) will be ignored. [MsgId: MWAR-26518]
Starting to download the proxy automatic configuration script, URL="http://stgsso.ssogen.com" [MsgId: MMSG-27097]
Error -27794: Could not resolve address of host stgsso.ssogen.com [MsgId: MERR-27794]

 

facing issue in correlation function in loadrunner

$
0
0

Error 431 Action.c(431): Error -26628: HTTP Status-Code=403 (Forbidden) for "https://www.sandbox.paypal.com/signin"   [MsgId: MERR-26628] Action.c C:\Users\Darshan\Documents\VuGen\Scripts\PAYPAL23 PAYPAL23

 

I am testing Paypal payment gateway but the seesion is generated everytime new and that's why script is getting failed. If anyone know solution please comment its urgent.

Re: Error -26628: HTTP Status-Code=403 (Forbidden) for "https://erp.metrorailnagpur.com/sap/opu

$
0
0

Appreciate your prompt response. Sorry for not being specific

Here i am referring to HP Loadrunner 12.53 (latest version)

I have got the error while replaying the recorded script

PS: Refer my earlier response on the subject for the issue

 

Connecting to DB2 using LoadRunner....

$
0
0
lr_db_connect("StepName=sname",
"ConnectionName=conname",
"ConnectionString=Driver={SQLServer};Server=this;Database=ka;Trusted_Connection=yes",
"ConnectionType=ODBC",
LAST);

I need to connect to DB2 using lr_db_connect method... what are the properties values that i need to set in the above method....

Thanks,
Munaf

Creating vuGen script for HTTPS application crashes

$
0
0

Hello All

vuGen 12.53

Created new TruCient script to monitor HTTPS web application and while replaying I am getting following errors,

Error -205177: Failed to import client certificate to Load Generator. The browsing may fail    [MsgId: MERR-205177]
Error -205177: ** 2: Click on Sign Out  ** failed - target object was not found. Snapshot Info [MSH End 0]    [MsgId: MERR-205177]

How to solve the above errors before importing the script to APM for deployment to BPM.

Getting different response time waiting on the same object

$
0
0

Hi,

We are currently doing performance benchmarking for our application and notice significant response time difference waiting for the same object using different approach.

Approach 1: Click action with an end event set to Object Exists waiting for Object 'A'.
Approach 2: Click action with an end event set to Action Complete, followed by a Wait for Object 'A'.

I would assume the time should be approximate the same regardless of approach 1 and approach 2. But when I switch between different approach, I noticed that approach 1 took 5 seconds more than approach 2. 

This is not acceptable. 

Here I provide the evidence:

Approach 1:
t=00071577ms: ** 1.1: Evaluate JavaScript code Global.TXN_NAME = "TXN" ...lobal.TXN_NAME); ** started [MsgId: MMSG-205180]
Notify: Transaction "TXN04_EPIM_CM005_SEGMENTS_COLLAPSE_ALL_FILTERS" started.
t=00071786ms: ** 1.1: Evaluate JavaScript code Global.TXN_NAME = "TXN" ...lobal.TXN_NAME); ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180]
t=00071795ms: ** 1: Function startTransaction ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180]
t=00071799ms: ** 17.2: Call Function GlobalLib.startTransaction ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180]
t=00072305ms: ** 17.3: Click on Collapse All Filters button ** started [MsgId: MMSG-205180]
t=00107447ms: ** 17.3: Click on Collapse All Filters button ** successfully completed with end event 'Object Exists' [MsgId: MMSG-205180]
t=00107464ms: ** 17.8: Call Function GlobalLib.stopTranasction ** started [MsgId: MMSG-205180]
t=00107473ms: ** 2: Function stopTranasction ** started [MsgId: MMSG-205180]
t=00107501ms: ** 2.1: Evaluate JavaScript code // stop the transaction ..._ID = txnId; } ** started [MsgId: MMSG-205180]
Notify: Transaction "TXN04_EPIM_CM005_SEGMENTS_COLLAPSE_ALL_FILTERS" ended with a "Pass" status (Duration: 35.9220 Think Time: 0.0150 Wasted Time: 0.9620).

Approach 2:
t=00071574ms: ** 1.1: Evaluate JavaScript code Global.TXN_NAME = "TXN" ...lobal.TXN_NAME); ** started [MsgId: MMSG-205180]
Notify: Transaction "TXN04_EPIM_CM005_SEGMENTS_COLLAPSE_ALL_FILTERS" started.
t=00071785ms: ** 1.1: Evaluate JavaScript code Global.TXN_NAME = "TXN" ...lobal.TXN_NAME); ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180]
t=00071811ms: ** 1: Function startTransaction ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180]
t=00071813ms: ** 17.2: Call Function GlobalLib.startTransaction ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180]
t=00072320ms: ** 17.3: Click on Collapse All Filters button ** started [MsgId: MMSG-205180]
t=00073049ms: ** 17.3: Click on Collapse All Filters button ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180]
t=00073051ms: ** 17.4: Wait for Expand All Filters button ** started [MsgId: MMSG-205180]
t=00102394ms: ** 17.4: Wait for Expand All Filters button ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180]
t=00102404ms: ** 17.8: Call Function GlobalLib.stopTranasction ** started [MsgId: MMSG-205180]
t=00102414ms: ** 2: Function stopTranasction ** started [MsgId: MMSG-205180]
t=00102498ms: ** 2.1: Evaluate JavaScript code // stop the transaction ..._ID = txnId; } ** started [MsgId: MMSG-205180]
Notify: Transaction "TXN04_EPIM_CM005_SEGMENTS_COLLAPSE_ALL_FILTERS" ended with a "Pass" status (Duration: 30.9250 Think Time: 0.0720 Wasted Time: 1.0570).

I ran the same test multiple times using different approach and consistently notice the response time difference of 5 seconds. 

We rely on TruClient to give us the correct response time but I am little confused here why would different approach gives different timing when waiting for the same object.

Can someone help clarify this? This is important as we are basing on the response time for our benchmarking.

Thanks!
Jason

 

Web Trucliejnt - Actions are not loaded in web truclient browser

$
0
0

I have developed a script and I have 6 action defined in my script.

When I am opening this script in develop script mode then web truclient browser open but I can not see any action loaded also I am seeing  "Load Failed" error in web trueclient browser.

Please can you suggest me what's wrong here ?

Regards

KAPIL


How to add a new web_custom_request, how do you know which URL to use?

$
0
0

 

Hi,

Please help me correlate the value ab.

Inorder to correlate the sessionid I looked at the response under the web_custom_request("login") transaction id 113.  Correlation for jsessionid worked. 
However transaction id 113 does not have the response for ab vallue.  I found the response for ab under transaction id 159.


Now I don't understand where to put my ab correlation.  I belive I'm missing a web_custom_request for transaction id 159,
How can I add a custom request?  how do I know which URL to enter?

//Correlations
  web_reg_save_param_ex(
  "ParamName=jsessionid", 
  "LB=JSESSIONID=", 
  "RB=;",  
  SEARCH_FILTERS,
  "Scope=Cookies",  
  "RequestUrl=*/login*",   
  LAST);


 web_reg_save_param_ex(
  "ParamName=AB",
  "LB=name=\"ab\" value=\"",  
  "RB=\"",
  SEARCH_FILTERS,
  "IgnoreRedirections=Yes",
  "RequestUrl=*/login*", 
  LAST);

 

 

//Login request
 web_custom_request("login;jsessionid=saewerwqrqwqrwrwreqwerqwerqwerqwert87o0MfsVw4!196633223",
  "URL=https://mysite/login;jsessionid={jsessionid}?service=https%1A%4F%site%2Fabc%2F22%2Flogon%2Fogon.xhtml%3FtargetWindowName%3DHome",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/html",   
  "Referer=https://mysite/login?service=https%1A%4F%site%2Fabc%2F22%2Flogon%2Fogon.xhtml%3FtargetWindowName%3DHome",
  "Snapshot=t20.inf",
  "Mode=HTTP",
  "Body=username=usertest&password=testtest&ab={AB}&submit=Login",
  LAST);
 

Here's the response for ab under transaction id 159.

<input type="hidden" name="AB" value="LT-1222-44EG555FFFHhtP0t2dPOlvJDSFGKKK3Eeayq" />

 

Thanks in advance

Compile error for every script - Recorded script with SAP-Web protocal

$
0
0

Hi All,

I have encountered an issues with the recorded script which is generated with C language and SAP-Web protocal . it has been observed recently in earlier we don't phased any issues. can anyone help me in this .. thanks in adavnce

 missing "    Action.c    C:\Anand\Sample8    Sample8

syntax error; found `end of input' expecting `)'    Action.c    C:\Anand\Sample8    Sample8

syntax error; found `end of input' expecting `;'    Action.c    C:\Anand\Sample8    Sample8

syntax error; found `end of input' expecting `;'    Action.c    C:\Anand\Sample8    Sample8

4 errors, not writing pre_cci.ci    Action.c    C:\Anand\Sample8    Sample8

 

 

Citrix Users screen got hanged while run the script from controller. How to capture this problem?

$
0
0

Hi All,

I am using multiple protocol script i.e CITRIX + WEB HTTP.
I am running 10 concurrent citrix users controller.LR setting is to Generate snapshot on error in controller.
Now my goal is to achieve 160 orders by each user and I am able to acheive this with Vugen but when I am trying to run in controller I miss some of the orders.
All server side stats are looking good, there is a observation that for few seconds GUI hangs in load and this behaviour is very sporadic.

Now i want solution regarding this, how i should capture screens for those users who's screen was hanged or the users screen when they were having UI rendering issues from GUI.
Since there are no warnings or error messages on screen, also App server logs as well as in LR logs does not indicating such issues.

Kindly help to troubleshoot this issue.

What is HP's recommendation on how to performance test virtualized apps on container?

$
0
0

We want to test client applications that are hosted on virtualized app containers.  Does anyone know if HP have any recommendation on how to performance test virtualized apps this way?  Appreciate your help.

LR12.53 TruClient FireFox. How to enumerate objects on a page fast?

$
0
0

I need to know how many links or buttons with particular properties page displays. I do not need a unique object to performa an action on. I just need a number, preferably fast. If I use following JavaScript as ID Method: 

evalXPath("//ul[@class=\"some-list\"]/li[@some-status='THE STATUS I AM LOOKING FOR']");

then "Evaluate Java Script Code" Fails immediately with ** 7: Evaluate JavaScript code var SuitableLinks = ev... FOR']"); ** failed - exception occurred: ReferenceError: evalXPath is not defined

"Evaluate JS on Object" Spends time "Waiting For Object" then returns:
** 7: Evaluate JavaScript [Code] on SuitableLinks link ** failed - target object was not found.

I can force "Evaluate JS on Object" to give me what I want by  changing JavaScript to:

var SuitableLinks = evalXPath("//ul[@class=\"some-list\"]/li[@some-status='THE STATUS I AM LOOKING FOR']");
ArgsContext.item = SuitableLinks.length;

but it still wastes time "Waiting For Object", and it still fails, so I have to use "Catch Any error" and then use Log option "Do not report errors caught by 'Catch Errors' step". I want a better solution.

Is there really no way to count objects?

Do I need to write my own JavaScript function for this?

 

 

Encountering the error Version of ALM is unsupported

$
0
0

Current we are using loadrunner version 11.52 and performance center version 12.20.

While I try to connect to the ALM from VuGen, encouterig an error " Version of ALM is unsupported".

Does Permance center and Vugen versions should be the same to connect from VuGen? or Do I need to download any extra plugIns to connect to the ALM from VuGen.

 

 

VuGen script using multi protocol (SAP GUI + SAP WEB)

$
0
0

We have various SAP WEB script and these are running fine.

We also have SAP GUI scripts running without problems.
We are trying to record "multiple protocol" script using SAP GUI + SAP WEB. We need to reproduce the same steps than in the previous "SAP WEB" script but accessing through SAP GUI.

We can record all actions but when we try to reproduce the steps it seems that is not possible to reproduce the web steps inside the sap gui (the script code seems correct and the http steps are recorded fine, also seem correct the sap gui recorded steps).

The problem is not recording SAP Gui scripts. We have some SAP Gui scripts running (and we also have some SAP WEB scripts). Our problem is using SAP WEB inside a SAP GUI (the recording is possible but the replay is not possible because we receive errors).

Action.c(214): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://srvsappau01.intra.csc.es:50000/WS_SSO_GET_HO_CRIDA_USU/ZNWS_GET_HO_CRIDA_USU"

For this SAP System we have running a SAP WEB script and now we want to do the same steps but using the GUI/LOGON.

any suggestions please.


LoadRunner on high resolution monitor

$
0
0

 

 

Hello, I am trying to test Loadrunner. It seems layout not displaying properly on 4k monitor. Do you have any suggestion?

 

hplr.png

IE11 Crashing on Vugen 12.53 using WinInet, SSL Error on Sockets

$
0
0

Hi all, Hoping there is a solution for this.

I'm currently trying to record an application using standard WEB/HTTP and run into a few issues. upon trying to authenticate / login to the system.

I've tried a multitude of configuration and other fixes I've found on this forum however none have succeeded so far. Below is what I've tried.

1. WinInet (as well as Sockets & WinINet)  - IE11 crashes, Chrome records no traffic. 

Process: Open home page & click login > There is a problem with your security certificate", page displayed > click Continue anyway > Submit Login credentials, > Crash

Vugen Message: "AUT Process Crashed, Process id: xxxx"

 

2. Sockets - Getting SSL Error (Both IE & Chrome)

Process: Open home Page & Click Login - SSL Error

Vugen Message"The SSL Authentication Failed. Try adjusting the port mapping settings (etc). [Continue] / [Cancel]

Upon contunuing, after about 1 minute there is a standard error page.

Recording log: "[Net An. Error    ( 278: e40)]   (Sid:  4) Negotiate Client -> Proxy SSL Handshake Failed!!!"

[Net An. Error ( c64: 6d0)] SSL_connect(ssl_id = 212746200 = 00000000) Failed, ctx = 0CAE3FD8, err = "[windings symbols], err code = 1576718160
[Net An. Error ( c64: 6d0)] (Sid: 35) SSL handshake with remote server Failed!

 I've also tried disabling auto SSL, or setting it to TLS1.1 & getting the same errors.

And here is everything else I've tried:

  • Changed OpenClientCertificateDialog from 1 to 0 in registery
  • Disabled Data Execution Prevention
  • Disabled UAT
  • Disabled Windows firewall
  • Run VuGen in Admin
  • Checked LR Certificates
  • Tried another machine

 

Now I've run out of ideas and hoping I can get some help

Many Thanks!

Unable to create test script over Oracle Service Cloud Rightnow application

$
0
0

Hi,

I am trying to replicate the communication happening between Oracle Service Cloud Rightnow client destktop application and server.  

Communication between client and server happen using SOAP through HTTPS. Some SOAP messages contain dynamic signatures which are not sent on any previous requests. Therefore I'm not able to correlate and consequently replicate the communication.

Can anyone give me any kind of support/share experience on this topic?

Thanks in advance.

Step Download Timeout.

$
0
0

Hey Everyone,

I am experiencing 'Step download Timeout' error while replay of one application.

I have increased Step download timeout in Runtime setting to 20 mins. Still script is failing.

The step which is failing contains realtimeprogressmonitor.jsp

Can anyone tell me, Why we get this error.

 

Thanks in Advance.

Facing issue in Loadrunner HTTP Status-Code=403 (Forbidden)

$
0
0

Facing issue in Loadrunner HTTP Status-Code=403 (Forbidden) for “https://www.sandbox.paypal.com/signin” [MsgId: MERR-26628]

 

If i change the method from POST to GET, script gets success but in the transaction list page status is awaiting state, the payment is not successful.

Note: When i do the payment manually then transaction status is in completed state and payment is done successful.

 

 

web_submit_data("signin_2",
        "Action=https://www.sandbox.paypal.com/signin",
        "Method=GET",
        "EncodeAtSign=YES",
        "RecContentType=application/json",
        "Referer=https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-1B7670629N2587031#/checkout/login",
        "Snapshot=t38.inf",
        "Mode=HTTP",
        ITEMDATA,
        "Name=_csrf", "Value=9KmCQA6iJyMUVkA8hTTmTWQ51ZMTXrb9iDSF0=", ENDITEM,
        "Name=_sessionID", "Value=uwviv5VWRizd5CSVlkVEIcl9dgn55t5U", ENDITEM,
        "Name=locale.x", "Value=en_US", ENDITEM,
        "Name=dt_stsRedirectUri", "Value=https://www.sandbox.paypal.com/checkoutnow/2", ENDITEM,
        "Name=dt_rememberMe", "Value=true", ENDITEM,
        "Name=dt_flowId", "Value=EC-1B7670629N2587031", ENDITEM,
        "Name=dt_originalUrl", "Value=/signin/inject/?stsRedirectUri=https%3A%2F%2Fwww.sandbox.paypal.com%2Fcheckoutnow%2F2&country.x=US&locale.x=en_US&rememberMe=true&flowId=EC-1B7670629N2587031&returnUri=https%3A%2F%2Fwww.sandbox.paypal.com%2Fcheckoutnow%2F2&state=%3Fflow%3D1-P%26token%3DEC-1B7670629N2587031&requestFrom=server", ENDITEM,
        "Name=returnUri", "Value=https://www.sandbox.paypal.com/checkoutnow/2", ENDITEM,
        "Name=state", "Value=?flow=1-P&token=EC-1B7670629N2587031", ENDITEM,
        "Name=login_email", "Value=xxxxxxxxxxxxxxxxxxxxxxxx", ENDITEM,
        "Name=login_password", "Value=xxxxxxxxxxxxxxxx", ENDITEM,
        "Name=rememberMe", "Value=true", ENDITEM,
        LAST);

Viewing all 3978 articles
Browse latest View live




Latest Images