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

Trying to select Radio Button in Truclient

$
0
0

The web page in question has several rows, and in order to select the right row you click on the radio button.  Each button has unique value, from the page source (<label for="forLoanReq"></label><input type="radio" name="appPkgAndLoanReqDetails" value="552453&gt;620749&gt;FS&gt;CMP&gt;false" ) the two 6 digit numbers are in parm dat file.

Below is a screen shot of the step in true client.  I have pasted the xpath value.

//input[@type="radio" and @value="LR.getParam("PackageID")>LR.getParam("LoanREQID")>FS>CMP>false]";

I am still a rookie on truclient, so any assistance is greatly appreciated.

 

TruClient Capture.PNG


load runner not open

$
0
0

hi, i have downloaded 

This
HPE_LoadRunner_12.53_Community_Edition_Standalone_Applications_HPLR_1253_Community_Edition_Standalone_Applications .zip

but after successfully install nothing open what should i hve to do to open it ???

HPE Performance Engineering news - Aug 2016

$
0
0

Hewlett Packard Enterprise StormRunner Load 2.0 has just been released!
Hewlett Packard Enterprise StormRunner Load 2.0, cloud load testing software, has just been released. Although it may be a small step for us at HPE, it has been a giant step for Enterprise Performance Testing. Born almost two years ago, and with release cycles every two months, StormRunner Load has emerged as a leading cloud performance testing solution. This software packs new and existing features with each release to become a more robust and mature enterprise-ready testing tool. StormRunner Load is simple - because it really takes just few minutes to sign up, upload scripts and start running tests. The software is smart - because it has powerful analytics and enhanced integration with many and various open source and proprietary software solutions. And it is scalable - because you can easily add 1M+ VUsers to make sure your app can handle the load. Read more…

 

The power of load testing IoT: requirements and tips
The Internet of Things is growing at an astronomical rate. This is why load testing these devices and the networks that serve them is vital. We recently had a discussion with a company looking to install smart (IoT) devices. Keep reading to find out what they discovered.

 

Velocity 2016 Santa Clara: 9 reasons this event is impactful for Performance Engineering
Waiting for the O’Reilly Velocity NY, learn more about the Santa Clara event and other cities coming to you soon here. You will also find: Schedule, Speaker slides and Recorded keynotes available. Read more...

 

Get a new way to manipulate JSON with load testing in LoadRunner
Hewlett Packard Enterprise LoadRunner load testing software supports JavaScript as scripting language since release 12.50, however if a user wants to manipulate JSON within an existing C-script, this is more challenging. LoadRunner 12.53 introduces a series of new APIs to manipulate JSON in C language script, making the scripting process easier and quicker for the script developers. Read more...

 

LoadRunner and Continuous Integration: configuring Jenkins jobs in 5 easy steps
If the methodology of your product development includes continuous integration, you should be running performance tests as part of your build cycle. This post explains how you can configure a Jenkins job to run Hewlett Packard Enterprise LoadRunner tests as a build step, and establish service level agreements (SLAs) that will cause the build to fail should these not be met. Follow these few steps to easily run performance testing within your environment.

 

Utilizing the NV Insights report during the performance testing process
How is the network affecting the application? What’s the difference in user experience while accessing the site from different geographical locations? The answers to these questions may be obtained by using a new feature in the integration of Hewlett Packard Enterprise Performance Center with HPE Network Virtualization, called the “NV Insights Report”. Read more…

 

Upcoming Webinars

Aug 9 – 1:00 PM EDT - Performance Engineering and Proven Practices

Sept 6 – 2:00 PM BST - Continuous Testing: The Key To Increasing Delivery Speed And Quality In Your DevOps Pipeline

Past Webinars

Webinar: What’s New in HPE LoadRunner and HPE Performance Center 12.53

Webinar: Performance Engineering and Your End Users

 

HPE Performance Engineering Solutions

HPE StormRunner Load

HPE Network Virtualization

HPE Service Virtualization

HPE LoadRunner

