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

11.50 TruClient IE playback hangs

$
0
0

I can create a TruClient Firefox script fine, but when I try to create a TruClient IE script (using IE10), the playback doesn't work. 

 

I can get into Develop Script, and can record my actions, but if I try to play back any (or all) actions, the progress bar goes halfway across the action and then just hangs there until I get a timeout error. 

 

I assume this is an issue with setup, because I just got IE10 installed, but any help would be greatly appreciated. 

 

I keep seeing blog posts saying to look at the access requirements, but I can't find that document anywhere.  A link, please?

 

 

Thanks,

Matt

 

 


Trouble replaying Oracle NCA script (button press takes a long time and expires during replay)

$
0
0

Hi,

 

We are evaluating LoadRunner (11.52 Patch1) for performance testing here at Croatia osiguranje d.d. and are having trouble replaying button presses that take a long time in Oracle NCA.

After some time, we get "Error: Error: ifError expired (n)". Here is a detailed log excerpt:

 

Action.c(12): t=8344ms: 251-byte response headers for "http://server.crosig.group:7779/forms/lservlet;jsessionid=xxxxxx" (RelFrameId=1, Internal ID=19)
Action.c(12):     HTTP/1.1 200 OK\r\n
Action.c(12):     Date: Wed, 05 Feb 2014 08:22:01 GMT\r\n
Action.c(12):     Server: Oracle-Application-Server-10g/10.1.2.2.0 Oracle-HTTP-Server\r\n
Action.c(12):     Content-Length: 15\r\n
Action.c(12):     Cache-Control: private\r\n
Action.c(12):     Keep-Alive: timeout=15, max=82\r\n
Action.c(12):     Connection: Keep-Alive\r\n
Action.c(12):     Content-Type: text/plain\r\n
Action.c(12):     \r\n
Action.c(12): t=8344ms: 15-byte response body for "http://server.crosig.group:7779/forms/lservlet;jsessionid=xxxxxx" (RelFrameId=1, Internal ID=19)
Action.c(12):     ifError:11/3200
Action.c(12): Error: Error: ifError expired (5)

 If we set larger values for Oracle NCA Client Emulation Pragma Mode (e.g., Max retries or Retry interval) VuGen usually freezes during replay. Then we have to kill all HP processes (or restart the machine) in order to run the script again.

Any ideas how to overcome this?

Correlating Oracle 2 tier protocol script

$
0
0

Hi,

 

We are evaluating LoadRunner (11.52 Patch1) for performance testing here at Croatia osiguranje d.d. and are having trouble replaying Oracle 2 tier scripts.

 

It seems that Correlation/Async studio isn't available for that protocol, and the approach suggested by the documentation (11.50 VuGen User Manual), i.e. using Snapshot Pane isn't very usable.

 

To illustrate the problem on a simple example, we have a SELECT statement on a sequence (for a primary key) prior to inserting new data. The actual retreival of the sequence value isn't recorded (no lrd_ora8_fetch call), and there is no data grid with the respective value in the Snapshot Pane (for manual correlation using GUI). However, the value is used for the next SQL statement (it's bound to a statement parameter). Of course, the script fails to replay due to unique constraint on the database.

