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

Re: IE8 on windows 7not launching during recording in laod runner 11

$
0
0

Hi,

 

IE8 is supported in LR11.

If you can't recording, pelase checking the following environment settings,

1) LR11 does not support 64 bit os. Are you using it on 64bit windows?

2) Turn off all anti virus, firewall, security software

3) Disable DEP

4) Check whether there's suspicious addon in IE.


Re: IE8 on windows 7not launching during recording in laod runner 11

$
0
0

Thanx for reply

 

Shoud I install any patch to make it run on 64 bit windows 7 or no patch for it ?

Does 11.5 or later version works on 64 bit OS?

 

Re: IE8 on windows 7not launching during recording in laod runner 11

Re: Can I run AJAX True client scripts in Linux load generators?

$
0
0

Hi Raghava,

 

TruClient protocol is not supported on Linux/Unix based LG.

 

Regards,

Hristo

Re: IE8 on windows 7not launching during recording in laod runner 11

$
0
0
No patches needed, jsut disable DEP and UAC, this is a known limitation.

regards

Excel 2010 crashes when launched from Loadrunner 11.52

$
0
0

Hi,

I am trying to record SmartView session using vugen 11.52. But when I try to launch excel 2010 from load runner, excel application crashes. Could anyone help me out with this.Would really appreaciate your help.

 

Re: Excel 2010 crashes when launched from Loadrunner 11.52

Re: LR 11.0.0 Version- Problem with Ajax trueclient Protocol.

$
0
0

Thanks Guy Rosenthal.

 

Regards

Gaurav


Guy_Rosenthal wrote:

Hi,

Sorry for the late repsonse.

Please upgrade to the newest version availble (if possible) which is LR11.52 Patch1.

FF version is different in 11.52 (8.01 comparing to 3.6 in 11.0X) so it might be the problem.

 