HPE Performance Center

 

Download the Market Guide to Performance Testing by Gartner

 

Try StormRunner Load Now!

 

Syntax for passing array values in JSON request using Vugen.

Need help with Correlation in LoadRunner 12.53

$
0
0

 Hi There,

I have a couple of questions regarding correlation in VuGen script and very much appreciated if I can get some help from you.

I have below parameter to correlate in VuUser script and need to parameterise the value in red.

 

web_url(

"URL=....%27VIS%27+icx_ticket=%27.6PrlVj5DFynvraqctdxJ_w..%27+resp=....",

"Referer=....icx_ticket&gv15=6PrlVj5DFynvraqctdxJ_w..&gp2=resp_app&gv2=",

)

nca_connect_server(".... icx_ticket='.6PrlVj5DFynvraqctdxJ_w..' ....");

 

My Questions are,

1. Since it does not have fixed LB and RB, I can't use web_reg_save_param or web_reg_save_param_ex

but I should use web_reg_save_param_regexp to cope with various paterns. Please tell me it I'm wrong

 

2. If YES from #1, then how to set RegExp= for the various paterns? I tried to use pipe but it did not help and ran into below error. ( IE, "RegExp=icx_ticket=%27.(.*?)%27+resp= | icx_ticket&gv15=(.*?)&gp2=resp_app&gv2= | icx_ticket='(.*?)'")

 Error -35061: No match found for the requested parameter "CorrelationParameter_1". Either the specified boundaries were not found in the response or the matched text is longer than current max html parameter size of 81920000 bytes. The total length of the response is 4717035 bytes. You can use "web_set_max_html_param_len" to increase the max parameter size.   [MsgId: MERR-35061]

 

3.If NO from #1, then how to parameterise the value in red?

Your comments or hint will be very much appreciated as I have already wasted a lot of time to resolve the issue.

 

Cheers,

 

Jason

Error during executing a scenario of C VUser script imported from SeeTest

$
0
0

I recorded a script using Experitest SeeTest Automation tool for mobile performance testing and then copied the code to C Vuser protocol in HP loadrunner.

It is not able to identify client

While executing the script in another machine, which have loadrunner(VUGen), is giving error:


ic_api.h(103): Error: An exception was raised while calling invocation function in interpreter extension cciext.dll: System Exceptions: Uknown.

Please help me in this issue as soon as possible.

And how to initialize a client in different machine in loadrunner C Vuser script?

I have provided the ip address in place of localhost in script. 

Help with TruClient Retries

$
0
0

i have some TruClient scripts developed with VuGen 12.02. i am running them in BAC/BPM 9.25.

i noticed in some of the BAC page component breakdown reports that there are several web page components, like .png objects, that are referenced with an __RETRY_#01 designation at the end of the URL. interestingly, i did not see any retry time listed in the Transaction Response Time Breakdown of the BPM performance over time report.

then, i ran the scripts from the BPM admin page, with extended logging enabled. i found examples of the __RETRY_#01 URL objects there, too. below is a portion of the report.

i would like to understand what these retries represent? how to control whether it retries, and how many times it retries? how to specify how long it waits for a page object? and whether these are settings typically in a browser or are something just in TruClient? (note that these objects are not something we have a TruClient WaitforObject on, and are not full BAC transactions).

