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

Unable to use the C Built in functions in Load Runner 11.52.

$
0
0

Hi, 

Iam using LR 11.52. Iam unable to use the builtin C functions like strcmp. Iam getting error message as "Extraneous old style parameter list". Please suggest.

Thanks

Anuj


Tru Client - IE runs in VuGen but not on Perf Center Server LG

$
0
0

We have several scripts that work fine in VuGen and when we use a standalone load generator but when we load the script to ALM and run it through Performance Center against our server Load Generators, the scripts fail.

Multiple issues - the login part fails to function.   It fails to recognize the logout button.

 

anyone else experiencing this issue?

 

anyone have a solution?

 

We were having the same issue with Ajax Tru Client for Firefox but HP gave us a patch for it and it works now but the IE version is still not working.

Enabling browser Javascript during re-play the LoadRunner script

$
0
0

Hi All,
I have recorded an application in HTTP/HTML protocol, in the HTML mode (LoadRunner v12.01).

The application recorded well while recording, but when I tried to re-play it, the run-time viewer, is displaying a message

"We have detected that Javascript is disabled in your browser. Please enable Javascript for continue to navigate".

I re-recorded the script after enabling Active scripting in IE. But, even after that the result is the same.

As a possible alternative, I re-recorded  the script in URL mode, but in vain.

Can you please suggest me solution?
How to enable Javascript during re-play the script?

 

Please advise!

Thanks in advance.

Oracle EBS and HP LoadRunner

$
0
0

We are evaluating  perfomance testing tools for Oracle EBS suite.  Do you have any positive or negative experience using LoadRunner for performance testing of Oracel EBS?

 

Regards,

Roman

LR script fails with Error -27726: Step download timeout (120 seconds) has expired

$
0
0

I have recorded script for Oracle ERP with Ajax click and script.

I have used mignify glass to search for data as it will take long time to load if i do not use magnify glass.

the script will fail at first magnify glass with above error.

can anyone suggest.

 

lr_start_transaction("suppliername");

    web_edit_field("Amount_2", 
        "Snapshot=t11.inf", 
        DESCRIPTION, 
        "Type=text", 
        "Name=Amount", 
        ACTION, 
        "FireEvent=onfocus", 
        LAST);

    web_image_link("Search for Supplier Name", 
        "Snapshot=t12.inf", 
        DESCRIPTION, 
        "Alt=Search for Supplier Name", 
        "Name=", 
        ACTION, 
        "ClickCoordinates=7,6", 
        LAST);

    lr_think_time(10);

    web_edit_field("searchText", 
        "Snapshot=t13.inf", 
        DESCRIPTION, 
        "Type=text", 
        "Name=searchText", 
        "FrameName=", 
        "BrowserOrdinal=2", 
        ACTION, 
        "SetValue=COMSTOCKPARK101", 
        LAST);

    web_list("categoryChoice", 
        "Snapshot=t14.inf", 
        DESCRIPTION, 
        "Name=categoryChoice", 
        "FrameName=", 
        "BrowserOrdinal=2", 
        ACTION, 
        "Select=Site", 
        LAST);

    web_button("BUTTON_2", 
        "Snapshot=t15.inf", 
        DESCRIPTION, 
        "Type=button", 
        "Tag=BUTTON", 
        "ID=", 
        "Name=", 
        "Value=", 
        "Ordinal=3", 
        "FrameName=", 
        "BrowserOrdinal=2", 
        ACTION, 
        "UserAction=Click", 
        LAST);

    web_image_link("Quick Select", 
        "Snapshot=t16.inf", 
        DESCRIPTION, 
        "Alt=Quick Select", 
        "Name=", 
        "FrameName=", 
        "BrowserOrdinal=2", 
        ACTION, 
        "ClickCoordinates=10,11", 
        LAST);

    lr_end_transaction("suppliername",LR_AUTO);

CITRIX «seamless» mode supported

$
0
0

Does Load Runner 12.x support recording in CITRIX «seamless» mode ?

IE version changes automatically from IE 8 to 10

$
0
0

Hi,

 

The version of IE is changing automatically from IE 8 to 10 and as a result the scripts are failing. please let me know the fix.

 

We have disabled the automatic update.

VuGen was unable to connect to the selected application to record the HTTP traffic

$
0
0

Hi when i start recording, browser is not getting opened but the respective service (iexplore.exe) is running in task manager. Below is the error, im using LR 12. 

I tried enabling/disabling antivirus, protected application recording, track COM process, run as admin etc..

Pls help me on this.

 

VuGen has detected that the application has encountered the following error:

VuGen was unable to connect to the selected application to record the HTTP traffic

The possible reasons for this failure may be:


* Interference Internet Explorer add-ons.

In order to enable recording, we suggest:

