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

Re: Trying to select Radio Button in Truclient

$
0
0

Hi,

1. which version of LR you're using? which browser you run the script on?

2. AFAIK, you can always change the name field's value, it is used as a dispaly usage.

3. before you execute this step, make sure the web site is already navigated to this page.

4. because I can't access your script, I'm not sure if your combined JS string is a unique XPath, you'd better also combine the "Name" attribute of your radio button. 

5. can you upload some screen snapshots that including (a. two tables of your parameters. b. the piece of HTML code of your multiple radio buttons. c. the JS code in your TruClient's JS editor)


Re: Clear cache in Truclient web-IE

$
0
0

The cache is cleared before script starts. The cache is cleared as well between interations if "New user simulation" option is turned on. You can use Utils.clearCache()  JSAPI if you want to clear cache in the proces of your script.

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

Re: Unable to integrate SIteScope with LoadRunner

$
0
0

Hi

Can you please share a screen shot of what you are seeing?

which Sitescope version did you install and with which LoadRunner version are you trying to connect with?

Thanks,

Lior

Re: How to export Analysis Summary report in CSV format?

$
0
0

Hi,

Thanks for your reply.

I know how to do it manually. But I wanted to do it from scripting. So that every time when I run the script, it will check for the new excel file and convert it to .csv.

Thanks

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.

Re: A call to SSPI failed, see inner exception error in load runner proxy recording

$
0
0

I am also facing the error while Proxy recording. My LR Version is 12.50. Is there any work around?

Re: A call to SSPI failed, see inner exception error in load runner proxy recording

$
0
0

Hi

I am not to familiar with this topic, but from a search in Google, this type of error is related to permissions on the server.

did you activate Vugen as Administrator? if not, try to do so and see if it helped.

if you did, check if you have administrative privliges on the Tomcat server.

hope this helps,

Lior


Re: Trying to select Radio Button in Truclient

$
0
0

Hello Penn,

I am using version 12.02. Browser FireFox.

I did insert a validate step to make sure I am on the correct page.

I have upload the other information in a png file.   Your assistance is very much appreciated.

The highlighted code with red letters is the radio button part I need to correlate.

Larry

 

Re: Unable to integrate SIteScope with LoadRunner

$
0
0

Hi Lior,

Thanks for the reply. 

I am using loadrunner 12.02 and sitescope 11.30. The Error message what i am geting is atteched wth file.

Error: This Page cannot be displayed in this edition of SiteScope . Please upgrade your SiteScope license to view this page
[MsgId: MMSG-47577]

 

Is there not any solution for connect with site scope without going with license?

Thanks,

Aditya

Re: Unable to integrate SIteScope with LoadRunner

$
0
0

Hi Aditya,

 

Sorry for the maybe obvious question - but is SiteScope installed on the same machine as your LoadRunner?

My first instinct here is to do what the machine suggests and acquire a SiteScope license - if you need this type of advanced monitoring. you can always use the default windows resource monitors that are available by default in LoadRunner.

Hope this helps,

Lior

Re: Unable to integrate SIteScope with LoadRunner

$
0
0

Hi Lior,

Thanks for the suggestion. I am agree with you. Actully I was just looking for some another way instead of purchase license like may be for trial period where I can at least know that how sitescope works with loadrunner.

And yes...SiteScope is on the same machine as my loadrunner.

Thanks,

Aditya

 

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

Re: Need help with Correlation in LoadRunner 12.53

$
0
0

Hi OlaBerggren

Thanks for your reply.

As per you have suggested, I have looked at the output for Code generation and found below part and this is the first occurance of icx_ticket values from server


=========================================================================================

****** Request Header For Transaction With Id 456 ******
GET /OA_HTML/RF.jsp?function_id=109&resp_id=20420&resp_appl_id=1&security_group_id=0&lang_code=US&oas=g-sTAPQev6e8lu2vNPm-5A.. HTTP/1.1
Host: xxx.yyy.net:8000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://xxx.yyy.net:8090/OA_HTML/OA.jsp?OAFunc=OANEWHOMEPAGE
Cookie: VIS=rzyi6JBE6Zkjvg7wK5rk18nGhC; JSESSIONID=K-R4Fwy_ZDaoiYIOKWJmNDUEPczT91Mslf0g6FdWL0QR3nriPPRZ!1585659689; oracle.uix=0^^GMT+10:00^p
Connection: keep-alive


$$$$$$ Request Header For Transaction With Id 456 Ended $$$$$$

****** Response Header For Transaction With Id 456 ******
HTTP/1.1 302 Moved Temporarily
Date: Thu, 11 Aug 2016 05:33:24 GMT
Server:
Location: http://xxx.yyy.net:8000/forms/frmservlet?...gp15=icx_ticket&gv15=sa7Lb1irIdTx_GMAKfMU8w..&gp2=resp_app&gv2=....
X-ORACLE-DMS-ECID: 005ESKQo4HW7i4WFLzvH8A0001Mj00002a
X-Frame-Options: SAMEORIGIN
Keep-Alive: timeout=15
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
Content-Language: en


$$$$$$ Response Header For Transaction With Id 456 Ended $$$$$$
=========================================================================================

So I put below in the script

web_reg_save_param_ex("ParamName=icx_ticket","LB/IC=icx_ticket&gv15=","RB/IC=&gp2=resp_app&gv2=",SEARCH_FILTERS,"Scope=Headers","RequestUrl=*/RF.jsp*",LAST);

web_url("frmservlet",
"URL=http://xxx.yyy.net:8000/forms/frmservlet?...icx_ticket=%27.{icx_ticket}%27+resp=...",
"Resource=0",
"RecContentType=text/html",
"Referer=http://xxx.yyy.net:8000/forms/frmservlet?...&gp15=icx_ticket&gv15={icx_ticket}&gp2=resp_app&gv2...",
"Snapshot=t15.inf",
"Mode=HTML",
EXTRARES,
"URL=../OA_JAVA/oracle/forms/registry/Registry.dat", ENDITEM,
"URL=../OA_JAVA/oracle/apps/fnd/formsClient/OracleApplications.dat", ENDITEM,
"URL=../OA_JAVA/oracle/apps/fnd/jar/fndlist.jar", ENDITEM,
LAST);

However I'm still getting below error.

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

Please advise and thanks in advance

Cheers,

Jason

Re: Need help with Correlation in LoadRunner 12.53

$
0
0

Ok, now we are getting somewhere.

Hopefully there ios just one little detail.

The web_reg_save_param_ex() works on the next fetch and hence will not have been set when executing like above.

So move the web_reg_save_param_ex() to before the line/fetch that returns the RF.jsp

br /ola


Please mark post as solved if your problems or questions is/are resolved.
If this post was valuable to you, please consider kudo it.


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.

Re: Need help with Correlation in LoadRunner 12.53

$
0
0

Hi OlaBerggren,

Thank you very much for your advise and I finally managed to resolve it. Now all the required correlations, icx_ticket and JsessionIDForms, are captured

=========================================================================================

web_reg_save_param_regexp("ParamName=icx_ticket","RegExp=gv15=(.*?)&gp2",SEARCH_FILTERS,"Scope=Headers","IgnoreRedirections=No","RequestUrl=*/RF.jsp*",LAST);

web_url("RF.jsp_3",
"URL=http://xxx.yyy.net:8000/OA_HTML/RF.jsp?function_id=93&resp_id=20420&resp_appl_id=1&security_group_id=0&lang_code=US&oas=yGAiF-MYims0g2vjpo4M8g..",
"Resource=0",
"RecContentType=text/html",
"Referer=http://xxx.yyy.net:8000/OA_HTML/OA.jsp?OAFunc=OANEWHOMEPAGE",
"Snapshot=t9.inf",
"Mode=HTML",
EXTRARES,
"Url=../OA_JAVA/oracle/apps/fnd/jar/fndforms.jar", "Referer=", ENDITEM,
"Url=../OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar", "Referer=", ENDITEM,
"Url=../OA_JAVA/oracle/apps/fnd/jar/fndewt.jar", "Referer=", ENDITEM,
"Url=../OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar", "Referer=", ENDITEM,
"Url=../OA_JAVA/oracle/apps/fnd/jar/fndaol.jar", "Referer=", ENDITEM,
"Url=../OA_JAVA/oracle/apps/fnd/jar/fndctx.jar", "Referer=", ENDITEM,
LAST);


web_reg_save_param_regexp("ParamName=JsessionIDForms","RegExp=JsessionIDForms=(.*?);",SEARCH_FILTERS,"Scope=Headers","IgnoreRedirections=No",LAST);

web_url("frmservlet_2",
"URL=http://xxx.yyy.net:8000/forms/frmservlet?lang=US&lookAndFeel=ORACLE&colorScheme=SWAN&serverApp=OracleApplications&digitSubstitution=CONTEXT&env=NLS_LANG=%27AMERICAN_AMERICA%27+FORMS_USER_DATE_FORMAT=%27DD-MON-RRRR%27+FORMS_USER_DATETIME_FORMAT=%27DD-MON-RRRR+HH24%3AMI%3ASS%27+NLS_DATE_LANGUAGE=%27AMERICAN%27+NLS_SORT=%27BINARY%27+NLS_NUMERIC_CHARACTERS=%27.,%27+FORMS_TZFILE=%27timezlrg.dat%27+FORMS_DATETIME_SERVER_TZ=%27America%2FChicago%27+FORMS_DATETIME_LOCAL_TZ=%27GMT%27&form_params=+config=%27VIS%27+icx_ticket=%27.{icx_ticket}%27+resp=%27SYSADMIN%2FSYSTEM_ADMINISTRATOR%27+secgrp=%27STANDARD%27+start_func=%27FND_FNDPOMPV%27+other_params=%27%27&encoding=UTF-8&fsst=25829882967428691896901033795231987045&fsvt=97939944584492822803901065762160999897&acceptLanguage=en-US,en;q=0.5&ifcmd=startsession",
"Resource=0",
"RecContentType=text/plain",
"Referer=",
"Snapshot=t11.inf",
"Mode=HTML",
EXTRARES,
"URL=lservlet;JsessionIDForms={JsessionIDForms}?ifcmd=getinfo&ifhost=AU9928&ifip=192.168.9.115", ENDITEM,
"URL=../OA_JAVA/oracle/apps/fnd/jar/fndaolj.jar", ENDITEM,
"URL=../OA_JAVA/oracle/apps/fnd/jar/fndxmlparserv2.jar", ENDITEM,
"URL=../OA_JAVA/oracle/apps/fnd/jar/fndutil.jar", ENDITEM,
LAST);

=========================================================================================

I really appreciate your help in this matter

Cheers,

Jason

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.

 

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

$
0
0

Issue resolved.

I can open  Steps Toolbox in Virtual User Generator with Plain Layout.

But I can not open the Steps Toolbox with Default Layout.

Viewing all 12134 articles
Browse latest View live