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

Request not capturing_JSON_LR_12.53

$
0
0

Hi Team,

Few requests are not captured in Loadrunner 12.53

But I could see the request and response Event ID's 

****** Request Header For Transaction With Id 2355 ******
GET /api/api/claims/auto-completion/PolicyNumber/YYYYY HTTP/1.1
Accept: application/json
userId: BWinRunner2
If-Modified-Since: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-cache
Pragma: no-cache
access_token: 59ca24e83ee19d4184f985fe044d7824
Referer: https://AAAAAA.COM/AAAAA/AAAAAA
Accept-Language: en-US
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)
Host: AAAAAA.COM
Connection: Keep-Alive


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

****** Response Header For Transaction With Id 2355 ******
HTTP/1.1 200
Date: Mon, 19 Dec 2016 10:33:29 GMT
Server: Apache/2.4.23 (Unix) proxy_html/3.0.0
X-Frame-Options: SAMEORIGIN
access_token: 59ca24e83ee19d4184f985fe044d7824
Content-Type: application/json
Content-Length: 181
Set-Cookie: access_token=59ca24e83ee19d4184f985fe044d7824;Version=1;Comment=;Domain=AAAAA.COM;Path=/;Max-Age=900;Secure;HttpOnly
Keep-Alive: timeout=5, max=98
Connection: Keep-Alive


$$$$$$ Response Header For Transaction With Id 2355 Ended $$$$$$

****** Response Body For Transaction With Id 2355 ******
["01B23724 ","01B2372H ","01B2372S ","01B23732 ","01B2374H ","01B2375H ","01B2376S ","01B23778 ","01B23779 ","01B23783 ","01B23784 ","01B23786 ","01B23789 ","01B2378S ","01B2379H "]
$$$$$$ Response Body For Transaction With Id 2355 Ended $$$$$$

 

 

Feq captured and are below

HTTP/1.1 200
Date: Mon, 19 Dec 2016 10:31:34 GMT
Server: Apache/2.4.23 (Unix) proxy_html/3.0.0
X-Frame-Options: SAMEORIGIN
access_token: 59ca24e83ee19d4184f985fe044d7824
Content-Type: application/json
Content-Length: 2222
Set-Cookie: access_token=59ca24e83ee19d4184f985fe044d7824;Version=1;Comment=;Domain=agentsonlyv2.msagroup.com;Path=/;Max-Age=900;Secure;HttpOnly
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive

