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

Re: Error -26630: HTTP Status-Code=401 (Unauthorized) while replaying script.

$
0
0

Hi Sachi,

 

quick question is your request a manual "call"? meaning did you manually code the web_submit_data or something like that or the authentication call came from your recording? Usually the developer/technical lead of the project can provide you the proper credentials so that when you send it over to their app server it will accept your credentials. Otherwise if you assume your "ldap id" can be used to their application chances are they have to "add your LDAP id" through.

 

i recommend you ask for the user ids to be used for your testing whether you do recording or manual coding


Re: Error -26630: HTTP Status-Code=401 (Unauthorized) while replaying script.

$
0
0

Hi Pistolero,

Thanks for your reply.

Pistolero---meaning did you manually code the web_submit_data or something like that or the authentication call came from your recording?

Sachin ---No i did not add web_submit_data manually, it came from the recording itself.I got NTLM authentication popup ,there i added the password data.(See sceenshot)

 

Regards,

Sachin

 

 

 

Re: Termination due to error as " Abnormal termination, caused by mdrv process termination&

$
0
0

Hi Randakar,

 

Thank you for advising on this issue.

 

This issue got resolved by increasing the pacing time between iterations.

 

Regards,

Srihari

HP LR 11.52 help functional reference is not working

$
0
0

Hi ,

 

I am unable to open the "Help (Function Reference) functionality in LR 11.52"  is vugen as well as hp loadrunner bin directory.

 

The same I tried in Vugen 11.04 ,able to open the help- Functional reference for the same.  Please let me know how to resolve this problem.

 

 

Thanks,

G.Lakshman

Protocol to record thick client application

$
0
0

Hi Experts,

COuld you please suggest which protocol should I use to record thick client(tibco iprocess) application. I tried protocol advisor and nothing seems to be launching in the events and there are no suggestions.

 

Thanks Much!

Ajax Truclient Error

$
0
0

Recorded a script using Ajax Truclient, getting error while running during loadtest.

 

failed: object not set.  

 

how to resolve this issue

Re: HP LR 11.52 help functional reference is not working

$
0
0

I have seen this behaviour before.

 

We installed VuGen on a "MS Terminal Server"-server, with the goal to do our scripting on this machine with 3 co-workers.

Only one of us was able to use the Function reference, the other two could not us the function reference.

They saw a empty page in VuGen.

 

