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

Can i record a log for a specific transacion in script?

$
0
0

Can i record a log for a specific transacion in script?


LoadRunner Inconsistent Results

$
0
0

I'm getting inconsistent results when I run LoadRunner.  I'm loading the same script and the only thing I'm changing is the number of users I start with. After I run a scenario I deliberately logoff and logon to the server.  Using this methodology I found that I got 0 errors with 40 users, 100 errors and 40 failed transactions with 50 users and 315 errors and 181 failed transactions with 45 users.  I ran the 45 users a second time and got 126 errors and 59 failed transactions. I would expect to get more errors and failed transactions with 50 users than with 45 users, but that's not the case.

Loadrunner unable to handle Oracle Access Manager SSO Authentication

$
0
0

Hi, 

I am testing a web application which uses Oracle Access manager SSO login, while recording the script from loadrunner. I have observer that LR is unable to handle the dynamic authenticated cookies generated which are required for login purpose.

 

has anyone observer this issue with LR?

 

started transaction but did not reached a corresponding end transaction statement.

$
0
0

While replaying the script if you get the following error message:

Error: Vuser started transaction "logout", but did not reached a corresponding end transaction statement. The transaction ended automatically with status 'fail'.

Answer:

The Transaction logout may not be closed. 

Unable to Edit GWT DFE in Vugen 12.02

$
0
0

Hello All,

 

I am unable to edit the GWT DFE that i added as a chain. Am i missing something here?

Getting Following Error -26630: HTTP Status-Code=401 (Unauthorized) for site[MsgId: MERR-26630]

$
0
0

since few days i am working on a vmntest.srvchangedsitename-now.com now site script but i am failing by trying multiple options. (http/html protocol)

i am not able to complete the login scenario itself ..getting Error -26630: HTTP Status-Code=401 (Unauthorized) , tried correlations as well

Below is the Error Log :

I am just adding the Action part from start point to the point where it failed

 
Action.c(169): Resource "https://vmntest.vmntest.srvchangedsitename-now.com-now.com/scripts/js_includes_customer.jsx?v=07-22-2015_1657&lp=Mon_Jul_27_10_43_40_PDT_2015&c=7_293" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(169): Resource "https://vmntest.vmntest.srvchangedsitename-now.com-now.com/scripts/doctype/js_includes_legacy.jsx?v=07-22-2015_1657&lp=Mon_Jul_27_10_43_40_PDT_2015&c=7_293" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(169): Resource "https://vmntest.vmntest.srvchangedsitename-now.com-now.com/images/x.gifx" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(169): Resource "https://vmntest.vmntest.srvchangedsitename-now.com-now.com/images/loading_anim2.gifx" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(169): Resource "https://vmntest.vmntest.srvchangedsitename-now.com-now.com/scripts/doctype/js_includes_last_doctype.jsx?v=07-22-2015_1657&lp=Mon_Jul_27_10_43_40_PDT_2015&c=7_293" is in the cache already and will not be downloaded again [MsgId: MMSG-26655]
Action.c(169): web_submit_data("login.do_2") was successful, 4806 body bytes, 678 header bytes, 18 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(195): web_url("momentjs.jsdbx_3") started [MsgId: MMSG-26355]
Action.c(195): web_url("momentjs.jsdbx_3") was successful, 9193 body bytes, 347 header bytes, 20 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(202): web_url("response_time.gifx_3") started [MsgId: MMSG-26355]
Action.c(202): web_url("response_time.gifx_3") was successful, 370 body bytes, 342 header bytes [MsgId: MMSG-26386]
Action.c(211): web_submit_data("xmlhttp.do") started [MsgId: MMSG-26355]
Action.c(211): Error -26630: HTTP Status-Code=401 (Unauthorized) for "https://vmntest.vmntest.srvchangedsitename-now.com-now.com/xmlhttp.do" [MsgId: MERR-26630]
Action.c(211): web_submit_data("xmlhttp.do") highest severity level was "ERROR", 84 body bytes, 604 header bytes, 16 chunking overhead bytes [MsgId: MMSG-26387]
Action.c(211): Notify: Transaction "02_Login" ended with "Fail" status (Duration: 2.2801 Wasted Time: 0.0372).
Ending action Action

 

 

============================ TRIED BELOW SOLUTIONS =================

1. Added webset user

2. Corelations for few values in Web_submit_data()

3. Added JESSION cookie and corelated that

4. Tried Winnet Record/Replay method

5. Few changes here and there ...

 

In the extended log it is displaying something about invalid token -

<?xml version="1.0" encoding="UTF-8"?><xml error="invalid token"/>

