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

Load Runner 12.02 - Analysis - Summary data vs Complete data

$
0
0

Hello,

 

 

Can someone please explain the difference between summary data and complete data (in Analysis) ? 

 

I found this in the User Guide but it doesn't really help :

"Complete data refers to the result data after it has been processed for use within Analysis.
Summary data refers to the raw, unprocessed data. The summary graphs contain general information such as transaction names and times. Some fields are not available for filtering when you work with summary graphs."

 

What does the processing do exactly ? 

 

I'm asking because i ran a test and the differences between the time results of the two (summary and complete data) are pretty big. The summary data contains the results that the Controller outputs during the test run and after complete data is downloaded the values are almost halved.

 

 

Thanks !


LR12.01 TrueClientIE If clause within for loop

$
0
0

Hi,

I am new to loadrunner and I am trying to create a script using TrueClientIE protocol.Here is my scenario.

1.Login

2.In item search box enter the item number and click search

3.verify search results displayed

4.Add item to the cart

 

I want repeat the item search multiple times each time with different item number.So I parameterized the item num and added a for loop and added if clause with in the for loop.But when i replay its only taking the 3rd(pPartNum2 in the screenshot) value and entering it in the field.I dont see the 1st and 2nd items getting searched.Not sure what is wrong with my looping...help please?attaching the screenshots

 

Thanks!!

Tracert cmd to get Latency Info

$
0
0

 

Hi All,

 

Below is the latency I have got by using command 

 

C:\Users\Asif>tracert XXX.XX.XXX.XXX

 

 

Tracing route to XXX.XX.XXX.XXX over a maximum of 30 hops

1. <1 ms <1 ms <1 ms        yyy.yy.yy.y
2. 25 ms <1 ms <1 ms        xe-5-3-1-0.lon-004-score-1-re1.interoute.net [zz.zzz.zzz.zz]
3. <1 ms <1 ms <1 ms       te7-5.br03.ldn01.pccwbtn.net [aaa.aa.aaa.aaa]
4. 264 ms       311 ms       264 ms bharti-vlan65.te13-2.br01.sin02.pccwbtn.net [bb.bbb.bbb.bb]
5. 259 ms       257 ms       258 ms  ccc.cc.ccc.cc
6. 256 ms       258 ms       256 ms  ddd.dd.ddd.ddd
7. 261 ms      259 ms        267 ms  eee.ee.eee.eee
8.    *                      *                    *         Request timed out.
9.    *                      *                    *         Request timed out.
10.  *                     *                    *         Request timed out.
11.  *                     *                    *         Request timed out.
12.  *                     *                    *         Request timed out.

 

 

Note:-All IP addresses are masked by alphabets.

 

How to subract from Transaction time of Executed LR report.

 

How to calculate the latency? from above tracert

is it 264+259+256+261 =1040 Ms

 

or any other way  is there to get latency time.

 

Thanks in Advance

 

 

 

Can I test program like AirDroid with loadRunner??

$
0
0

Hi, I am testing a program and I'm not sure if loadRunner is able to test this kind of app also.

 

The program is android phone management program that runs on PC (like the famous AirDroid)

 

The problem is that on log-in, the program should gain access to specific real android device. (it connects with android device)

 

From my understanding, when user record their action and run loadRunner script, it does not actually mimic user behavior (like normal macros), and instead it mimics the protocol and get responses..etc

 

So, I think maybe just mimicing the protocol won't let the device to be connected, hence I cannot test this kind of program with loadRunner. (Actually I tried but it keeps producing error like "Bad Request")

 

Can I test my program with loadRunner?

 

Any help or suggestion is appreciated!

 

Thanks!

 

LR 12.02 TruClient errors not showing in Controller and Analysis

$
0
0

Hello,

 

When replaying TruClient scripts on remote injectors from a Controller workstation, the "element not found" errors never show up. I know errors occured because some transactions at the end of scripts never get executed.

 

I did some tests with a modified script that should always have a "element not found" error:

  • In VuGen or Firefox, with different log settings, the errors always show up.
  • In Controller, with different log settings, the errors never show up.
  • In Analysis, the errors are not showing either.

 

 

Is it a known bug? Am I the only one encountering this problem? Is there a cleaning procedure for controller or injectors that may resolve the problem? Should I verify a configuration somewhere?

 

 

For information, VuGen, Controller and the injectors' agents are all in version 12.02.

 

Thanks!

Protocol: Java Vuser Issue: Unable to compile the script