We managed to correlate the script manually. This involved inserting lrd_ora8_bind_col, lrd_ora8_attr_set, lrd_ora8_save_col and lrd_ora8_fetch calls, and declaring additional variables in vdf.h (which by default isn't even visible in the Solution Explorer). While this proof-of-concept gives us hope, we feel that this should be much easier to accomplish in VuGen. Could we be doing something wrong?

 

We are using Oracle 11g database and the application is accessing the DB using 11g client.

 

Load Runner: After replay system is display "Replay status failed" error message.

$
0
0

Hi,

 

I am at beginner level and learning Load Runner via tutorial which is given by HP load runner team. as per the given steps I created a script "basic_tutorial" on HP web Tours, but after replay system is display "Replay status failed" error message on Replay Summary screen.

Please find the snapshot in attachments.

 

Thanks & Regards:

Arvind Kumar

LoadRunner 11.52 evaluation version expired before 30 days after its installation

$
0
0

Hi,

 

Is it possible to get the evaluation version for loadrunner 11.52, since my evaluation version got expired before its actual date

 

Thanks,

 

LoadRunner V11.5 and Remedy 7.6.04

$
0
0

Any one know if LoadRunner V11.5 is compatible with Remedy V7.6.04?  We are needing to conduct load tests for Remedy and have LR V11.5 installed.  Couple years ago we had to bring in another product to conduct the Remedy load tests because the previous version of LR we had was not compatible.  Would like to use LR this time and not purchase another product.  If you have any success stories, please provide.

 

DG

 

--------------------------------------------------------------------------------------------------------------------------------------------

PS- This thread has been moved from Community and Feedback to Loadrunner Support Forum - Forum Moderator

Can RDP Protocol be used for a Linux based application

$
0
0

Application Background:

The application we need to test has a SWING based client. This client communicates with the underlying Webservices deployed on a Glassfish App server running on Fedora host. The swing based client is accessed via a POS touchscreen terminal.

Testing Done Till Date:

We created web_custom_request () so as to test the web services and comment on their performance. Although we were able to improve the service performance, the end user still faces some performance challenges. The question that we got from our client is "If we can include GUI as well in the Performance testing as it may be that is cause of concern. "

Probable Solution:
Connecting to the POS system/ servers using Remote desktop. Installed xRDP on host machine and able to access the server via Remote Desktop from machine where VuGen is installed. Able to connect to the host/ server machine. Able to launch application.

Issue Facing:

While recording, we can

- Connect to server host
- Launch the application and successfully browse it.
- We can see events being recorded in the recording window of LR with RDP protocol.When we stop recording, we get message "/* Requested desktop size of 1280 x 1024, but received desktop size of 1920 x 1200 */" in the script and nothing is recorded in the script after the connection is established.

Ajax Tru Client IE: Replay freeze on double listbox

$
0
0

Hi All,

 

We have issue in replaying our AJAX Truclient IE script.

 

We are working with LR 11.52 and IE9.

 

Our script is selecting a value from a listbox, which updates the form depending on the value selected, basically creating a new listbox or updating values in an existing one.

 

Simple listbox are working fine, but the first listbox in a double listbox combo freezes halfway though replay.

 

If any one has come across this issue or know any workaround, please do share.

 

Thanks,

Anju

 

 


Does LoadRunner Capture Processes for BMC's REMEDY ?

$
0
0

Can LoadRunner be used to do performance tests with REMEDY V7.6.04  ??  What "add on" is needed if applicable ?

Unresolved symbol : web_reg_save_param_regexp

$
0
0

Hi Experts,

 

I am using VuGEN 11.03 and I have got a script from my colleague which has web_reg_save_param_regexp" function used into it. Whiile running on my VuGEN, I am facing the below mentioned issue:

 

Error: C interpreter run time error: Action.c (102):  Error -- Unresolved symbol : web_reg_save_param_regexp

 

It seems this function is not available on my current version of VuGEN 11.03. I tried to find this function in VuGEN helpfile but could not found it.

 

1) Please suggest Is there any kind of patch available or any ways to make this function available in my VuGEN?

2) Also, if I directly run this script on BPM 9.13/9.03, will this function work on BPM(I am assuming here that BPMs may have libraries for this function reference).

 

 

Thanks & Best Regards,

Mayank

in lr 11 cant we add windows 2008 in controller measurement as monitor

$
0
0

we have lr 11 and in Controller measurement section I cant see support of  windows server 2008 as available platform support.

 

Cant we add windows server 2008 platform as monitor?

 

 

P.S. This thread has been moved from Application Perf Mgmt (BAC / BSM) Support and News Forum to LoadRunner Support Forum. -HP Forum Moderator

web_reg_sa​ve_param_r​egexp in Vugen

$
0
0

This is a crosspost, as I initially posted in the incorrect forum...

 

I'm having an issue using web_reg_save_param_regexp in Vugen. I need to grab the "href" parameter from the following HTML code:

 

<a href="/some/url/here/"><img src="/some/other/url/here.gif" border="0" align="absmiddle"/>
    Foo</a>

  

I have found this href parameter to be anywhere from the second to the fourteenth on the page, so using "ORDINAL=" to find the position doesn't work. As a result, I elected to use web_reg_save_param_regexp.

 