web_custom_request("login",
"URL=AAA.COM",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=AAA.COM/#/main",
"Snapshot=t8.inf",
"Mode=HTML",
"EncType=application/json",
"Body={\"userId\":\"BWinRunner2\",\"password\":\"Qwerty1$\"}",
LAST);
{"loginSuccessful":true,"message":null,"userId":"BWinRunner2","accessToken":"59ca24e83ee19d4184f985fe044d7824","lastAccessedTime":0,"canUserAccessSite":true,"webUserInfo":{"lastName":"WinRunner","flgBondsProdRollout":true,"flgMustChangePW":false,"roles":["PLU","CLU"],"flgVendorSystem":true,"flgAllowCLAccess":true,"flgContactHelpDeskForPwReset":false,"flgBondsTrainingRollout":false,"flgBillingBrowse":true,"flgClaimsRead":true,"flgAccountDisabled":false,"flgBillingRead":true,

 

 

NOTE: transaction With Id 2355 -> In Request headers I could see the HEADERS that releates to response header


Unable to evaluate web_reg_save_param_ex parameter with constructed param name

$
0
0

Hello, Friends,

I have a puzzle I cannot solve.  I want to evaluate parameters created with web_reg_save_param_ex( ) using parameter names I've "constructed" in sprintf or lr_param_sprintf( ):

  • using web_reg_save_param_ex( ) with "ParamName=ErrorMessage" and "Ordinal=all" flags, the usual parameters are created.
  • so I get ErrorMessage_count=3, ErrorMessage_1=error1, ErrorMessage_2=error2, ErrorMessage_3=error3.
  • I want to print the value of each parameter, but I don't know how many errors there will be in each test run, so I don't want to hard-code something like lr_error_message("Error 1 is: %s", lr_eval_string("{ErrorMessage_1}"));
  • however, this works fine, the result will say "Error 1 is: error1
  • I've "constructed" a new parameter in a loop, one for each error, such aslr_param_sprintf("ErrorMessage_number", "ErrorMessage_%d", j ); where j changes with each iteration of the loop.  This works fine.
  • so in loop 1, lr_eval_string("{ErrorMessage_number}") evaluates to ErrorMessage_1, in loop 2, lr_eval_string("{ErrorMessage_number}") evaluates to ErrorMessage_2, etc.
  • now the puzzle - I'm unable to evaluate those constructed parameters.  Ultimately I want to print them out in an error message, likelr_error_message("error %i is %s", j, lr_eval_string("{ErrorMessage_number}"));
  • I know the above example will evaluate to "error 1 is ErrorMessage_1" but I've tried a hundred different variations, and still cannot get it to give me "error 1 is error1", "error 2 is error2", etc.
  • no matter what I do, I get the parameter name instead of the value of the parameter in the message.
  • logically it seems this should work, but it does not: lr_error_message("error %i is %s", j, lr_eval_string(lr_eval_string("{ErrorMessage_number}")))
  • even this example prints "error 2 is ErrorMessage_2"

If you have the trick I need to get this to work, it will be a very Happy New Year!

Thanks

Controller--Load Generator connection weird issue after 12.53 patch3 upgrade

$
0
0

Hello Experts,

I know its sounds weired ,but i need your help/suggestion in fixing the issue.

We have three machines A  B& C. Machine A act as controller and  B& C act as load generator. I did full installation on machine A and installed agent ,Vugen and Analysis on Machine B and C.

We are using loadrunner v12.53 and yesterday i have updated to patch3 . Since them i am facing issue connecting controller and load generator.

On Machine B& C , when i install Load Generator Agent and set as process, connection between Controller (A) and Load Generator(B&C) works perfectly fine. Test is executed sucessfully.

But when i also install Vugen on Machine B&C along with Agent, controller and load generator is failing. From controller sceanrio, it shows "Failed to Connect load generator"

I followed below sequence in doing the patch upgrade:

1)On load generator machine i.e machine B & C, i have first installed Agent and then did patch upgrade.

2)After Agent upgrade, i installed Vugen and did patch upgrade.

Is this correct way of doing upgrade?

 

i checked and confirmed below things:

1)Agent is running on Load generator machines

2)No Firewalls enabled

3)Port 54345 is open

4)Ping works bidirectional .

 

Please advise and help fixing the issue.

 

Java applet not loading while recording with VuGen

$
0
0

Hi All

I have been trying to record a web application flow in IE with vugen 12.02 web http protocol, and i am facing the below problem. Kindly let me kow if there is any possible workaround for this.

  • The application is a banking application and uses only IE.
  • I have recorded many flows with LR 12.02 and IE 11 and so far I have been able to replay them all.
  • But there is a particular flow which has these steps : Select option from drop down , which in turn enables the second drop down  and also loads a file path  in a text box(Cannot edit this text). And in the next step, I click on retrieve and extract the excel file from the file path. Manually I am able to complete all the steps.
  • But while recording with web http protocol, after I select option from the first drop down, the file path doesn’t get loaded and the second drop down doesn’t get enabled.
  • Basically this issue used to be there when I tried manually as well long back when there were conflicting java and IE versions.
  • In the recorded events, the log exception message traced is ‘ unable to get property “getFilesPathFromSource”’
  • According to the developer, a java applet gets loaded once I select the option in first drop down.
  • I have tried both URL and HTML mode in http protocol
  • So far I have faced this issue with protocols such as Java over Http, Multi protocol win sock.
  • Tru client with IE does not work , as in I am able to login to the application but not able to perform any action in the application once I log in. Facing this issue since upgrading to vugen 12.
  • In java record replay, I am able to complete the flow but no events get recorded.

RE:TRUCLIENT value capture & substitution

$
0
0

Hi Experts,

We have been working on a application using HP LoadRunner TruClient protocol, were we come across an issue with substituting a captured value.

It comes like this.

1. We are capturing a value(Transaction number, which differs on each iteration) from a pop-up window after saving the data.

2. The captured value is being saved to a variable(TranNo) and need to be used around   3-4 steps later, in a search text box.

How do we call the variable, so that it can be used in the text box arguement.

Any suggestions welcome.

Tried using LR.getParam method and all, but it is typing the variable name itself, instead of typing the captured value.

 

Thanks in Advance

AjKumar 

Object identification issue in Truclient

$
0
0

Hi,

Despite of truclient being easy to use. I am facing issue in recording a part.