please kindly with poosible approach that can be done... if you need any further details kindly let me know ..

 

Thanks in Advance

Error: Connect can not be established - Last Citrix error=13

$
0
0

Hi,

Getting the error below, while replaying the script in VUGEN  

Recorded the script for a citrix application using multiple protocol (citrixICA  and  Web-http/html)

 

Error: Connect can not be established - Last Citrix error=13 (Unsupported function), last client error=0 (Unknown client error 0)

 

Please let me know the solution if anyone have faced this issue.

 

How to convert correlation value to DATE format

$
0
0

Hi All,

I need solution for below query, please respond.

I correlated date, and it is capturing date as "11022016" (actual date: 11/02/2016), But I have to pass the parameter value like 11/02/2016. Which approach is the best way?


HTML5 Item Data

$
0
0

I am recording a new app using VuGen 12.50 with the Web protocol.  Some of the transactions are being recorded as web_custom_request instead of the web_submit.  Some of the calls are rest and some are json and those are not an issue becasue there is not parameterization needed.  The problem is the getData calls that are web_custom_requests.  They contain items that are usually broken out into ITEMDATA and can be parameterized.  The ones that are causing issues are  RecContentType=application/xml and the items appear in the body and cannot be changed.  I know I can use web_reg_param and convert what I need but there are lots of them and is really not feasiable.  I have tried boatloads of different settings with no results.  Any ideas?

Example:

web_custom_request("getData",
"URL=https://",
"Method=POST",
"Resource=0",
"RecContentType=application/xml",
"Referer=https://",
"Snapshot=t175.inf",
"Mode=HTTP",
"EncType=application/xml; charset=utf-8",
"Body=<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<queryRequests>\n<queryRequest data=\"XXX\" dataLevel=\"interactive\">\n</queryRequest>\n</queryRequests>\n",
LAST);

 

"CCI compilation error" on Linux Load Generator

$
0
0

All,