According to the web_reg_save_param_regexp reference in Vugen, a valid Perl regex will work in this function. I've built and tested the following regex, which correctly extracts the URL I'm looking for:

 

/href=\"(.+)\">.+Foo<\/a>/si

 

 

However, when I insert the following code into Vugen, it complains that the specified parameter can't be found:

 

web_reg_save_param_regexp("ParamName=Correlation1",
                          "RegExp=<a href=\"(.+)\".+Foo<\/a>",
                          LAST);

  

I assume that this is because the source HTML in the page spans multiple lines, but there does not appear to be an equivalent to Perl's "s" flag, which allows the regex to span multiple lines.

 

Unfortunately, the href is dynamicly generated each time the application runs, so I can't just hardcode it, and I am not the author of the webpage, so glomming all this together into one line in the page source is not an option.

 

Help? Am I missing flags for this function? Is there a better way to do this with a different web_reg_save_param_* function?

 

Thanks.

 

 

P.S. This thread has been moved from Application Perf Mgmt (BAC / BSM) Support and News Forum to LoadRunner Support Forum. -HP Forum Moderator

 

failed - end event error due to network timeout

$
0
0

I have created a script in vuGen (11.50) using the TruClient AJAX for IE protocol. 

When i play this script with 1 vUser on Performance Center everything is fine.

But the more vUsers is use, the more network timeouts i get (relative and absolute).

What are these kind of timeouts and how to make them dissapear?

 

 

P.S. This thread has been moved from  Performance Center Support and News Forum to LoadRunner Support Forum. -HP Forum Moderator

LR Controller Issue - Unresolved Iteration loop.

$
0
0

Hello Everyone,

 

I am facing an issue with Load Runner - Controller.

 

I have a script where user login, perform some search which list document’s, view one of the document and logout. So my login information is in Vinit and logout information is in Vout and search and view page informations are in Action. 

 

I have taken care of all dynamic values through correlation and I don’t have any issue while running the script in VuGen. However, when I run the same script through LR Controller - after exactly 4th iteration the script starts fail.

 

I tried debugging issue by enabling extended log and here what I have noticed

 

- At 5th iteration- for some reason it’s not passing test data value which is parameterized. Even if I don’t parameterize, and run single user for 30 minutes duration, still the issue is same. Since it doesn’t get its search parameter, so search result page response doesn’t get any list of documents, as a result view document page also fails. This is continuing till nth iteration (or till end of test duration) and will never resolve on its own. Here it gets into unresolved loop.

 

- If I include my login and logout information, then I don’t see this issue and Vuser run will run for 100 iteration without any errors. But I cannot take this path, because my total user load will choke the LDAP.

 

- I tried enable and disable Browser Emulation Option ( especially Stimulate New User on each iteration ) which I suspect could be the issue and wonder does this clear all the HTTP context at the end of 4th iteration, if so then yet again another question, why only 4th iteration?? Anyhow, it didn’t help me to resolve my issue.

 

- In fact this is not a good approach but still I tried to store the values in global parameters and then use it, but yet again when I run script in LR Controller, for some unknown reason it will clear all the parameters.

 

- I defined multiple Action’s and placed login info in first action, placed view and search in another action and placed logout info in last action. Looped search and view action to 4-times. Ideally its same approach as my second point, but only thing is controlling login and logout slightly.

 

I would like to understand what’s happening in Controller??

 

I am clueless. So if anybody had faced this kind of issues before, then share your ideas/approach.

 

**LR v11.5, Windows Server 2008 R2, Protocol: Web HTTP/HTML

Syntax to read a text file.

$
0
0

Hi,

 

Can you please help me understand about the syntax to read a file.

 

Small program about read/write would be appreciated....

 

Thanks,

Sati


DotnetExtensionReplay.dll: System Exceptions: Uknown

$
0
0

Hi,

 

We have added some C# code in the v_userinit section after recording our  .NET application.  Compilation gives no error. 

 

Added code in v_userinit (LR 11.52 .NET 4)

 

          lr.log("=== Start code to initialize CDA ===");
       
             lr.log("=== Create new session");
         Session = new CDASession("PerfTest");
             lr.log("=== Configure new session");      
             Session.Configure(@"D:\appl\SalesApp.L\SalesApp\CDAConfig\CdaConfig.xml");
         
          lr.log("=== End of code to initialize CDA ===");      

 

 