The issue is the page i need to record is like: one page is under a page. I mean the upper half of the browser is a url, which rediects it to another url , which will be located in the bottom half of the browser (the url will be hidden),(that is two pages in a single screen, one won't be even recognized by truclient);  so when i am recording the script . truclient is unable to recognize(highlight) anything below the bottom half of the browser.

Pleaes find the attachment for better understanding and help me out. Thanks.

 

Best Regards

Vishal Barnwal

Supported version

$
0
0

Hi,

We develop truclient using firefox (Currently we have 12.50).

The version of firefox is 37.

We have some issues in our application that in this version not working but in Firefox 50 works.

Is Chrome it works but I see that it also for old version of chrome.

Is there a way to convert the firefox scripts to Chrome ?

Is there going to be support for the latest versions of firefox, chrome

Thanks

Inconsistant response time observed in VuGen and Controller

$
0
0

Hi All, 

We have executed the same sciprt with same Run time setting in VuGen & Controller. Controller configured as localhost. HTTP protocol was used. But for a single trasanction, 

Transaction 1 in VuGen  - 1.6 seconds

Transaction 1 in Controller - 0.500 seconds

what is the root cause for this issue. Both controller and VuGen placed in a same machine. Run time settings in VuGen and Controller are same. 

 

Thanks,

Vignesh T


Issue in uploading excel files in truclient_ lr 12.50

$
0
0

Hi,

I am unable to upload excel file while replay using truclient in chrome. The

truclient step is like "set:filepath(file address on the rmd)  on object", however on reaching the step, the browser stops responding, it just displays as it is running (in develop script mode). Also, it does't stops due to timeout. I have to close the browser everytime. I am using LR 12.50. Pleaes help me out. Thanks. 

Best Regards

Vishal Barnwal

Trucleint -12.53 - Failed end event - step network timeout error https: etc

$
0
0

I am trying to record an activity that will get updated after clicking on update button, but it takes a lot of time to give message as "Activity updated successfully".

By that time message is displayed the script is failed throwing error message as "failed end event- Step network time out error.

Can somebody help me how to proceed further

 

add setting to About:config forTruClient FireFox in LR 12.53

$
0
0

We are moving to LR 12.53 from LR 12.02 and find that some FireFox about:config settings are no longer visible.  This is preventing us from recording and/or converting scripts for some secure applications. 

Is there a way to add a setting to the available about:config list?

Thanks.

VUGen_Run-time_Error(Extension NVReportExt.dll)

$
0
0

Hi Guys,

1. In Webservices using JMS ,  while i run the script am getting the following Exception

    

Error: Extension NVReportExt.dll is not loaded. System error: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or
use the command-line sxstrace.exe tool for more detail.

Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.

Warning: Extension NVReportExt.dll is not loaded.

 Please suggest me furhter..!!

 

Cheers,

Ram.

 

Observed Truclient is unable to capture list boxes or drop down

$
0
0

if i try to capture a list box through truclient its not possible. coul danybody give me a solution for this.

Service unavailable error when trying to update an activity through truclient replay script

$
0
0

when i tried to replay my truclient script when there is huge packet to be updated then it alwas giving service unavailable error.

manually i am able to upload the activity packet

is this error because there is huge amount of data in the application or any other reason

 

VUGEN_WebServices_JMS_Exception

$
0
0

Virtual User Script started at : 12/28/2016 6:03:51 AM
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(6): Sample Message to be Send to TIBCO text is
Action.c(8): JMS call "Sending message" started
Action.c(8): Error:Failed to send message Sample Message to be Send to TIBCO to QueueName due to the following exception : javax.naming.NoInitialContextException: Cannot instantiate class: com.tibco.tibjms.naming.TibjmsInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory]
javax.naming.NoInitialContextException: Cannot instantiate class: com.tibco.tibjms.naming.TibjmsInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
at javax.naming.InitialContext.init(InitialContext.java:242)
at javax.naming.InitialContext.<init>(InitialContext.java:216)
at com.mercury.ws.jms.ConnectionManagerImpl.initialize(ConnectionManagerImpl.java:98)
at com.mercury.ws.jms.JMSSupportImpl.initialize(JMSSupportImpl.java:28)
at com.mercury.ws.jms.JMSBridge.init_jms(JMSBridge.java:154)
Caused by: java.lang.ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:63)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
... 6 more
Action.c(8): Error:JMS call execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.


Does Load runner 12.53 supports Topaz Signature Integration plugin

$
0
0