I am trying to run a WEb HTTP/HTML script in a LR Controller (v 12.5) scenario that runs it on a Linux Load Generator. The vuser errors out with these two messages -

 Error: CCI compilation error -/tmp/brr_G6GOHp/global_dir/21578919/pre_cci.c: /tmp/brr_G6GOHp/netdir/C/XXX_YYY/XXX_Yyyyyy_script/xslTransform.c:5: error: undeclared identifier `i_dataElementCount'. 

Error: Vuser compilation failed. Please set CCIDebug to Off in CCI section of mdrv.dat file.

The script compiles and runs fine on VuGen, or on a Windows Load Generator. Does it mean we have to change mdrv.dat? What does it mean to set CCIDebug to Off?

Hoping someone would be able to advise. Thank you.

Best regards,

Mriganka

LoadRunner Parameter file path on Linux Host

$
0
0
Hi,

My Web Http/Html script has to read a paramter .dat file from a Linux host, which is also the Load Generator for the test. What kind of file path should be used for the parameter file? Is this sufficient?

/folder/where/controller/has/access/p_paramFile.dat

I will try once I have completed the code. Just wanted to get a headstart on any issue I may face later.

Thank you,
Mriganka

Why does a TLS 1.2 call take 2 TCP/IP connections?

$
0
0

All, I have an HP VuGen client that is using 2 TCP/IP connections to do the TLS v1.2 handshake with my server when mutual authentication is enabled.

According to Wireshark, the sequence is approximately this:

  1. Client SYN
  2. TLS v1.2 client hello
  3. Server sends server hello, certificate, server key exchange, certificate request, server hello done
  4. Client FIN's the old connection
  5. Client SYN's a new connection
  6. Server handshake failure on the old connection (out of order packet)
  7. TLS v1.2 client hello
  8. Server hello, certificate, server key exchange, certificate request, server hello done
  9. (everything is ok after this)

Neither OpenSSL nor a standalone java client exhibits this same behavior. When the server asks for the client certificate the first time, they send it.

With VuGen, I can't see anything different about the two client hello message, nor the server responses. There are definitely two connections, though, because there are 2 FIN's from the client using 2 different outbound ports.

I would like to prevent this because I don't think our production clients do this (since neither OpenSSL nor a java app do it.)

FWIW, it doesn't matter whether I go through a load balancer or not. I get the same behavior.

I believe this has something to do with the server asking for the client certificate because the same server has another non-MA port open that is otherwise configured the same and the VuGen client only makes a single connection there.

Thanks

Vugen 12.5 does not launch browser, fails to record traffic to URL that requires an SSL connection

$
0
0

I am trying to record a simple web htttp/html script to a webserver that requires an SSL (TLS 1.1) connection via port 443. I was able to do this just fine with Loadrunner 12.01 on this same system. However, when I upgraded to Vugen 12..5 (with no patches) the following actions occur I atttempt a recording to this URL. 1) Vugen window minimizes as is normal, 2) the small RECORDING window appears and the elapsed timer starts running and 3) after 60 seconds, Vugen posts a message stating that the application could not be recorded. Continuing the recording at this point does not provide any worthwhile information and so I chose the Cancel Recording option. However, if you look at the Recording outut, there is no log information that is provided. I was hoping for some information indicating some type of SSL Handshake failure but not log information was recorded.

Since I was able to record a script using this same URL with Loadrunner 12.01 within the last week, I am wondering what might be causing this issue and where I need to check in my Vugen configuration for what might be causing this problem. Note that if REPLAY a PREVIOUSLY RECORDED script (done by Vugen 12.01) using Vugen 12.50, the script replays WITHOUT any errors.

So this issue appears to be just a Vugen 12.5 recording and NOT a Vugen 12.5 replaying issue. Any suggestions would be appreciated.

Vugen 12.5 generates exception when trying to correlate

$
0
0

In Vugen 12.5 (no patches), the following exception information is posted in a Vugen error window after clicking "Create Correlation" option within the HTTP Response window. In this case, the correlation was attempted using the REPLAY and not the RECORDING window that contains the HTTP response data. Note that if you IGNORE this error it does appear that Vugen 12.5 will create the requested correlation. However, it is a bit STRANGE to receive an error like that and still believe Vugen 12.5 is still acting in a reliable manner. If this error is ONLY a WARNING, then the message that Vugen posts should be approriately worded as such. This type of error notification gives the impression that the user should CLOSE VUGEN since it has experienced a SERIOUS INTERNAL error.

Click ‘Details’ to display technical details on this error which may help
you solve the problem, or can be used when contacting customer support.

---- Post-error application state information:
Installed 3rd party AddIns: [HP SV ALM Integrations 12.0.0.0], [UTT Configuration UI 12.50.0.0], [Debug Pad Wrapper Extension addin for UTT 12.50.0.0], [UTT Debug Basic implementation addin for UTT 12.50.0.0], [UTT File Dialog 12.50.0.0], [UTT Connection Addin 12.50.0.0], [HPUttIdeCommands 12.50.0.0], [UttBookmarkPad 12.50.0.0], [UttErrorListPad 12.50.0.0], [UttOutputPad 12.50.0.0], [UttTaskListPad 12.50.0.0], [Vugen.ConfigurationUI 12.50.0.0], [VuGen Debugger addin based on UT Debugger 12.50.0.0]
Workbench.ActiveContent: HP.LR.VuGen.SnapshotPad.SnapshotPad
ProjectService.OpenSolution: [Solution: FileName=C:\Users\rdac965\AppData\Local\Temp\LRStudio\7604\Untitled.ltsln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [VuGenProject: mycpa_taxes_wham2014_autawb21]

---- Recent SharpDevelop log messages:
16:16:45.498 [1] ERROR - A request was made for a ThumbnailFile that does on exists on storage request:<ThumbnailRequest Id:103 for:H:\load2014\wham_wave1\sales_tax\data\t70.inf State:Failed Size:Small> ThumbnailFile:H:\load2014\wham_wave1\sales_tax\data\t70.inf
16:16:45.499 [1] ERROR - A request was made for a ThumbnailFile that does on exists on storage request:<ThumbnailRequest Id:104 for:H:\load2014\wham_wave1\sales_tax\data\t71.inf State:Failed Size:Small> ThumbnailFile:H:\load2014\wham_wave1\sales_tax\data\t71.inf

Getting HTTP/1.1 401 Unauthorized\r\n Error ..Kindly Help

$
0
0

I have recorded a HTML/HTTP script - i debuged the script by adding correlation,headers and cookie.

The Error says - 

Action.c(189): <?xml version="1.0" encoding="UTF-8"?><xml error="invalid token"/>
Action.c(189): Error -26630: HTTP Status-Code=401 (Unauthorized) for "https://vmntest.service-now.com/xmlhttp.do" [MsgId: MERR-26630

i compare the Request & Response header  there is header for X-RequestToken , how do i handled this  ? 

Is there anyother possible approach i should look for ?

 

 Action.c(189): Host: vmntest.service-now.com\r\n
Action.c(189): Authorization: Basic dmlhY29tX2NvcnBcZGFsdmlzOk5vdmVtYmVyXzIwMTU=\r\n
Action.c(189): Cookie: JSESSIONID={jsession1}; glide_user_route=glide.7c8b032f420006eb2fcec3ce0c2e6352; B
Action.c(189): IGipServerpool_vmntest=2441101322.40254.0000\r\n
Action.c(189): Content-Length: 110\r\n
Action.c(189): \r\n
Action.c(189): t=34894ms: 110-byte request body for "https://vmntest.service-now.com/xmlhttp.do" (RelFrameId=1, Internal ID=29)
Action.c(189): sysparm_processor=GetUserInfo&sysparm_name=getUserInfo&ni.nolog.x_referer=ignore&x_referer
Action.c(189): =content_redirect.do
Action.c(189): t=35022ms: 821-byte response headers for "https://vmntest.service-now.com/xmlhttp.do" (RelFrameId=1, Internal ID=29)
Action.c(189): HTTP/1.1 401 Unauthorized\r\n
Action.c(189): Set-Cookie: JSESSIONID=DB98C7533BF7B35BCFFF1365A11EA169;Secure; Path=/; HttpOnly\r\n
Action.c(189): Set-Cookie: glide_user_route=glide.7c8b032f420006eb2fcec3ce0c2e6352;secure; Expires=Sat, 0
Action.c(189): 4-Mar-2084 13:28:02 GMT; Path=/; HttpOnly\r\n
Action.c(189): X-UserToken-Response: df1325da13a91a401a5276022244b00aea7f58534b14af2a7a4bb70e3485ccf62da6
Action.c(189): d994\r\n
Action.c(189): X-SessionLoggedIn: false\r\n
Action.c(189): X-HandleTimeOut: true\r\n
Action.c(189): X-AutoResubmit: true\r\n
Action.c(189): X-UserToken-AllowResubmit: false\r\n
Action.c(189): Pragma: no-store,no-cache\r\n
Action.c(189): Cache-control: no-cache,no-store,must-revalidate,max-age=-1\r\n
Action.c(189): Expires: 0\r\n
Action.c(189): Content-Encoding: gzip\r\n
Action.c(189): X-TRANSACTION-TIME-MS: 7\r\n
Action.c(189): X-TRANSACTION-TIME: 0:00:00.007\r\n
Action.c(189): Content-Type: text/xml\r\n
Action.c(189): Transfer-Encoding: chunked\r\n
Action.c(189): Date: Mon, 15 Feb 2016 10:13:55 GMT\r\n
Action.c(189): Server: ServiceNow\r\n
Action.c(189): Strict-Transport-Security: max-age=15768000; includeSubDomains;\r\n
Action.c(189): Connection: close\r\n

 

===========================================================


LoadRunner community 12.50 installation issue.

$
0
0

Hi

Whent I install LoadRunner eveything goes smoothly until I reach a screen prompting me for details of a certificate (screenshot attached). From the dialog box, I am guessing that the default is to create a certificate for me, but if I click next, I get an error saying "The path of the CA certificate file must be not empty". The buttons next to filename input fields, seem to be designed to select a certificate, rather than specify a directory. Either creating a name for a new certificate, or even pointing the installer at a certificate I have generated manually with ga_ca_cert.exe in the bin directory... doesn't seem to work.

I can complete the installation by unchecking the "Specify a certificate" checkbox... However once complete, I get a warning that there is no valid license.. I have followed articles here, that detail problems with LR.pd. I have copied over a new LR.pd file, from the setup folder and also from a post on this forum but that hasn't made any difference.

Anyone got any suggestions on what I am doing wrong here?

Quentin

unable to record https traffic with web protocol

$
0
0

VuGen unable to generate the script for https sessions.

we are using 11.52 and applied patch 4

Can you please suggest

Thanks

 

 

How to launch IE 11 - 32 bit from Vugen?

$
0
0

I am trying to use Vugen 12.5 to record a web application.  This application uses 32 bit activex controls and must run under the 32 bit version of IE.  When I launch the recorder it is always launching the 64 bit version.  I have tried pointing it to the version in Programs Files (x86) but it still launches the 64 bit version.   If I launch IE outside of the tool, the 32 bit version launches.  Any ideas?

 

Server has a weak ephemeral Diffie-Hellman public key

Enable Profiling option removed in runtime setting for True client

$
0
0

Hi, LR 12 had the "Enable profiling" option in run-time settings for TruClient protocol. This setting enabled to capture client side metrics during performance tests. I cannot find this option in LR 12.5. Please advice if this option has been moved to some other place or has been permanently removed. If removed, how can we measure the client side response breakdown now ? 

Viewing all 3978 articles
Browse latest View live




Latest Images