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

How to set the transaction time programatically using Truclient?

$
0
0

I wish to capture the execution time of a backend processing job and show this as a transaction in the Analaysis report. We have a UI page that display the backend job start time and completed time. I can probably write some javascript code to extract information from this UI page and evaluate the job execution time, then output the execution time in the vugen log. But I wish to also see this as a transaction in the Analysis report. Is there a way this can be done? 

It would be great if we can programatically set the transaction time.

Thanks!
Jason


Unable to generate Graphs in Analysis

$
0
0

Hello,

Greetings!!!

I ran a test in controller and after it is done, I Clicked on Analyze results, But I am ended up with below message in Analysis: Please let me know the solution for this. attached screenshot for reference

 

 Capture.JPG

The following graph(s) were not created:

1. Hits per Second

2. Throughput

3. Transaction Summary

4. Average Transaction Response Time

Possible reason: > The graph, as defined, results in no data.

 Other details:

 HP controller Version: 12.53

Patch : 3 updated

Auto Collate results : Enabled

Load generator : Localhost

Thanks,

Sunil

Solution for performance measurement of SPA application

$
0
0

Hi all,.

As many companies are moving into building Single Page Applications (SPA), what would be the best solution to capture real user experience?

I am trying to use truclient for this effort, however, the challenge that I am facing is that if I were to put the end event as “Step Network Completed”, it doesn’t seem to be waiting for all the different calls to complete before ending the transaction. As a work around, what I am implementing is “Wait for object”. However, the drawback is  that this will only wait for the particular object to appear and does not really wait for all the calls to complete (like fiddler or httpwatch). Any inputs in this direction would really be helpful.

Add File upload from Windows Explorer to TruClient Recording

$
0
0

I have a ASP.NET web application that I'm using TruClient to record a process that selects a zip file from Windows Explorer on a locat drive.  As stated in many places in this forum and other resources this process is not just recorded without issue.  As shown in several places I have tried to use the Set full file path on filebox which I captured using this site (http://nervgh.github.io/pages/angular-file-upload/examples/simple/) since the app I'm using would not record the file path.  This did not help.  My guess is the file upload html used in the app is not compatible with using this route.  Is there another route I could take here using a function or javacript here?  Let me know if more details are needed.

Recording issue for a Salesforce application: A problem with the OnClick JavaScript for this button

$
0
0

Hi Community Experts,

There is an error occurring while clicking on a button link through my VuGen script (Truclient 12.50 + Firefox).

The error message prompting as “A problem with the OnClick JavaScript for this button or link was encountered: cpqURLRedirection is not defined”.

Also while navigating the aplication manually and clicking on the same button, this error doesn’t occur.

Any thought and suggestion for the resolution will really be helpful.

 

Thanks in advance!!

 

Regards,

Shiv

Distribute Vusers to Load Generators

$
0
0

Hi, 

I am using TruClient Protocol and since it needs lot of resources to run and not clog the load generator, I am distributing 100 Vusers to 5 LGs that I have. But, is there a way to make the distribution automatic? Right now, I am manually going to Vusers and selecting them to run on different LGs. Is there a better way to do this?

 

Truclient - Pick up different parameter when running on different environments

$
0
0

Hi All,

I have one Truclient script requiring 10 values from a parameter file to run (param1.dat) on environment #1.

I want to run the same script on another environment, and so I need to pass 10 different values to it related to this new environment.

Do you have any convinient way to do this without chaning the script? Some command line parameters to switch between parameters file would be the best but I do not see the support for it.

Any suggestion?

Thanks,

Camillo

Hanging Issue on Windows 7 using HP LR 12.53

$
0
0

I'm getting hnaging issue while replying the script on Windows 7 using HP LR 12.53 community version


Unable to record a desktop application using Java record replay protocol using LoadRunner.

$
0
0

Hello,

     I have been trying to  record a java based application using Java Record Replay protocol in LoadRunner (version 12.53).But no events are recorded.Is there any other protocol that can be used for recording a java based desktop application? If there is any, Do share your suggestion.Thank you.

LoadRunner Actions vs. Transactions

$
0
0
I'm having some trouble wrapping my head around the difference between actions and transactions in LoadRunner. I realize that transactions exist within actions so that is one difference. Both can be used to measure the response time for a set of operations performed on the AUT. When should transactions be used instead of creating a new action?

Automatic SLA report generation after LR test completion.

$
0
0

Dear All,

I am using LR 12.02 and  would like to generate SLA report as soon as test complets with out doing any manual interventions .

If anyone knows please share your thoughts and experiences.