I now have a Windows 7 virtual machine for me alone. (performance is bad, i'd rather have physical hardware with SSD)

No problem with opening the function reference anymore.

 

What is your situation?

 

Dennis

 

 

Re: Termination due to error as " Abnormal termination, caused by mdrv process termination"

$
0
0
That's not resolving it, that's hiding it.
Please be advised that that script might be corrupted and needs to be rebuild from scratch to actually get rid of the problem.

Re: Percentage mode in Vugen

$
0
0
Use the flow list code in ylib to create two split flows. That's not hard and gives you less code duplication.

Re: Using LoadRunner on virtual images of machine

$
0
0

Hello

I dotn really understand what you mean by "virtual image", if by that you mean vietual user (script) the answer is no, you cannot create 1 single script for multiple applications/products, each deployment is unique and requires its own srcipt, but that has no cost in terms of license, license matters for the type of virtual user and the ammount of vuser you run at the same time, so even if you create 1000 scripts it is for free,  you can create script for all the protocols and as many as you need and it is for free, the license will decide what allows you to run from controller and how many,  for reduce cost I ercommend you to go for VUDs (virtual user days) and to use preformance center, in general is much more complex and more expesive, but if you see the whole picture it will save cost, same with VUDs, answer for question 3 is no, since this is not possible.

 

regards

Re: Ajax Truclient Error

$
0
0

This may be due to pacing. Load mode replay is faster than interactive replay

 

I guess the object may not be loaded in the application quickly enough.

 

try these:

Use the “Inter-step interval” run-time setting which allows the user to specify the
time (in ms) between steps.  (This setting will be used for ALL the steps in the script)

 

Add a Wait or Wait for Object step before the step that failed. (This will slow down
the replay)

Re: Protocol to record thick client application

$
0
0

Does the protocol advisor work for any other sample applications?

 

I personally don't rely on the protocol advisor feature; it may not be accurate all times.

 

Understand the communincation protocol of your application from architects/developers and try recording using that protocol.

How to script if no of pages to be filled will change based on the country selected from dropdown

$
0
0

Hi,

In my current scenario, the no of pages to be filled is changing depending on the country selected

If my selected country is United States,I have to fill 5 pages

If my selected country is United Kingdom I have to fill 6 pages

 

in this scenario

I recorded using United States(5 pages)

I correlated country name and selected Random value because different vusers should select different countries in real time

If any vuser will select United Kingdom,he have to fill six pages and the pages are also changed based on the Country,

How to write script

 

Any help is appreciated

 

 

Re: Loadrunner 11 On VM - Controller crashes

$
0
0

Similar issue occurs with LR 11.0 when test is executed for tests using multiple load agents.

 

 

Re: How to script if no of pages to be filled will change based on the country selected from dropdow

$
0
0

Hello!

 

In this case i would creae two different scripts.

Or you can combine the two flows in one script (two separate action blocks) and skip one of each depending on the selected parameter value.

 

Kind regards

Thomas


Re: How to use VTS

$
0
0

I do also have the same query "How to use VTS with Java Vuser/Protocol"

load testing on excel based reporting services using load runner

$
0
0

I am testing a Excel sheet which has Macros embedded(created using VB Scripts) that connect to a SQL Server database and retrieve and add some data. I have tried protocol advisor to analyse it, but the Excel sheet was not opened
and no steps are recorded, I am using Load runner 11 and the Excel version is MS Excel 2007. Please let me know if possible how to record scripts with excel files and what protocol is needed. And whether LR11 is compatible with MS Excel 2007

how to get using web_reg_save_param to extract count in below case title="Warning (3)"

$
0
0

I need to take count 3 below for warnings

 

how to get using web_reg_save_param 

output needed here  = warning count is 3

 

 

 

<div class="staRow"><div class="staBar" title="Warning (3)"><div id="serStatusWarning" style="width:9%">&nbsp;</div></div><div class="statusLabel"><a href="URL"
         title="View list of servers with health of WARNING (3)">
        Warning (3)</a></div></div>

 

else I have Warning images 3 on page, how to count images from loadrunner, can I do that ?

Re: how to get using web_reg_save_param to extract count in below case title="Warning (3)"

$
0
0

With web_reg_save_param you can retrieve a character or multiple characters from a stream of data.
You retrieve the string which is delimited by 2 boundaries.
A left boundary and a right boundary.
The characters between the boundaries are stored in a parameter.

For example:
If you would like to retrieve the text 'serStatusWarning', from your data, then you need a left boundary and a right boundary.
Left boundary like '<div id=\"' (Without the single qoutes, you need the extra backslash, in front of the doublequote, to let the Loadrunner compiler know, to interpret the next character as part of the boundary)
Right boundary like '\" style=\"' (Again without the single qoutes, again you need the extra backslashes)

Now Loadrunner knows to scan for the left boundary and save all the characters in a string untill Loadrunner retrieves the right boundary. The string is saved afterwords in a parameter. 

 

The statement looks like this:

web_reg_save_param("Param_Name","LB=<div id=\"","RB=\" style=\"",
	LAST);

Now to your case.
You would like to retrieve the text 'warning count is 3'.
But this text is not in your data.

So it can not be retrieved.

 

Probably you would like to retrieve only the 3.
There are multiple characters '3'.
Lets try to retrieve the first one.

Try this in your script:

web_reg_save_param("Param_Name","LB=title=\"Warning (","RB=)\">",
	LAST);

 

Also it is possible the retrieve multiple items.

Read the Function Reference there are a few examples.

 

Keep in mind that only a certain amount of characters can be retrieved.
You can control this with web_set_max_html_param_length.

 

Re: AJAX TruClient - Issue with End Event

$
0
0

Hello,

 

I was wondering if a solution to this problem was ever found?  I am currently facing a the same issue.

 

I have a PDF that is loaded into the browser (FireFox).  I need to capture the time it takes till a user can view it. 

 

Best,

Andrew

Viewing all 12134 articles
Browse latest View live


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