Disable Add-Ons in Internet Explorer.
1. From the Internet Explorer menu, click Tools |Internet Options.

2. Click the Programs tab.

3. Click Manage add-ons.

4. Click the Add-on you wish to disable, then click theDisable radio button.

NOTE: This option will only be available when an Add-on is selected.

5. IE7 users also have the ability to delete the ActiveX control.

6. Follow the steps outlined above to select the ActiveX control.

7. Click the Delete button found under Delete ActiveX.

NOTE: This option will only be available when an ActiveX control is selected.

8. Not all Add-ons in the list are active. Toggle the Show drop-down to view add-ons currently loaded in Internet Explorer.

9. Click OK to exit the Manage Add-ons menu

10. Click OK to exit the Internet Options menu

11. If a necessary add-on has been mistakenly disabled, repeat steps 1-3 above, highlight the disabled add-on, then click the Enable radio button.

12. Close Internet Explorer and restart it for changes to take effect.


Click Continue to ignore this warning and continue recording.
Click Cancel Recording to cancel the recording.


Has anybody done scripting of splunk dashboard using loadrunner 11.5 ? Getting authentication issue

$
0
0

Recorded login step in splunk dashboard using http/html protocol using LR 11.5 .While replay the script using VuGen with the same user login credential which has been used during loginn operation I am seeing below authetication issues.

 

Authentication required,please use web_set_user(),e,g web_set_user("domain\\user","password","host:port");

HTTP status-code=401 (Unauthorized) for "http://<ipaddress:port>/en_US/splunkd/_raw/serviceNS/<username>/search

 

Please give some pointer on this.I have tried with web_set_user() function with same login credential.I can login application manually using same login credential.

 

Thanks

Want to simulate the Browser's Temporary Internet file settings value in LR script

$
0
0

Hi,

 

I am working on web protocol on LR12 and created a script on application for which most of the activities of Application Launch and Login is handled at client side by implementing Java script. I have commented out the unwanted Java script requests in script and it working fine E2E.

 

 After performing the load test, it has been found that the Avg. Response time values for Home Page Launch and Login is pretty high (> 25 sec).

 

Development team has suggested to increase the Browsers temporary internet files (Disk space ) from default 250 MB to 520 MB.

 

How can i simulate this setting in the script. Is there any available function which can help out?

 

 

 

How to measure the response time for processing a record.

$
0
0

My Scenario goes like:-

Login,

Upload file.

 

Once upload is done it will create one record with status like "InActive",after few mins its status will change to "Active"

