Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all 12134 articles
Browse latest View live

Creating a Parameter in a Java Record Replay script

$
0
0

Hi there

 

I recorded a script using the Java Record Replay Protocol. I am able to compile and run the script successful.

 

However when parametise the UserName in the script i get errors:

 

_char_array1 = new char[] {'P', 'H', 'E', 'E', 'w', 'o', 'r', 'd', '1'};  // IDLSequence
        _activityusersessiondto1 = _sellitservicelocator1.login("F3142884", (char[] _char_array1, "12.50.11.999");

 

I right clicked and created a parameter

_sellitservicelocator1.login("<USERNAME>",

_sellitservicelocator1.login("{USERNAME}",

 

Both lines do not get the parameter from the parameter list. It users the Paramter name instead. USERNAME.

 

Any help in this regard will be helpful.

 

Thanks


Re: How to exclude some url's from recording

$
0
0

Thank you for your reply.

 

But there are other third party tracking events that have their url on our website,like

 

http://bcp.crwdcntrl.net

 

http://ocsp.digicert.com/

 

How can I stop recording them?

 

when the website is opened for recording, before I make any user interaction, the events recorded by LR are 1000+.

 

Some of them are 

 

web_add_cookie() functions

web_urls()

AngularJS not captured in Vugen11

$
0
0

We have an application, which is developed using AngularJS. During test script recording in Vugen, we were unable to capture the Loading part of the application.

 

To give you a brief description, after successful logged in, the user will be redirected to the “item search page”. In this page, there are available drop down menus where the user has to select values. These drop down menus were associated to each other. When the user select a value on the “drop down 1”, then “drop down 2” will load values which are associated to “drop down 1” selected value. The page does not refresh, it will only display a loading circle which indicates that there is an action being performed (Loading of datas in drop down menus).  

 

These actions were not recorded.

 

Tried to record using WEB HTTP/HTML.

 

Any suggestions/help?

 

Re: Load Runner 11 and TCP IP

$
0
0
Hi All
1.My 1st question is that can we use load runner for testing load on client server application.

2.Is LoadRunner12 supports TCP/IP protocol.

Please reply

Thanks in Advance.

Re: Unable to record through Chrome Browser on LR 11.5

$
0
0

I found this solution very helpful and it fixed a problem we ran into, so thanks!

 

Do you have any more details as to what exactly this fixes the problem? Can you clarify what the [NoTrap] section is defining? Why it's missing to begin with?

 

I would fine any details on this very interesting.

LoadTesting Streaming Video With Flex Protocol

$
0
0

I see a lot of questions on this topic, but not very many answers. Perhaps it's because there are a lot of variables to consider when recording Flash. I'll give as much information as I have.

 

We have a learning management application that is powered by Success Factors software and Adobe captivate. It displays interactive Flash files to the user.

 

We've been successful so far in recording the interactive modules and running load tests with the scripts.

 

Now, the custotmer wants us to test the same system, but this time with a streaming video. I can record this with Flex protocol, but it gives me no indication that it is actually streaming the video.

 

The customer's main concern here is bandwidth, so  how do I simulate the bandwidth that will be taken up by each virtual user? I've tried using TruClient as well, but it won't load Flash at all, even though my Firefox and IE both have Flash installed already.

 

Thanks,

John

Re: TC_FF: Iteration number not reflected correctly in vuser_init after a script run

$
0
0

LR 12.

And this is only in interactive mode.

What is the difference between Load Runner Controller and Performance center?

$
0
0

I have come accross with this question that what is the main difference between Load Runner Controlloer and Performance center?

 

Please help me out.


Re: What is the difference between Load Runner Controller and Performance center?

$
0
0

Hi Anthony1db

 

Hoping you are doing well!

 

Well They are both user for Performance Testing, buy PC isthe Enterprise Version of LoadRunner, So it suits tlarge companies who need to run performance testing for mutiple projects at the same time without the poblem of shareing a Controller or purchasing duplicate licences.

 

 

LoadRunner Controller(s) ca be standalone or act as a Controller node as part of a larger performance center architecture. Performance Center replaces your user interface with a web-based console for your activities.

 

Also Performance Center is simply Loadrunner wrapped up in a web front end.  By wrapping up the LoadRunner components into a web front end it means the service can almot be treated as a Software as a Service.

 

Approaches:

 

 

1. Anyone within a organisation can gain access to the software, particularly useful if you are a global and distributed entity.

 

2. Reduce the license costs of implementing LoadRunner within large organisations.

 

3. Allow global Centers of Experience to standardise approaches and consolidate hardware.

 

4. The HP Performance Center software can be centrally administrated.

 

 

A main advantage of HP Performance Center over LoadRunner mainly reduce the cost. So installing LoadRunner on 'x' performance testers PC's will be a lot more expensive than sharing it as a resource between them through Performance Center.

 

 

 

Please let us know if this information was useful.

 

Thanks and Regards,

 

 

 

Re: how we change the controller server's

$
0
0

Hi Chaman Kalra,

 

Hope you are fine!

 

if this post or any other post helps to resolve this issue or query, please mark the thread as solbed and give KUDOS to the author for their assistance.

 

Kind Regards,

 

AlexisB

Re: Urgent Help Plz!!! Vugen Mapi script with BPM

Web HTTP/HTML Protocol - lr_get_transaction_duration throws error

$
0
0

Hi,

I am trying to use this function in simple Web HTTP/HTML script but I am getting the same error. could you please help?

 

    double trans_time, wait_time;
    
    lr_start_transaction("test");
    
    lr_think_time(2);
    
    web_url("..", 
        "URL=....................", 
         ...............
        LAST);
    
    lr_think_time(5);
    
    lr_end_transaction("test", LR_AUTO);

trans_time = lr_get_transaction_duration("test");

 

Error message in reply log: "Action.c(25): Error: Failed to get duration of transaction "test"."

What is the difference 90 percentile Vs Average Response time in Analysis Report

$
0
0

Hi,

 

 

When we are conserving the Average Response time from the Analysis reports. Which one we need to consider 90 percentile or Average Transaction Response time.

 

What is the difference 90 percentile Vs Average Response time.

 

Please clarify!

 

Thanks,

Raj

Re: Web HTTP/HTML Protocol - lr_get_transaction_duration throws error

$
0
0

Hi,

 

As Function Reference of Vugen - "The lr_get_transaction_duration function returns the duration in seconds of the specified transaction to this point. You use this function to determine the total transaction time before the transaction has ended".

So you should place 'lr_get_transaction_duration' function inside the transaction.

 

double trans_time, wait_time;
   
    lr_start_transaction("test");
   
    lr_think_time(2);
   
    web_url("..",
        "URL=....................",
         ...............
        LAST);
   
    lr_think_time(5);


    trans_time =lr_get_transaction_duration("test");


    lr_end_transaction("test",LR_AUTO);

Regards,

Chau Nguyen

Re: What is the difference 90 percentile Vs Average Response time in Analysis Report

$
0
0

Hi,

 

The Average Transaction Response Time graph displays the average time taken to perform transactions during each second of the load test scenario run.

And the 90th percentile is the value for which 90% of the data points are smaller.

You can refer some threads as below for more information:

http://support.openview.hp.com/selfsolve/document/KM169562

http://h30499.www3.hp.com/t5/LoadRunner-Support-Forum/whats-the-explanation-of-Average-Response-Time-vs-

Transactions/m-p/5643545/highlight/true#M2363

 

Regards,

Chau


Re: AngularJS not captured in Vugen11

$
0
0

Hi,

 

As AngularJS is an new open-source web application framework, maintained by Google and community.

And it also includes Javascript so you should try to record your application with Ajax Truclient protocol and the latest version of LoadRunner 12.00 (version 11.50 is possible). 

 

Regards,

Chau

Re: What is the difference 90 percentile Vs Average Response time in Analysis Report

$
0
0

Hi Chaun,

 

 

I agree, but my question is when we are making the descison, which one we need to take consider 90 percentile response times OR 100 % i.e Average Response Time from the Graph.

 

As my Understanding 90 % percentile fox Ex:If have response times like 1,2,5,9,20 .It omites the 20 sec's which has max response time.

 

Average Response Time : In the above example includes 20 sec's also and takes average of (1+2+5+9+20)/5

 

Which is one is the best.

 

In general corporate companies which one follows?

 

Please advise!

 

Thanks,

Rajani

Re: Urgent Help Plz!!! Vugen Mapi script with BPM

$
0
0

Thanks for your update.

 

I'm glad to here that the issue is solved.

 

Regards,

Chau

Re: What is the difference 90 percentile Vs Average Response time in Analysis Report

$
0
0

Hi,

 

It depends on each company. As my experience, we often follow to Average Response Time.

 

Regards,

Chau

Re: What is the difference 90 percentile Vs Average Response time in Analysis Report

$
0
0

Hi Chaun,

 

Thanks a lot!

 

Am I correct  with the given example ?

 

Please confirm!

 

Thanks,

Rajani

Viewing all 12134 articles
Browse latest View live


Latest Images