09/08/2016 15:41:11 Notify: Transaction "https://my-server/images/logo.png" started. [MsgId: MMSG-16999]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/images/logo.png" started. [MsgId: MMSG-16999]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/images/logo.png" ended with a "Fail" status (Duration: 0.0003). [MsgId: MMSG-16873]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/images/logo.png" has 0 error message(s). [MsgId: MMSG-16818]  
09/08/2016 15:41:11 DEBUG BPM: transaction_handler: end transaction: 'https://my-server/images/logo.png'. Handle: '24', parent handle: '23' [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsClientBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsTransactionBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsPropertyBagServersIPName: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsPropertyBagData: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/images/logo.png" ended with a "Pass" status (Duration: 0.0003). [MsgId: MMSG-16873]  
09/08/2016 15:41:11 DEBUG BPM: transaction_handler: end transaction: 'https://my-server/images/logo.png'. Handle: '23', parent handle: '2' [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsComponentBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsClientBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsTransactionBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsPropertyBagServersIPName: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsPropertyBagData: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/main.css" started. [MsgId: MMSG-16999]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/main.css" started. [MsgId: MMSG-16999]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/main.css" ended with a "Pass" status (Duration: 0.0031). [MsgId: MMSG-16873]  
09/08/2016 15:41:11 DEBUG BPM: transaction_handler: end transaction: 'https://my-server/main.css'. Handle: '26', parent handle: '25' [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsClientBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsTransactionBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsPropertyBagServersIPName: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsPropertyBagData: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/main.css" ended with a "Pass" status (Duration: 0.0031). [MsgId: MMSG-16873]  
09/08/2016 15:41:11 DEBUG BPM: transaction_handler: end transaction: 'https://my-server/main.css'. Handle: '25', parent handle: '2' [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsComponentBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsClientBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsTransactionBreakdown: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsPropertyBagServersIPName: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 DEBUG BPM: GetIsPropertyBagData: 0 [MsgId: MMSG0]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/images/logo.png__RETRY_#01" started. [MsgId: MMSG-16999]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/images/logo.png__RETRY_#01" started. [MsgId: MMSG-16999]  
09/08/2016 15:41:11 Notify: Transaction "https://my-server/images/logo.png__RETRY_#01" ended with a "Pass" status (Duration: 0.0043). [MsgId: MMSG-16873]  
09/08/2016 15:41:11 DEBUG BPM: transaction_handler: end transaction: 'https://my-server/images/logo.png__RETRY_#01'. Handle: '28', parent handle: '27' [MsgId: MMSG0]  

Unable to integrate SIteScope with LoadRunner

$
0
0

Hi,

I am trying to connect HP sitescope with HP loadrunner, but getting an error with unable to connect.

Using trial version of sitescope.

IF any solution have, please suggest me.

Thnaks


Recording Citrix ICA through browser

$
0
0

Hi,

Currently I want to record Citrix ICA launched through browser.

So, basically, there is a URL where I need to login. Once I am logged in, I can click on the icon to download the ICA file and it will then launch the Citrix session.

My problem is way in the beginning. When I am opening the website to login, it will process Javascript to generate several information, such as ica file's content, session_token, etc.

During the recording, I could see that the javascript was executed fine, and hence I could saw that in the correlation window that the session_token was detected during the page loading.

However, when replaying the script, I would encounter the following page:

Action.c(51): <div id="commonBox">\r\n
Action.c(51): \r\n
Action.c(51): <p>You must enable JavaScript in your browser. Contact your system administrator
Action.c(51): for assistance.</p>\r\n
Action.c(51): </div>\r\n

Is there any way to avoid this? The ICA file is generated dynamically through this website.

Thank you.

Charles L.

Disable Mark HTTP Status-Code=401 (Unauthorized) as an Error

$
0
0

Hi to all,

for my Mobile Application I need that LoadRunner (v 12.02) don't mark as an error the http status code 401.

In fact the first request is:

web_submit_data("init", 
        "Action=http://XXX.YYY.ZZZZ.it:81/Application/apps/services/api/Application/android/init", 
        "Method=POST", 
        "RecContentType=application/json", 
        "Referer=", 
        "Snapshot=t12.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=isAjaxRequest", "Value=true", ENDITEM, 
        "Name=x", "Value=0.7308061446528882", ENDITEM, 
        LAST);

and the correct response is:

HTTP/1.1 401 Unauthorized\r\n
Date: Wed, 10 Aug 2016 14:19:09 GMT\r\n
X-Powered-By: Servlet/3.0\r\n
P3P: policyref="/w3c/p3p.xml", CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV
INT DEM PRE"\r\n
WWW-Authenticate: WL-Composite-Challenge\r\n
Expires: Thu, 01 Jan 1970 00:00:00 GMT\r\n
Cache-Control: no-cache, no-store, must-revalidate\r\n
Pragma: no-cache\r\n
Content-Length: 96\r\n
Keep-Alive: timeout=10, max=100\r\n
Connection: Keep-Alive\r\n
Content-Type: application/json; charset=UTF-8\r\n
Content-Language: en-US\r\n
\r\n
714ms: 96-byte response body for "http://XXX.YYY.ZZZZ.it:81/Trenitalia/apps/services/api/Trenitalia/android/init" (RelFrameId=1, Internal ID=1)
/*-secure-\n
{"challenges":{"wl_antiXSRFRealm":{"WL-Instance-Id":"nh991r2o7eduhaefo3ltl74gaq"}}}*

because here I parametrize che "WL-Instance-Id"'s value for switching it in all subsequent requests.

I have tried from Run-Time Settings > Internet Protocol > HTTP > and flag "Mark HTTP errors as warning" but when I reply the script it fails. There is a different method for do this?

Thank you in advance

Ilaria

Having trouble recording a script on Azure Remote App. Anyone know if this is possible?

$
0
0

Hi there,

I'm trying to create a vugen script using Azure Remote App (ARA). I tried using the RDP protocol. It opens up ARA fine and when I start doing actions the number next to the recording buttons increases, showing it is clearly registering my mouse clicks etc. When I press stop and it comes to generating the script it takes a long time and then when it finishes the action is left with nothing in it (unless I add some transactions in which case it just contatins the start/stop transaction text). 

Does anyone know if it is even possilbe to record scripts in ARA using loadrunner? Can anyone suggest any other methods to performance test ARA?

 

Thanks

Recording Siemens Teamcenter application using HP LR

$
0
0

Hi All

 

We are trying to load test Siemens Teamcenter application using HP LR 12.5. These are the issues seen

  • In Load runner we have used multiple protocols and tried recording the script ,but while taking batch file recording button is getting disabled due to which we couldn’t proceed further. Please find the attachment for reference “TC_Batch.PNG”.
    • We have tried with Command prompt  .EXE path and tried recording with multiple protocols ,but after giving login credentials we are not able record getting error and events are not getting recorded in LR. Please find the attachment for reference “TCerror.PNG”.

Kindly let us know if you had faced similair issue and steps to resolve the same.

Can not open Steps Toolbox in Virtual User Generator, version 12.00.

$
0
0

I can not open Steps Toolbox in Virtual User Generator, version 12.00.
Any advice will be greatly appreciated.

 

Getting snapshot exception in log file

$
0
0

When I run a test with1 Vuser, test runs fine, with concurrency test fails with snapshot error.

In concurrency test first user have e1s1, second user will have e2s1 snapshot IDs. Parameterization wont work because it depends on server response. Correlation also difficult because so many snap shot IDs (e1s1 to e1s13) in Script.

Example

https://gmail/onlineQuote/quote?execution=e1s1

https://gmail/onlineQuote/quote?execution=e2s1

https://gmail/onlineQuote/quote?execution=e2s1

TruClient Editor Copy Paste Behavior driving me insane!!

$
0
0

I have a step that need to be copied 10 times so that I can simply change the xpath object that the step is referring to and all other parameters remain the same, seems like a simple copy and paste issue, right?

 

The problem I'm having with the LR 12.53 TruClient Editor is that it "links" the copied and pasted version together (also seems to do this with export / import step as well) so that any changes to either also affects the opposite!

I don't have time to hunt down pages that have each of these objects individually to record them, and "Generic Object Action" doesn't include the "Select" activity.

Any help here before I go mad?? :)


LR V12.53 Java Vuser script fails with error "code too large [MsgId: MERR-22986]"

$
0
0

LoadRunner V 12.53 with Patch1  - I converted a fairly large HTTP/HTML protocol script to a Java Vuser according to the steps outlined in LoadRunner documentation using the sed converter. On execution I get this :

Notify: Found jdk version: 1.7.0. [MsgId: MMSG-22986]
classpath=C:\Users\quicktest\Documents\VuGen\Scripts\TDD-JavaVuser1\TDD-JavaVuser1\;c:\program files (x86)\hp\loadrunner\classes\srv;c:\program files (x86)\hp\loadrunner\classes;;;;c:\program files (x86)\hp\loadrunner\lib\xstream-1.4.8.jar;c:\program files (x86)\hp\loadrunner\lib\xpp3-1.1.4c.jar [MsgId: MMSG-22986]
Compilation process failed. [MsgId: MERR-22997]
code too large [MsgId: MERR-22986]
 public int action() throws Throwable {  [MsgId: MERR-22986]
            ^ [MsgId: MERR-22986]
1 error [MsgId: MERR-22986]

Tried with jdk1.8.0_20 / jdk1.7.0_20 with exactly same error. In runtime setting, also tweaked Java VM additional settings to different settings like :

_JAVA_OPTIONS="-Xms2048m -Xmx2048m".

for example - no joy regardless of the setting.

I'm running under Windows Server 2012 R2 DataCenter on a 12 core VM with 32gb  memory. Script is about 5500 lines long. Can anybody offer any assistance to get resolution ?

TC 12.53 object ID question

$
0
0

Just participated in the TC Webinars last month and am trying to reproduce the results of each presentation. I am using the just installed 12.53 Community version of LR. The follow issue is noted using all 3 of the supported (buit-in) browers. My screen shots are using Firefox (which appears to me to be the preferred browser, if one is preferred).

Anyway, in the TC editor if I expand the editor to full screen and click HighLight button the link is highlighted as expected, as in:

t.jpg

But if the TC editor window is minimized at all, then when I click on the Highlight button the window is scrolled up and the highlighted link appears "hidden" above the visible area of the page, as in:

1. Window starting with the link clearly exposed:

t.jpg

2. Then click the Highlight button; window scrolls the link out of sight:

t.jpg

Why is TC doing this? Does it indicate I have done something in error?

-Thanks, Terry Horwath

 

 

TC 12.53 replay snapshots question

$
0
0

Just participated in the TC Webinars last month and am trying to reproduce the results of each presentation. I am using the just installed 12.53 Community version of LR. The follow issue is noted using all 3 of the supported (buit-in) browers. I have the most basic script of some simple navigation. It replays as expected in all 3 browsers, using the LR interface (as well as the TC editor environment). I assume that validation of a script is not complete until it runs correctly under LR (independent of the TC editor environment).

So after a successful run I want to see the snapshots associated with each step, but find none:

t.jpg

t.jpg

I believe I have enabled everything under the sun to get snapshots (see next) so what am I doing wrong here?

t.jpg

and

t.jpg

Also, I can't get the ever helpful Runtime Viewer to work during replay. Is this a bug or intentional disabling of this useful tool? (Given that a similar tool works in the TC editor environment it seems it should also be supported in the LR replay environment, given how useful it is).

t.jpg

 

TC 12.53 replay level

$
0
0

If TC records some mouse overs at Level 3 and I have my replay level set to 1, will TC replay or not replay the Level 3 mouse overs? I am thinking that the mouse overs are "disabled/ignored" unless I set my global replay level to 3 but would like to confirm that assumption.

Also when the script is played back by LR (either under vuGen or on an LG) is the global replay level I set in the TC editor known and used during replay in those environments, or do those environments always use Level 1?

-Thanks, Terry Horwath

LR 12.02 Host ID changed, machine did not

$
0
0

Hello,

I was having problems with a computer, so I wiped it clean. Now when I go to install Loadrunner, it says the Host ID is different. I cannot install the License I had, even though the macine is the same. Any way I can change it?

How does the naming system work for the Licenses?

Any help would be appreciated.

Thanks.

Viewing all 3978 articles
Browse latest View live


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