$
0
0

When I try to compile the script from Loadrunner.

 

I'm receiving the below error message: Around 80 messages

 

Compilation process failed. [MsgId: MERR-22997]
illegal character: \8220 [MsgId: MERR-22986]

 

I have set Path and Classpath varibles as well

 

Please suggest

 

 

Thanks,

Usk

VUGen11.52 couldn't invoke IE on Web/HTTP recording

$
0
0

Hi HP Team,

 

I'm in preparation of VUGEN11.52 based on Windows XP running on Citrix Virtual Desktop.

I've founded that while i tried record on Web/HTTP protocol, no IE session appear even leave it for 10 minutes. As investigation i've done as below.

 

- Disble DEP service
- Try difference recording options
- Reduce security option on IE
- Reinstall LR 11.5 TH
- Enable DEP with IE exception
- remove IE8, test with IE6
- Reinstall IE8

 

*Non of antivisrus installed on this Virtual Desktop

 

All of solution above doesn't help IE to invoke. problem still persist.

Could you please advise how to resolve this error.

 

Regards,

Permwut W.

 

Date format issue in LR script

$
0
0

Hi,

 

I am getting one parameter "hdvalidationdatetime", which is coming from server. But I am not able to corelate this.

 

hdvalidationdatetime=635398074859470000;

 

Please suggest the way to handle this? 


Recording in vugen 12 , truclient using QUIRKS document mode in IE

$
0
0

Dear R&D team

I'm just curious on how to record a website via truclient using

Browser Mode-IE9

Document Mode- QUIRKS

 

Regards

Michelle Looi

 

LoadRunner 12 does not record Siebel HI 8.1 + IE11 script

$
0
0

When I start to record a script with LR12 + IE11 for Siebel HI 8.1 version, I'm getting the error after to execute the login:

 

enter image description here

 

 

This is the Siebel version I'm trying to record:

 

Tools Version: 8.1.1.11 [23030] LANG_INDEPENDE 

 

 

But it does not happen when I access manually this version without LR... I can normally login it.

 

The IE11 in my machine has all Siebel add-ons installed, and I reduce the access control to low. It's like the IE11 instance that LR12 opens is with another configuration/permissions...

 

Anyway, I can record a Siebel OpenUI 8.1 script with LR12 + IE11 normally, the problem is only with HI version.

 

Procedure to write comments Automatically

$
0
0

Hi All,

 

Could you please let me know what is the procedure to write the comments in Vuser_Init() page first page.

 

such as Author , Script name, if anything important we need to add autometically.

 

Thanks

Asif

 

Truclient - IE protocol issue.

$
0
0

We tried to use Truclient - IE to record our AUT, strangely in login page, LR could record all actions (entering userid, password, clicking Login button), but after that, the Truclient browser didn't display any new pages. While in our application ,IE browser will login and open new pages.

 

We also tried Truclient - FF, the truclient browser is able to record all actions and display the pages after login. However our AUT does not support FF, therefore we couldn't use this protocol.

 

Environment: IE9, LR12.02

 

Anyone has any suggestions? Thanks.

 

 

rts-number-element.js - VuGen Runtime settings save error

$
0
0

Hello

 

I often get the below error when I try to save the runtime settings of a TruClient script. I believe this is why I often loose my runtime settings configuration as well.

 

An error has occured in the script on this page.

 

Line: 53

Char: 17

Error: Object doesn’t support this property or method : ‘indexOf’

Code: 0

URL: file:///C:/Program%20Files%20(x86)/HP/LoadRunner/bin/RTS/js/directives/rts-number-element.js

 

What change is required on line 53 in order to fix this problem?

 

It looks like the isNan check is not good. Instead of "is not a number", the code should check for a string then call the indexOf method. For example, an isNan check on an array would trigger a call to indexOf, but obviously you can't call this on an array.

 

Not having a number does not mean that you have 100% of the time a string object; it should be coded the other way around I believe. Someone from HP can fix this?

 

LR 12.02 / Windows 7 / Internet Explorer 11

 

Thanks in advance.

LR 12.02 - VuGen crash with SystemOutOfMemory

$
0
0

VuGen crashes with an OutOfMemoryException after recording an HTTP/HTML procotol script and either editing the script or stepping away for a bit and coming back. It happens consistently, implying a possible memory leak.

 

Full stack trace and screenshot are attached.

 