Hi,

I would like to know whether Loadrunner 12.53 Build 1203 support  Topaz Signature Integration plugin which was integrated with Oracle 11 EBS for one of our client.

Your response is highly appreciated.

Thanks,

Pavan MD

This session is invalid.You are logged in through other browser.

$
0
0

Getting following error message from browser at the time of recording as well as replay, 'This session is invalid.You are logged in through other browser.

Refer attached screen shot for the issue.

This issue does not appear when logging in manually as well as TruClient Firefox.

Vugen : 12.02

IE: 11 [11.0.9600.18124]

Please help me with this & let me know if required more information on this.

 

 

LR Version 12.0

$
0
0

Hello there,

I need to download LR 12.0 and can anybody help me please?  

Not able to open Mozilla instance with Truecleint client protocol in Loadrunner

$
0
0

I am facing this issue while opening Moziall or Google chrome instance with True client protocol in loadrunner,

I deleted the web cache in C:\users\xxx\app data\roaming\Hewlett packward\loadrunner\web, but still geting the same issue mozilla instance is opening only in blank screen , requesting all to solve this issue.

TruClient has crashed during saving

$
0
0

Hello, 

We have encountered a problem while recording with TruClient.  I have created a solution(TruClient Web) in Load Runner and clicked on develop script. After recording a few steps, I deleted some of them and then recorded again and when I clicked on Save button, TruClient was stuck. I restarted Load Runner but when I open the same solution and click on Develop Script , TruClient is not working.

I have attached a screenshot, as you can see there is an error message :”Load failed”.

 

The error message from the console is:

 

3:25:21 PM: APIError: Unknown_Error error number:0

{anonymous}(APIError: Unknown_Error error number:0),{anonymous}(#object),{anonymous}(APIError: Unknown_Error error number:0),{anonymous}(APIError: Unknown_Error error number:0,"Exception in ScriptLocalPersistence addin - readScript"),{anonymous}("C:\Users\Corpo1\Documents\VuGen\Scripts\Demo1 - 28.11.2016\default.xml"),{anonymous}(#object),{anonymous}(#object,1),{anonymous}("TC.loadScriptModel",#object,#object,1),{anonymous}("TC.loadScriptModel",#object,#object,1),{anonymous}("C:\Users\Corpo1\Documents\VuGen\Scripts\Demo1 - 28.11.2016\default.xml"),

,[TC_NS.Event type="TC.loadScriptModel" target="[object Object]"],

,[TC_NS.Event type="TC.onScriptLoad" target="[object Window]"],

,[TC_NS.Event type="ui/load" target="[object Window]"],

,[TC_NS.Event type="ui/ready" target="[object Window]"]

Exception in ScriptLocalPersistence addin - readScript

3:25:21 PM: Syntax error, unrecognized expression: #

{anonymous}("Syntax error, unrecognized expression: #"),{anonymous}(#object),{anonymous}("Syntax error, unrecognized expression: #"),{anonymous}("Syntax error, unrecognized expression: #","While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="TC.onScriptLoad" target="[object Window]"], handler=

function (e) {

            var result;

            var path = TC_NS.Ambiance.getStringVal("SCRIPT_PATH");

            if (path) {

                  var path = path + dirSeparator + "default.xml";

                  if (TC_NS.FileIO.isExist(path)) {

                        result = load(path);

                        if (result && result.scriptXml) {

                              scriptPath = result.filename;

                        }

                  }

            }

            e.callback(result);

      }"),{anonymous}(#object,1),{anonymous}("TC.onScriptLoad",null,#object,1),{anonymous}("TC.onScriptLoad",null,#object),{anonymous}(),{anonymous}(#function),{anonymous}(#object),

,[TC_NS.Event type="TC.onScriptLoad" target="[object Window]"],

,[TC_NS.Event type="ui/load" target="[object Window]"],

,[TC_NS.Event type="ui/ready" target="[object Window]"]

While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="TC.onScriptLoad" target="[object Window]"], handler=

function (e) {

            var result;

            var path = TC_NS.Ambiance.getStringVal("SCRIPT_PATH");

            if (path) {

                  var path = path + dirSeparator + "default.xml";

                  if (TC_NS.FileIO.isExist(path)) {

                        result = load(path);

                        if (result && result.scriptXml) {

                              scriptPath = result.filename;

                        }

                  }

            }

            e.callback(result);

      }

 

Viewing all 3978 articles
Browse latest View live




Latest Images