Please go with upgrading (you must upgrade the LG's as well) and tell if it solved.

The issues you are describing are hard to remotley detect, so ill start with upgrading.

 


 


Re: Excel 2010 crashes when launched from Loadrunner 11.52

$
0
0

Please find the attached doc for more information. Is Excel 2010 supported by Load runner? Thanks again.

Are there any sample code I could connect to oracle database using lr_db_connect

$
0
0

  lr_db_connect("StepName=myStep",     "ConnectionString=Initial ConnectionString=DATA SOURCE=jdbc:oracle:thin:@p2pyak-vip.es.ad.adp.com:1522:an3;"  "user id =XXXX;password = XXXX;" ,  "ConnectionName=MyConnection",  "ConnectionType=ORACLE",  LAST);

 

 lr_db_executeSQLStatement("StepName=MyStep",  "ConnectionName=MyConnection",  "SQLQuery=SELECT * FROM Addresses",  "DatasetName=ds1",  LAST);

 

I got below error:

 

Error -- Unresolved symbol : lr_db_connect.

Re: Are there any sample code I could connect to oracle database using lr_db_connect

$
0
0

You are using the oracle 2 tier protocol? Else the neccessary headers for db need to be imported explicitly.

 

Next step, note you need a list of stuff such as Ora handle, Ora Session etc that you need to setup before connect.

I dont have a sample script, but you could check in the help and use the examples provided.

 

Regards

AJ

How to submit a form that item value contains new line or space?

$
0
0

Here is the flow,

I request a URL, get a JSON return,  "requestId":"abc\\nabc"

Then I use this to catch it.

web_reg_save_param_regexp("ParamName=requestId","RegExp=\"requestId\":\"(.*?)\"",
SEARCH_FILTERS,"Scope=Body",
LAST);

 In replay log, Notify: Saving Parameter "requestId = abc\nabc"

 

finally, submit the form

web_submit_data("statusPoll", "Action=http://someurl/pages/statusPoll", "Method=POST", "RecContentType=application/json", "Referer=http://someurl/pages/vehicle_status.jsp", "Snapshot=t24.inf", "Mode=HTML","EncType=",
	ITEMDATA, "Name=requestId", "Value={requestId}", ENDITEM, 
	LAST);

 In the detail log:

tor.c(93): t=132597ms: 168-byte request body for "http://someurl/pages/statusPoll" (RelFrameId=1, Internal ID=97)
tor.c(93): requestId=abc%5Cnabc

 

-------------------------- issue ------------------------

 

loadrunner did not url encode the \n newline to %0A as expected, actually loadrunner url encode \ to %5C ; n to n.

 

So, how can I got %0a in POST form?

 

and I try to use web_convert_param("requestId", "SourceEncoding=PLAIN", "TargetEncoding=URL", LAST ); It turned out some story.

 

Thank you!

 

 

Re: How to submit a form that item value contains new line or space?

$
0
0
After some google, Maby I can use custom replace string function and web_custom_request to resove this issue.

LoadRunner is giving Error:26377 while trying to capture dynamic value

$
0
0

Hi,

 

I have to correlate VIEWSTATE in my application.I have successfully correlated 1st viewstate, but coming to 2nd viewstate I am facing an issue as 2nd viewstate has large amount of data.

 

Error -26377: No match found for the requested parameter "c_ViewState_1". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 9999999 bytes, use web_set_max_html_param_len to increase the parameter size  [MsgId: MERR-26377]

 

could someone help me out sloving this?

 

Thanks,

Kalyani

Is there way to decompress the data from SharpZipLip for Silvelight application?

$
0
0

We are testing a Silverlight application in the project and the developers have used the DeflaterOutputStream from SharpZipLib for compression. We wanted to correlate a few values and we couldn’t do it because the responses are compressed.

 

It is possible to decompress these responses using LoadRunner? or Is there any custom code that will reslove this issue?

 

We have already tried a option with Run-time Settings >> Preferences >> Options >> Accept server-side compression is NONE. It didn't work.


Re: LoadRunner is giving Error:26377 while trying to capture dynamic value

$
0
0

Hello!

 

What is the size of the second Viewstate?

 

Regards

Thomas

I want to randomize part of Truclient Xpath identification is that possible?

$
0
0

Hello,

 

While using TruClient for scripting a CMS system I run into the following issue:

The script creates an article with each article having a photo attached to it. When selecting the photo, I have to browse to the photo and when it is clicked and recorded I can see in Truclient that it is identified by Xpath as:

/html/body/div[13]/div/div[2]/div/div/div/div[2]/div/div/div/div/div/form/div[4]/div/div[3]/div/div[2]/ul/li[13]/a

 

 

The issue I am trying to resolve is to randomize which photo is selected as an attachment. I found that by changing numer 13 to 14, 15 ... etc. I  can influence which target object is selected. So I want be able to parameterize the number and randomize it between boundaries. The problem is that TruClient will not accept this, apparently it only accepts parameters in the arguments section of an action. I thought about using a variable instead, still Truclient will not let me do that. I tried replacing 13 with a variable and assigned the variable the value 13 (just to test it). When executing this step TruClient will give me the error message :"target image not found". I am positive that the variable was assigned the proper value.

 

It looks like this:

/html/body/div[13]/div/div[2]/div/div/div/div[2]/div/div/div/div/div/form/div[4]/div/div[3]/div/div[2]/ul/li[RndmPhoto]/a

Where RndmPhoto is the variable that I assigned the value 13.

 

I wonder: can this be done at all in Truclient using a variable in Xpath?

 

Or am I going at this the wrong way? Is there a better way of doing things?

 

Peet

Re: when using lr_db_connect to connect database ,it seems lr_db_connect not recognizing it.

$
0
0

I got below error. Error: DB Connection failed {"ORA-12154: TNS:could not resolve the connect identifier specified. 

What the problem is? Please help me out.

Re: Unable to record java applet using Loadrunner

$
0
0

HI,

 

Did you get it running? I am facing the same issue... & tried different protocols but no help!!!

It just records events of launch Applet... but nothing after :(

 

Any help would be appreciated!!!

Thanks...

Re: LR not recording https popup

Viewing all 12134 articles
Browse latest View live


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