The Thumbnails are referenced in the stack trace (below). I attempted to disable via Tool -> Options -> Scripting -> Thumbnails -> Uncheck everything. I'll update if this seems to be a viable workaround.

 

This is a new LoadRunner 12.02 deployment. It was an in-place upgrade over R11.52. I did NOT see this behavior on the previous version.

 

I did a keyword search of the forums and did not see this particular issue. Any suggestions what causes it and how to workaround it?

 

Thank you

/Jordan

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

 

 

 

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at System.Windows.Interop.InteropBitmap..ctor(IntPtr hbitmap, IntPtr hpalette, Int32Rect sourceRect, BitmapSizeOptions sizeOptions, WICBitmapAlphaChannelOption alphaOptions)
at System.Windows.Interop.Imaging.CriticalCreateBitmapSourceFromHBitmap(IntPtr bitmap, IntPtr palette, Int32Rect sourceRect, BitmapSizeOptions sizeOptions, WICBitmapAlphaChannelOption alphaOptions)
at HP.LR.VuGen.BackEnd.Thumbnails.ThumbnailCreationHostWindow.GetBitmapSource(Graphics gr, IHTMLElement elementToRender, BitmapSource& bitmapSourceResult, Boolean useTheUserMonitorSize)
at HP.LR.VuGen.BackEnd.Thumbnails.ThumbnailCreationHostWindow.CreateThumbnailWithHtmlViewer()
at HP.LR.VuGen.BackEnd.Thumbnails.ThumbnailCreationHostWindow.Stop()
at HP.LR.VuGen.BackEnd.Thumbnails.ThumbnailCreationHostWindow.TimeoutTimerEventOnUIThread(ThumbnailCreationHostWindow senderWindow)

 

 

How to run IE8 script in Chrome and how to verify that it is running in Chrome

$
0
0

I have recorded one script in IE 8 using ALM 12.0. Now, I want to replay it in CHrome. I have done following settings:

Run-Time Settings>Browser Emulation:

Browser Type = Chrome

Browser Ver = 15.0.860.0

Platform = Windows

User-Agent String = Mozilla/5.0 (Windows) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.860.0

 

Basically, on selecting Browser Type, rest of the info come automatically.

 

My question is: How, could I verify that the script is running in Chrome browser. At present, Run Time viewer does not indicate the browser.

 

Kindly help.


Error: Failed to acquire license for RDP protocol

$
0
0

Hello Experts

 

Greetings!

 

I have created RDP script and it was running fine upto last week. Suddenly it has been failed in this week and I am getting the below error when I run the script from Vuen:

 

Action.c(4): Error:Failed to acquire license.
Action.c(4): There was an error while connecting to the RDP Server

 

I can able to login into the server without any trouble. I have developed the script using Vugen 12.0, Build 1362.

 

Please help me to resolve the issue.

 

Thanks

Selvaganesh E

How scripting will be impacted if application starts opening in tabs instead of windows.

$
0
0

I work in Siebel application. I have recorded and replayed flows in which;

1) Whenever I click on Siebel button from a portal, then Siebel opens in the same window.

2) Whenever I search address, name from the portal, then Siebel opens in a new window.

 

Hence, in any case Siebel will always open in a window.

Also, if user wants to close Siebel session, then it just needs to click on close(X) of the window and that is the only way.

 

But, now, in both of the above cases (1 & 2), Siebel will open in a new tab. There will be no window thing.

 

Question: What would be the impact on existing script due to this change? Will Siebel tab be used automatically by script?

 

Kindly reply.

Issue: Asynchronous Calls (Push) and Proxy

$
0
0

Hi All,

 

I have a loadrunner script sending multiple asynchronous calls by using web_reg_async_attributes function with Push type conversation. In the ResponseCB im implementing the following logic to validate the content of the response:

 

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

 

int Push_01_ResponseCB(
    const char *    aResponseHeadersStr,
    int                aResponseHeadersLen,
    const char *    aResponseBodyStr,
    int                aResponseBodyLen,
    int                aHttpStatusCode)
{
    //Enter your implementation for ResponseCB() here.
    

     //Checking if the String is found inside the ResponseBodyStr and saving the position.

    char * position = (char *)strstr(aResponseBodyStr,"Login Sucessfull");

 

    //If Position is Null means string was not found, so is not a valid response 
    if(position == NULL)
    {
        lr_end_transaction("Login",LR_FAIL);
        lr_exit(LR_EXIT_ITERATION_AND_CONTINUE, LR_FAIL);
    }else{
        lr_save_string("OK","Login_Flag");
    }
    return WEB_ASYNC_CB_RC_OK;
}

 

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

 