Thanks in advance.

 

Regards,

NarasimhaReddy.T

How to Submit jSON payload and .PDF file in one request

$
0
0

Hi,

I need to request request which should contain 2 parts. Below is what I created. while executing same thing, document is not added as part in request... can someone suggest what I can do to resolve this issue.

part1 - should have json payload followed by part 2 (Content Type - application/json)

Part2 - Should have .PDF file attached to it. (Content Typeapplication/octet-stream)

  web_custom_request("createPackage",
               "URL=XXX", 
                "Method=POST", 
                "Resource=0",
                "Mode=HTTP", 
                "RecContentType=application/json",               
                "EncType=multipart/form-data",
                "Body=------=_Part_95_423423423.142423423\r\n"
                    "Content-Disposition: form-data; name=\"metadata\"\r\n\n"
                    "{"
                      "XX"
                      ":["
                       "{"
                          XX
                        "}"
                      "],"
                     ["
                       
                      "]"
                    "}\r\n"
                    "------=__Part_95_423423423.142423423\r\n"
                    "Content-Type: application/pdf\r\n"
                    "Content-Disposition: form-data; name=\"docA\"; filename=docA.pdf",                    
                LAST);

 

Regards,

GK

Controller Scenario running for very less time than expected

$
0
0

Hi

We have upgraded from Loadrunner 11.0 to LR 12.53. In fact , we are using LR 12.53 on a new machine as a fresh installation (Licensed Version). I have transferred all the loadrunner scripts and all related files

All the Controller scenarios are running as expected without any changes to the scripts or scenarios. However there is one particular scenario file which normally runs for around 4 minutes, this one runs only for 50 seconds on LR 12.53.  This scenario is a data generation step which normally runs for 4 minutes and generates enough data for the main load test. HOwever on running it in LR 12.53, it runs only for 50 seconds and hence there is not enough data generated for the main load test, The scenario runs fine without any errors, but only for 50 seconds.

Note- There are load tests for other applications which run perfectly fine. 

I want to know where to and how to check for the root causes? More questions to isolate the reasons are also welcome

Patch4 installation

$
0
0
Hello,
Regarding patch 4 installation, can I directly install on patch 3 or shld i delete patch 3 and install patch 4.

Please advise.

LoadRunner Analysis: HP LoadRunner stopped working

$
0
0

Hi,

When I am trying to generate a MS word report, the LoadRunner Analysis stopped and the next message is returning:

"HP LoadRunner stopped working
A problem made that the progam stopped working right. The Windows will close the program and will notificate if a solution is available"

- I was running like administrator
- Reports/ New Report (steps like tutorial HP LoadRunner)
- SO Windows 10 enterprise 64 bits

If anybody knows the solution , please tell me.

Regards,

Fabiana Scaramuzza


A method to know about correlation while recording

$
0
0

Hi

   Let me say an example, I have some scripts which have session_id at the login transaction, these session_id have common LB nd RB. My requirement is this session_id has to be correlated while recording or once recording is finished. Similarly other repeating correlation can be added so that after recording the correlation will be done.

  I heard there's a plugin or framework kind of method is there to do it. Is any method there? Can anyone help with this matter?

SSL Connection Error during Replay

$
0
0

Hi,

We are working on a Desktop application , the application is  WPF on .net framework.

All the activites are done locally & on clicking submit button request is sent to the server.

we have recorded the script and we are able to capture the request.

During replay we are getting SSL Connection Error.

Where do we import the Client Certificate for Replay , What format of certificate does LR Supports, (we have certificate in .pfx & .cer Format)

Can you help with the documentation for the Certificate import.  

How to Correlate Hex values in BodyBinary

$
0
0

I am trying to record an application with Web - HTTP/HTML protocol in LR 12.53, and some hex values are getting recorded in BodyBinary tag.

How to correlate the values within this hex code ?

Snapshot=t9.inf", 
		"Mode=HTML", 
		"EncType=application/x-www-form-urlencoded;charset=UTF-16LE", 
		"BodyBinary=<\\x00R\\x00e\\x00q\\x00u\\x00e\\x00s\\x00t\\x00>\\x00 \\x00 \\x00<\\x00C\\x00o\\x00n\\x00n\\x00e\\x00c\\x00t\\x00I\\x00n\\x00f\\x00o\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00U\\x00S\\x00E\\x00R\\x00_\\x00N\\x00A\\x00M\\x00E\\x00>\\x00h\\x00p\\x00_\\x00v\\x00i\\x00j\\x00a\\x00y\\x00p\\x00<\\x00/\\x00U\\x00S\\x00E\\x00R\\x00_\\x00N\\x00A\\x00M\\x00E\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00P\\x00A\\x00S\\x00S\\x00W\\x00O\\x00R\\x00D\\x00"
		">\\x00D\\x00r\\x00m\\x00p\\x00u\\x00m\\x002\\x00v\\x00g\\x00Z\\x00M\\x00=\\x00<\\x00/\\x00P\\x00A\\x00S\\x00S\\x00W\\x00O\\x00R\\x00D\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00P\\x00R\\x00O\\x00J\\x00E\\x00C\\x00T\\x00_\\x00I\\x00D\\x00>\\x00<\\x00/\\x00P\\x00R\\x00O\\x00J\\x00E\\x00C\\x00T\\x00_\\x00I\\x00D\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00C\\x00O\\x00N\\x00N\\x00E\\x00C\\x00T\\x00I\\x00O\\x00N\\x00_\\x00N\\x00A\\x00M\\x00E\\x00>\\x00P\\x00L\\x00M\\x00<\\x00/"
		"\\x00C\\x00O\\x00N\\x00N\\x00E\\x00C\\x00T\\x00I\\x00O\\x00N\\x00_\\x00N\\x00A\\x00M\\x00E\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00A\\x00P\\x00P\\x00_\\x00I\\x00D\\x00>\\x00B\\x00P\\x00<\\x00/\\x00A\\x00P\\x00P\\x00_\\x00I\\x00D\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00C\\x00L\\x00I\\x00E\\x00N\\x00T\\x00_\\x00I\\x00P\\x00>\\x001\\x000\\x00.\\x009\\x001\\x00.\\x001\\x001\\x008\\x00.\\x001\\x001\\x00<\\x00/\\x00C\\x00L\\x00I\\x00E\\x00N\\x00T\\x00_\\x00I\\x00P\\x00>\\x00 \\x00 \\x00 \\x00 \\x00"
		"<\\x00S\\x00I\\x00T\\x00E\\x00>\\x00M\\x00a\\x00i\\x00n\\x00<\\x00/\\x00S\\x00I\\x00T\\x00E\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00L\\x00A\\x00N\\x00G\\x00U\\x00A\\x00G\\x00E\\x00>\\x00E\\x00n\\x00g\\x00l\\x00i\\x00s\\x00h\\x00<\\x00/\\x00L\\x00A\\x00N\\x00G\\x00U\\x00A\\x00G\\x00E\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00L\\x00A\\x00N\\x00G\\x00U\\x00A\\x00G\\x00E\\x00_\\x00I\\x00D\\x00>\\x000\\x00<\\x00/\\x00L\\x00A\\x00N\\x00G\\x00U\\x00A\\x00G\\x00E\\x00_\\x00I\\x00D\\x00>\\x00 \\x00 \\x00"
		"<\\x00/\\x00C\\x00o\\x00n\\x00n\\x00e\\x00c\\x00t\\x00I\\x00n\\x00f\\x00o\\x00>\\x00 \\x00 \\x00<\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00N\\x00a\\x00m\\x00e\\x00>\\x00G\\x00e\\x00t\\x00S\\x00y\\x00s\\x00t\\x00e\\x00m\\x00S\\x00e\\x00t\\x00u\\x00p\\x00<\\x00/\\x00N\\x00a\\x00m\\x00e\\x00>\\x00 \\x00 \\x00<\\x00/\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00>\\x00 \\x00 \\x00<\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00>\\x00 \\x00 \\x00 \\x00 \\x00"
		"<\\x00N\\x00a\\x00m\\x00e\\x00>\\x00G\\x00e\\x00t\\x00S\\x00i\\x00n\\x00g\\x00l\\x00e\\x00C\\x00A\\x00D\\x00P\\x00r\\x00o\\x00p\\x00s\\x00J\\x00D\\x00B\\x00C\\x00<\\x00/\\x00N\\x00a\\x00m\\x00e\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00I\\x00D\\x00>\\x00W\\x00E\\x00B\\x00P\\x00L\\x00M\\x00<\\x00/\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00I\\x00D\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00P\\x00A\\x00R\\x00A\\x00M\\x00S\\x00>\\x00 \\x00 \\x00 \\x00 \\x00 \\x00 \\x00"
		"<\\x00P\\x00A\\x00R\\x00A\\x00M\\x00 \\x00i\\x00d\\x00=\\x00\"\\x00C\\x00O\\x00M\\x00P\\x00A\\x00N\\x00Y\\x00_\\x00D\\x00A\\x00T\\x00A\\x00\"\\x00 \\x00v\\x00a\\x00l\\x00u\\x00e\\x00=\\x00\"\\x00N\\x00O\\x00\"\\x00 \\x00/\\x00>\\x00 \\x00 \\x00 \\x00 \\x00 \\x00 \\x00<\\x00P\\x00A\\x00R\\x00A\\x00M\\x00 \\x00i\\x00d\\x00=\\x00\"\\x00A\\x00P\\x00P\\x00L\\x00_\\x00N\\x00A\\x00M\\x00E\\x00\"\\x00 \\x00v\\x00a\\x00l\\x00u\\x00e\\x00=\\x00\"\\x00W\\x00E\\x00B\\x00P\\x00L\\x00M\\x00\"\\x00 \\x00/\\x00"
		">\\x00 \\x00 \\x00 \\x00 \\x00<\\x00/\\x00P\\x00A\\x00R\\x00A\\x00M\\x00S\\x00>\\x00 \\x00 \\x00<\\x00/\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00>\\x00 \\x00 \\x00<\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00N\\x00a\\x00m\\x00e\\x00>\\x00G\\x00e\\x00t\\x00S\\x00i\\x00n\\x00g\\x00l\\x00e\\x00C\\x00A\\x00D\\x00P\\x00r\\x00o\\x00p\\x00s\\x00J\\x00D\\x00B\\x00C\\x00<\\x00/\\x00N\\x00a\\x00m\\x00e\\x00>\\x00 \\x00 \\x00 \\x00 \\x00"
		"<\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00I\\x00D\\x00>\\x00I\\x00M\\x00P\\x00O\\x00R\\x00T\\x00<\\x00/\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00I\\x00D\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00P\\x00A\\x00R\\x00A\\x00M\\x00S\\x00>\\x00 \\x00 \\x00 \\x00 \\x00 \\x00 \\x00<\\x00P\\x00A\\x00R\\x00A\\x00M\\x00 \\x00i\\x00d\\x00=\\x00\"\\x00C\\x00O\\x00M\\x00P\\x00A\\x00N\\x00Y\\x00_\\x00D\\x00A\\x00T\\x00A\\x00\"\\x00 \\x00v\\x00a\\x00l\\x00u\\x00e\\x00=\\x00\"\\x00N\\x00O\\x00\"\\x00 \\x00/\\x00>\\x00"
		" \\x00 \\x00 \\x00 \\x00 \\x00 \\x00<\\x00P\\x00A\\x00R\\x00A\\x00M\\x00 \\x00i\\x00d\\x00=\\x00\"\\x00A\\x00P\\x00P\\x00L\\x00_\\x00N\\x00A\\x00M\\x00E\\x00\"\\x00 \\x00v\\x00a\\x00l\\x00u\\x00e\\x00=\\x00\"\\x00I\\x00M\\x00P\\x00O\\x00R\\x00T\\x00\"\\x00 \\x00/\\x00>\\x00 \\x00 \\x00 \\x00 \\x00<\\x00/\\x00P\\x00A\\x00R\\x00A\\x00M\\x00S\\x00>\\x00 \\x00 \\x00<\\x00/\\x00M\\x00e\\x00t\\x00h\\x00o\\x00d\\x00>\\x00<\\x00/\\x00R\\x00e\\x00q\\x00u\\x00e\\x00s\\x00t\\x00>\\x00", 
		LAST);

Issue Recording a popup window using TruClient-Web

$
0
0

 

hen I manually access the application, a pop up on button click comes wherein I have to enter some details n submit.

When I try recording it through truclient IE(LR 12.53) no popup comes.

Also a message is displayed in truclient browser console - 

Internal Exception: Line: 0; Character: 0; Error: (Code=0) Script error; URL: file:///C:/Program%20Files%20(x86)/HP/LoadRunner/dat/WebIE/RRE/content/injectedCode/injectToAUTWin.js?mode=interactive

Truclient - Support for newer browser versions

$
0
0

Hi HP Support,

I have hit a compatibility issue attempting to record a script because the javascript used on the page was not supported by Chrome and Firefox versions because their versions are old (around 1 year and half old). I have found a workaround for that but that made me thing about the risk of having a tool supporting browsers version so old.

Maybe you can help me to assess that risk clarifying those points for Truclient protocol:

- is there any specific criteria behind the update ofTruclient supported browsers?

- when is it scheduled the next release providing support for more recent browsers and which version of the browsers will they be?

Thanks,

Camillo

Viewing all 3978 articles
Browse latest View live




Latest Images