My requirement is to measure the response time for processing the record,(i.e. Response time for changing the status from "InActive" to "Active" Let me know how to achieve this.

 

Regards.

Load Runner command line execution issue

$
0
0

Hi,

 

I am trying to execute load tests from command using the following syntax, the issue is that since the name of the test scenario contains "spaces", the controller is not considering the full name of the scenario, but throwing an error saying the test name(upto the first space) does not exist.

 

What is the correct syntax to achieve what I am trying to do?

 

I am using windows server 2008 with HP Load Runner 12.01. As far as I remember this used to work in Load Runner 11.

 

Command:

 

wlrun.exe -ConnectToQC 1 -QCServer http://***/qcbin -QCDB DOMAIN.PROJECT -UserName uname -Password pass -TestPath "[TD]\Subject\Performance\Billing Address / Scenario" -Run

 

How to encode the deflate data into base64 format?

$
0
0

 

How to encode  the base64 format from compressed ( DEFLATE or GZIP compression)? 

 

Steps that our application goes through for compression. (Clients do these steps in reverse)

1. Take contents of Body tag and compress it using deflate.

2. Base64 encode the comrpessed content

3. Write the CompressedBody tag with the Base64 + compressed content inside

 

Example message: The below compressed form came from body of the customer request. This was came while recording the Application pages interface with Jave script.

 

cQATbDiHYTuwTFhHqZsr9sAp4vVjupvsWOb8Pig3SgrBmgsn0p​p4dervytybAG8ACnDjJjYvvat

 

I would like to know status about the below posts that was posted by Adikidran on 03-21-2011.

 

Re: Web Service SOAP + Compressio​n Error During Recording

 

Using the DFE feature (which is already released with LoadRunner) you can write a DFE that will encode/decode the compression

 

for a future release we are working on a new API for decompressing...

 

Thanks,

 

Sheik

 

 

 

Vugen 12.0 recording is very slow on chrome v38 browser.

$
0
0

 

Hi,

 

We are trying to record an application on chrome v38 since the app supports only chrome and found that vugen is very slow. For one end to end scenario it took me about 30 mins to record.

 

However, I do not face any issues when application is lauched without vugen, its quick and fast but not when chrome lauched with vugen.

 

Is there any settings required to make tool in sync with chrome?

 

Please refer below for tool and browser details:

 

LR 12.00, web (Http/Html) protocol, Chrome version 38, win 7 64 bit - OS and 8GB RAM. 

 

Thanks,

Prasanna

Issue in using lr2.feildGetter() function in Java over http protocol while recording in VuGen

$
0
0

Hello ,

 

 I am  doing Performance testing on HP Load Runner using java over http protocol . I need to fetch the xml elements we got in the response xml  using lr2.feildGetter() function . My xml has a List from which I need to get the value of the elements . I am attaching the screen shot of the xml ( as the xml is too big) . I need to find the value of  first or last zeilenOid   in the list( see the screen shot of the xml ,zeilenOid is at the last) . I have got the value of other elements in the xml which are not in the list but not able to fetch the list elements .

Below is the snippet of the code where I am getting the value of the other elements in the xml :

 

//This is autogenerated script of Load runner

    //////////////////////    requestBody22.xml    //////////////////////
    RemoteInvocation RemoteInvocation_ladeListeInfo22 = (RemoteInvocation) JavaHTTP.readObject(RemoteInvocationBA18);

    RemoteInvocationResult RemoteInvocationResult_ListeInfo22 = (RemoteInvocationResult) JavaHTTP.sendSerialized(RemoteInvocation_ladeListeInfo22, 22,
    "ObjectsDeserializerDefaultImpl",
    "ListenEditorAgent_5",
    "URL={http}{hostName}/smaragd.tcm.server/remoting/ListenEditorAgent",
    new String[]{ 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/x-java-serialized-object", 
        "Referer=", 
        "Mode=HTML", 
        "EncType=application/x-java-serialized-object", 
        LAST});// 22 is the number of the header file, record time response is at file responseBody22.xml
    

// Below code I have added to get the value of elements from the xml
        
    ListeInfo resultObject = (ListeInfo) RemoteInvocationResult_ListeInfo22.getValue();
    
    String nameEn = (String) lr2.fieldGetter(resultObject, "super.nameEn");    
  

    List lnkZeileList = (List) lr2.fieldGetter(resultObject, "super.lnkMatrix.lnkZeile");
  

//Till this I am getting the value of List object , but now while trying to get the elements of the list I am getting error with the below line :

 

   long zOid = (long) lr2.fieldGetter(resultObject, "super.lnkMatrix.lnkZeile.zeilenOid");

 

 

// error I got at this line while replay:

 

Error: System.err: java.lang.NoSuchFieldException:zeilenOid                   Error
System.err:  at lrapi.lr2.fieldGetter lr2.java:63)                                            Error
System.err:  at Actions.action(Actions.java:1055)                                        Error

 

I can understand that to get the value from list , we need to give the index number of the element but that is also not working here. Can somebody tell me that how to retrieve the element from the  list while using lr2.feildGetter() method?


Ajax TruClient and Plugins

$
0
0

Hello Experts,

 

I am trying to import adobe reader plugin to Firefox.

 

I copied "nppdf32.dll" in below folders but its not working.

 

1) %LR_PATH%\bin\Firefox\plugins
2) %LR_PATH%\bin\gecko\plugins (I cannot see gecko folder in LR 12 version).

 

When i checked add-ons manager page of truclient Firefox, i cannot see any plugins (please find the attached screenshot).

 

 

Could you please help me how to import adobe reader plugin to firefox?

 

P.S: - I want to view pdf file in Firefox window itself.

 

Regards,

Deepak

 

Load runner is not recording the application.

$
0
0

Hi,

 

My application is working  fine(Fast enough) when launched through browser,

When i tried to record it through  LR using same browser it is very slow and getting timedout after logging in and clicking on some menu item  and LR is not recording any thing.(It is NOT  recording the actions performed till timeout happened)

 

Let me know how to resolve the issue.

 

Regards.

 

Flow Redirection for VuGen TruClient Script

$
0
0

Is there a way to redirect the flow of a TruClient Script?  For example, if an object exists, I want skip a few steps and jump to another step...

Unable to download LR v12

$
0
0

Hello,

I am trying to download LR v12 on windows 8.1 OS, but set up get downloaded but when i install it run few files and it doesnot take me to the next GUI screen to complete my installation..

 

 

ANy help

ssl_error_no_cypher_overlap when recording website FF TRU client

$
0
0

Hi,

 

I try to record a FF TRU client script for my companies website, but when I record the login procedure (and during replay) i get the following error:

 

Cannot communicate securely with peer: no common encryption algorithm(s).

(Error code: ssl_error_no_cypher_overlap)

 

I found https://support.mozilla.org/en-US/questions/952242 and did what was sugested, but it does not seem to help.

 

LR version 11.52, FF 26 was used. The webserver has SSL3 disabled, TSL1 is still enabled.

Viewing all 3978 articles
Browse latest View live




Latest Images