The application im testing is under a Proxy and im struggling handling how the communication is happening with the proxy because Load Runner is actually making 2 calls for each push request im sending:

 

1.- First is connecting via Proxy: Which responds only with header "Connection Established", and no Response Body:

 

dashboard.c(117):     CONNECT xxxxxx.xxx.xxx.com:443 HTTP/1.1\r\n
dashboard.c(117):     User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0\r\n
dashboard.c(117):     Host: xxxxx.xxx.xxxx.com\r\n
dashboard.c(117):     Proxy-Connection: Keep-Alive\r\n
dashboard.c(117):     Content-Length: 0\r\n
dashboard.c(117):     Pragma: No-Cache\r\n
dashboard.c(117):     \r\n
dashboard.c(85): t=6381ms: 39-byte response headers for "https://xxxx.xxx.xxxxx.com/xxx/x/xxxx/" (RelFrameId=1, Internal ID=12)   [issued at dashboard.c(117)]
dashboard.c(117):     HTTP/1.1 200 Connection established\r\n
dashboard.c(117):     \r\n

dashboard.c(117): Warning -26000: Push conversation terminated due to end-of-response for URL="https://xxxx.xxx.xxxxx.com/xxx/x/xxxx"  [MsgId: MWAR-26000]

dashboard.c(117): Notify: Deleting Conversation Information with ID="push_01"

 

2.- After connection established is received, Load Runner sends the actual Push Request, which receives the response headers and body correctly:

 

dashboard.c(85): t=6424ms: 1767-byte request headers for "https://xxxx.xxx.xxxxx.com/xxx/x/xxxx" (RelFrameId=1, Internal ID=12)   [issued at dashboard.c(117)]
dashboard.c(117):     POST /xxxxxl/xxxx/sxxxx/xx/ HTTP/1.1\r\n
dashboard.c(117):     Content-Type: application/x-www-form-urlencoded\r\n
dashboard.c(117):     Referer: https://xxxx.xxx.xxxxx.com/xxx/x/xxxx/\r\n
dashboard.c(117):     User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0\r\n
dashboard.c(117):     Accept-Encoding: gzip, deflate\r\n
dashboard.c(117):     Accept-Language: en-US,en;q=0.5\r\n
dashboard.c(117):     Accept: */*\r\n

....

....

dashboard.c(85): t=6426ms: 31-byte request body for...

....

....

dashboard.c(85): t=7232ms: 1981-byte response headers for...

....

....

dashboard.c(85): t=7238ms: 125-byte DECODED response body for

....

Login Sucessfull

.... 

....

 

Theissue

Script is failing while trying to execute the ResponseCB validation because is taking the first call response header: Connection established as the response for the push call, and then terminating the Push conversation due to end of response. However, the second call's response is the actual response i want to make the validations and im not sure how to to that.

 

 

On the other Hand:

Im trying Concurrent tags option and implementing response validations using function web_reg_find("Text=Login Sucessfull",LAST); which is working perfectly fine. The Connection Established messages are still comming but using this function as validation is not taking that as a actual response and keeps waiting for the response body, so script passes. Im not able to use web_reg_find function to make validations on Async calls approach.

 

Im interested in mesuring transaction response time for some sub-groups inside the complete concurrent group, which as far as i know is not possible using concurrency tags and this is the reason im going for the async option.

 

Any help/comments will be appriciated!

Thanks!

LoadRunner is recognizing oracle objects as java instead of Oracle

$
0
0

Hello Guys,

i have an issue with LR that is recognizing oracle objects as Java objects, we have fully patched the software and we cannot get LR work with Oracle forms, can you please let me know any procedure that i can use to solve this.

 

 

P.S. This thread has been moevd from Performance Center Support and News Forum to LoadRunner Support Forum. - Hp Forum moderator

LoadRunner 12.xx TruClient not supporting IP spoofing

$
0
0

LoadRunner 12.xx  TruClient not supporting IP spoofing.

1. When I try "local host" in Load Generator, Firefox getting crashed.

2. When I try with "IP address(e.g. 192.168.0.1)" in Load Generator, users are in Init state only(not moving to Run state, even not showing any errors).

 

Please help me in this.

 

 

P.S. This post has been split off from other thread, moved to LoadRunner Support Forum, and edited its subject. - HP Forum Moderator

Viewing all 3978 articles
Browse latest View live


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