But during replaying we get next error :

 

 

Virtual User Script started at : 10/02/2014 14:42:27
Starting action vuser_init.
=== Start code to initialize CDA ===
=== Create new session
=== Configure new session
Error: An exception was raised while calling invocation function in interpreter extension DotnetExtensionReplay.dll: System Exceptions: Uknown.
Action was aborted.

 

Any idea ?

 

Thanks in advance,

 

Peter

 

Load Runner Parameterisation Problem

$
0
0

Hi Guys,

 

I have an application where I am selecting year as a filter(List Item). All the elements on my application are objects.

 

When I select 2011(list item/element), first value from the below values is getting populated in the javascript code of that particular object. ID Method used is JavaScript

 

evalXPath("/html/body/div[8]/div/div/div[1]/div[1]"); ------>for 2011
evalXPath("/html/body/div[8]/div/div/div[1]/div[2]"); ------>for 2012
evalXPath("/html/body/div[8]/div/div/div[1]/div[3]"); ------>for 2013

 

I am unable to parameterise 1,2,3 in above javascrpt code.

 

Tried creating a parameter P_Year with values as 1,2,3 and replacing it in code as below

 

year=LR.getParam('P_Year')

 

evalXPath("/html/body/div[8]/div/div/div[1]/div[year]");

 

But it dint work. Need your help on how to parameterise.

 

I know how to paraterise when it is in Value field. But failing when I try to parameterise any value, if it is the code as above.

 

Thanks in advance.

 

Protocol Used: Ajax Truclient on LR11.52, Firefox version

 

 

Kerberos Authentication with Loadrunner 11.00

$
0
0

I have created a document that elaborates Kerberos authentication and how to create HTTP/HTML protocol scripts for applications that uses Kerberos authentication.

Please let me know if you have any questions or comments.

Recording Service Manager

$
0
0

I'm trying to record a script with Service Manager. I'm using Loadrunner 11.5 and recording with IE using the Web(HTML) protocol.

 

I was able to load service manager login page and login. But upon login in, IE would freeze and memory/cpu consumsing go all the way up.

 

Seem like the session keep trying to load the same resource over and over again. I see at least 40 of these web_url in the script.

 

	web_url("nav.menu_9", "URL=https://sdap.abc.com:8443/sm9/cwc/nav.menu?name=navGenerate&aftk-92=-95861537&_dc=1392091853020&aftk-92=-95861537","Resource=0", "RecContentType=text/xml", "Referer=https://sdap.abc.com:8443/sm9/index.do","Snapshot=t226.inf", "Mode=HTML", 
		LAST);

	web_url("detail.do_9", "URL=https://sdap.abc.com:8443/sm9/detail.do?aftk-92=-95861537","Resource=0", "RecContentType=text/html", "Referer=https://sdap.abc.com:8443/sm9/index.do","Snapshot=t227.inf", "Mode=HTML", 
		LAST);

 When looking in task manager IE process was using 100% CPU and almost 1GB memory.  This alway happen as soon as I log into Service Manager.

 

Any Idea?

Time parameter parsed incorrectly during replay in TruClient Develop Script mode

$
0
0

Hi,

 

I am stumbling into a strange problem. I am using two time parameters with a certain offset in the past:

aTime = Current time minus 5 minutes

bTime = Current time minus 30 minutes

 

Both parameters are in the format %H:%M.

 

Whenever I replay in Develop script mode it happens frequently that one or more of the time digits are parsed incorrectly to the UI of IE. For instance, the current time is 07:33 and then I see that the bTime parameter is parsed as 07:)3 while it should have been 07:03. This happens to one or both parameters by the way, but not all the time.

See also attached screenshot.

 

I can reproduce this only in Develop script mode, not in load mode. It never occurs in load mode, so I cannot add a trace file for it, since I do not know how to switch on logging when being in develop script mode (if that can be done at all...)

 

All in all this is very annoying.

Has anyone encountered this problem using TruClient? Is this a bug?

 

My environment is:

Windows 7 SP1 Enterprise edition, region format is set to English (UK)

VUgen 11.52

IE10, TruClient using IE10 in IE9 standard mode

 

Peet

Viewing all 3978 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>