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

End event error due to network timeout

$
0
0

Hello,

 

I create this post to share the solution to the "end event error due to network timeout" problem with Ajax TruClient protocol.

In my case, this error occurs when I'm clicking on a button who should generate a PDF document. This generation takes in average 120 seconds.

 

The HP support advise me to modify the user.js file loacted at several places (I don't know if modifing this file at all places is necessary):

<your_script_location>/profiles/interactive/

<your_script_location>/profiles/load/user_state

<your_script_location>/profiles/load/user_profile/profile

 

You have to add the following lines:

user_pref("LoadRunner.RTS.TruClient.SyncNetworkTimeoutInterval", 30000);
user_pref("LoadRunner.RTS.TruClient.SyncNetworkTimeoutMaxIntervals", 6); 

 

The first one value is a time in ms and the second is a number of retries.

Of course, you can modify these values to be in accordance with your needs.

 

This kind of modification only affect your current script.

I think you can do this modification permanently by modifying the user.js file into the VuGen install directory.

 

Hoping help you.

 


Vugen 11.52 - Problem in TruClient when trying to verify Windows title

$
0
0

I have created a Truclient script under IE9 and need underway to verify Windows title. I have tried to use the Verify function under TruClient - but it will not let me select that object. I'm considering using Evaluate JS on Object function, but is uncertain on how to proceede with this.

 

Any help appreciated.

LoadRunner .NET project (C#) that opens connections to Oracle DB and insert data or reading data

$
0
0

Hi,

I have a .NET project in LoadRunner that connect to SQL Server with SqlConnection oject and uses as well SqlDataAdapter/bulkCopy and other related sql methods. I used "using" of System.Data.SqlClient to achieve all the above.

 

Now, I want to transform the same project to work with Oracle. I found the relvant object through seeking the internet/MSDN e.g. OracleConnection, OracleDataAdapter but I'm failing to use it in LoadRunner (11), "using" of "System.Data.OracleClient" fails compilation.

Utils.clearCookies() does not seem to work

$
0
0

Hello,

 

I wanted to use the Utils.clearCookies() in a TruClient script, My idea was as follows:

  1. go to home page of application and login
  2. perform some actions
  3. exit the application, but leave the browser window open
  4. clear the session cookies.
  5. go to home page of application and login again
  6. perform some other actions

Step 4 doesn't seem to work, because in step 5 I notice that no request for credentials is made, I am already logged in.

 

If I try this same scenario manually it works as expected.

 

Am I doing something wrong here?

 

I am using Vugen 11.52 on windows 7 enterprise SP1 and IE10.

 

Peet

Performance Center Topology issue

$
0
0

hello,

 

please advise on following problem: when I open "desing topology" i can configure SiteScope monitors for elements on topology, i.e. when i click Configure Monitors, SiteScope window opens and monitors can be defined. I close designer, and when next time i open same topology - there are no SiS icons on design elements. Why? Can it be a cause of my major issue: I can't open topology monitors during test run, there is a message "the node does not have defined monitors". But no problems with monitors which I can configure for test directly (no in topology).

 

thanks in advance

 

BPM9.22 and LoadRunner11.52

$
0
0

I know that BPM 9.22 is only supported up to LR11.51.

 

Is there any compability issue if I use 11.52? Are there any known bug between the two? 

 

We have BPM 9.22 and looking to upgrade LR to 11.52

 

Thank you

Performance Center - Schedule a scenario to run in specific date and time

$
0
0

Please find attached document explaning ways a scenario can be scheduled to be executed on a future date and time.

Error : socket0 - Permission denied. Error code : 10013(help!)

$
0
0
lrs_send("socket0", "buf0", "TargetSocket=255.255.255.255:5224", LrsLastArg);

 i try to recording and replay a instant messaging software by win socket, when i replay the script, i encountered a error

vuser_init.c(16): Error : socket0 - Permission denied. Error code : 10013.

 

the original script as following

vuser_init()
{
    lrs_startup(257);

    lrs_create_socket("socket0", "UDP", "LocalHost=0",  LrsLastArg);

    lrs_send("socket0", "buf0", "TargetSocket=255.255.255.255:5224", LrsLastArg);

    lrs_create_socket("socket1", "TCP", "LocalHost=2425", "Backlog=15",  LrsLastArg);

    lrs_create_socket("socket2", "TCP", "LocalHost=2425", "Backlog=15",  LrsLastArg);

    lrs_create_socket("socket3", "UDP", "LocalHost=2425",  LrsLastArg);

    lrs_send("socket3", "buf1", "TargetSocket=255.255.255.255:2425", LrsLastArg);

    lrs_receive("socket3", "buf2", LrsLastArg);

    lrs_send("socket3", "buf3", "TargetSocket=10.10.11.32:2425", LrsLastArg);

    lrs_send("socket3", "buf4", "TargetSocket=10.10.11.33:2425", LrsLastArg);

    lrs_send("socket3", "buf5", "TargetSocket=10.10.11.33:2425", LrsLastArg);

    lrs_send("socket3", "buf6", "TargetSocket=10.10.11.33:2425", LrsLastArg);

    lrs_send("socket3", "buf7", "TargetSocket=10.10.11.35:2425", LrsLastArg);

    lrs_send("socket3", "buf8", "TargetSocket=10.10.11.35:2425", LrsLastArg);

    lrs_send("socket3", "buf9", "TargetSocket=10.10.11.36:2425", LrsLastArg);

    lrs_send("socket3", "buf10", "TargetSocket=10.10.11.36:2425", LrsLastArg);

    lrs_send("socket3", "buf11", "TargetSocket=10.10.11.36:2425", LrsLastArg);

    lrs_send("socket3", "buf12", "TargetSocket=10.10.11.36:2425", LrsLastArg);

    lrs_create_socket("socket4", "TCP", "LocalHost=0", "RemoteHost=219.146.251.166:80",  LrsLastArg);

    lrs_send("socket3", "buf13", "TargetSocket=10.10.11.43:2425", LrsLastArg);

    lrs_receive("socket3", "buf14", LrsLastArg);

    lrs_send("socket3", "buf15", "TargetSocket=10.10.11.43:2425", LrsLastArg);

    lrs_send("socket3", "buf16", "TargetSocket=10.10.11.43:2425", LrsLastArg);

    lrs_send("socket3", "buf17", "TargetSocket=10.10.11.43:2425", LrsLastArg);

    lrs_send("socket3", "buf18", "TargetSocket=10.10.11.44:2425", LrsLastArg);

    lrs_receive("socket3", "buf19", LrsLastArg);

    lrs_send("socket3", "buf20", "TargetSocket=10.10.11.44:2425", LrsLastArg);

    lrs_receive("socket3", "buf21", LrsLastArg);

    lrs_send("socket3", "buf22", "TargetSocket=10.10.11.44:2425", LrsLastArg);

    lrs_receive("socket3", "buf23", LrsLastArg);

    lrs_send("socket3", "buf24", "TargetSocket=10.10.11.45:2425", LrsLastArg);

    lrs_receive("socket3", "buf25", LrsLastArg);

    lrs_send("socket3", "buf26", "TargetSocket=10.10.11.50:2425", LrsLastArg);

    lrs_create_socket("socket5", "TCP", "LocalHost=0", "RemoteHost=119.167.209.196:80",  LrsLastArg);

    lrs_send("socket3", "buf27", "TargetSocket=10.10.11.50:2425", LrsLastArg);

    lrs_send("socket5", "buf28", LrsLastArg);

    lrs_send("socket3", "buf29", "TargetSocket=10.10.11.57:2425", LrsLastArg);

    lrs_receive("socket5", "buf30", LrsLastArg);

    lrs_send("socket3", "buf31", "TargetSocket=10.10.11.57:2425", LrsLastArg);

    lrs_receive("socket5", "buf32", LrsLastArg);

    lrs_send("socket3", "buf33", "TargetSocket=10.10.11.65:2425", LrsLastArg);

    lrs_receive("socket5", "buf34", LrsLastArg);

    lrs_send("socket3", "buf35", "TargetSocket=10.10.11.65:2425", LrsLastArg);

    lrs_receive("socket5", "buf36", LrsLastArg);

    lrs_send("socket3", "buf37", "TargetSocket=RJKF-07:2425", LrsLastArg);

    lrs_receive("socket3", "buf38", LrsLastArg);

    lrs_send("socket3", "buf39", "TargetSocket=RJKF-07:2425", LrsLastArg);

    lrs_receive("socket3", "buf40", LrsLastArg);

    lrs_send("socket3", "buf41", "TargetSocket=RJKF-17:2425", LrsLastArg);

    lrs_receive("socket3", "buf42", LrsLastArg);

    lrs_send("socket3", "buf43", "TargetSocket=RJKF-17:2425", LrsLastArg);

    lrs_receive("socket3", "buf44", LrsLastArg);

    lrs_send("socket3", "buf45", "TargetSocket=ONLYEDUGROUP:2425", LrsLastArg);

    lrs_receive("socket3", "buf46", LrsLastArg);

    lrs_send("socket3", "buf47", "TargetSocket=ONLYEDUGROUP:2425", LrsLastArg);

    lrs_receive("socket3", "buf48", LrsLastArg);

    lrs_send("socket3", "buf49", "TargetSocket=ONLYEDUGROUP:2425", LrsLastArg);

    lrs_receive("socket3", "buf50", LrsLastArg);

    lrs_send("socket3", "buf51", "TargetSocket=ONLYEDUGROUP:2425", LrsLastArg);

    lrs_receive("socket3", "buf52", LrsLastArg);

    lrs_send("socket3", "buf53", "TargetSocket=RJKF-14:2425", LrsLastArg);

    lrs_receive("socket3", "buf54", LrsLastArg);

    lrs_send("socket3", "buf55", "TargetSocket=RJKF-14:2425", LrsLastArg);

    lrs_receive("socket3", "buf56", LrsLastArg);

    lrs_send("socket3", "buf57", "TargetSocket=RJKF-14:2425", LrsLastArg);

    lrs_receive("socket3", "buf58", LrsLastArg);

    lrs_send("socket3", "buf59", "TargetSocket=RJKF-14:2425", LrsLastArg);

    lrs_receive("socket3", "buf60", LrsLastArg);

    lrs_send("socket3", "buf61", "TargetSocket=RJKF-10.onlyedugroup.com:2425", LrsLastArg);

    lrs_receive("socket3", "buf62", LrsLastArg);

    lrs_send("socket3", "buf63", "TargetSocket=RJKF-10.onlyedugroup.com:2425", LrsLastArg);

    lrs_receive("socket3", "buf64", LrsLastArg);

    lrs_send("socket3", "buf65", "TargetSocket=RJKF-10.onlyedugroup.com:2425", LrsLastArg);

    lrs_receive("socket3", "buf66", LrsLastArg);

    lrs_send("socket3", "buf67", "TargetSocket=RJKF-13:2425", LrsLastArg);

    lrs_receive("socket3", "buf68", LrsLastArg);

    lrs_send("socket3", "buf69", "TargetSocket=RJKF-13:2425", LrsLastArg);

    lrs_receive("socket3", "buf70", LrsLastArg);

    lrs_send("socket3", "buf71", "TargetSocket=RJKF-13:2425", LrsLastArg);

    lrs_receive("socket3", "buf72", LrsLastArg);

    lrs_send("socket3", "buf73", "TargetSocket=10.10.11.148:2425", LrsLastArg);

    lrs_receive("socket3", "buf74", LrsLastArg);

    lrs_send("socket3", "buf75", "TargetSocket=10.10.11.148:2425", LrsLastArg);

    lrs_receive("socket3", "buf76", LrsLastArg);

    lrs_send("socket3", "buf77", "TargetSocket=10.10.11.148:2425", LrsLastArg);

    lrs_receive("socket3", "buf78", LrsLastArg);

    lrs_send("socket3", "buf79", "TargetSocket=NKGL-09:2425", LrsLastArg);

    lrs_receive("socket3", "buf80", LrsLastArg);

    lrs_send("socket3", "buf81", "TargetSocket=ZJKJ-11:2425", LrsLastArg);

    lrs_receive("socket3", "buf82", LrsLastArg);

    lrs_send("socket3", "buf83", "TargetSocket=10.10.11.160:2425", LrsLastArg);

    lrs_receive("socket3", "buf84", LrsLastArg);

    lrs_send("socket3", "buf85", "TargetSocket=ZJKJ-09:2425", LrsLastArg);

    lrs_receive("socket3", "buf86", LrsLastArg);

    lrs_send("socket3", "buf87", "TargetSocket=10.10.11.207:2425", LrsLastArg);

    lrs_close_socket("socket4");

    lrs_send("socket3", "buf88", "TargetSocket=10.10.11.254:2425", LrsLastArg);

    lrs_create_socket("socket6", "TCP", "LocalHost=0", "RemoteHost=119.167.209.196:80",  LrsLastArg);

    lrs_send("socket6", "buf89", LrsLastArg);

    lrs_receive("socket6", "buf90", LrsLastArg);

    lrs_disable_socket("socket6", DISABLE_SEND);

    lrs_close_socket("socket6");

    lrs_create_socket("socket7", "TCP", "LocalHost=0", "RemoteHost=RJKF-10.onlyedugroup.com:2425",  LrsLastArg);

    lrs_accept_connection("socket1", "socket8");

    lrs_send("socket7", "buf91", LrsLastArg);

    lrs_receive("socket8", "buf92", LrsLastArg);

    lrs_send("socket7", "buf93", LrsLastArg);

    lrs_receive("socket8", "buf94", LrsLastArg);

    lrs_disable_socket("socket7", DISABLE_SEND);

    lrs_close_socket("socket7");

    lrs_disable_socket("socket8", DISABLE_SEND);

    lrs_close_socket("socket8");

    return 0;
}

 anyone could encouter this problem?


Design Studio fail to open: Script parse failed, please fix the errors before scanning

$
0
0

I can not open the script design studio in any of my scripts, even new ones, it just shows this message:

 

"Script parse failed, please fix the errors before scanning"

 

Do you have any idea on how to fix this?

 

Thanks,

Henrique Abreu

Axxiom Soluções Tecnológicas S.A.

Authenication Issue in Loadrunner

$
0
0

Hi All,

I 've faced a issue in loadrunner  while reply back the script .

Here are the setps that followed.

 

 

1. In SoapUi we are getting a valid response with the request but in the same when we are trying with loadrunner it is failing with authentication error.(we passed web_set_user() method for authentication)

2. Used 3 ways to prepare the script but every time we are getting the same error.

· Importing wsdl file and prepare the script

· Importing the soapxml and prepared the script

· Used web_custom_request() and passing therequest xml on it

we are using IIS7.0 as server and the authentication is used NTLM\kerberos.

 

Error message:

 

Action.c(93): \r\n

Action.c(93): <HTML><HEAD><TITLE>You are not authorized to view this page</TITLE>\r\n

Action.c(93): <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">\r\n

 

Action.c(93): \r\n

Action.c(93): <h1>You are not authorized to view this page</h1>\r\n

Action.c(93): You do not have permission to view this directory or page using the credentials that you s

Action.c(93): upplied.\r\n

Action.c(93): <hr>\r\n

Action.c(93): <p>Please try the following:</p>\r\n

Action.c(93): <ul>\r\n

Action.c(93): <li>Contact the Web site administrator if you believe you should be able to view this dire

Action.c(93): ctory or page.</li>\r\n

Action.c(93): <li>Click the <a href="javascript&colon;location.reload()">Refresh</a> button to try again with

Action.c(93): different credentials.</li>\r\n

Action.c(93): </ul>\r\n

Action.c(93): <h2>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.<br>Inter

Action.c(93): net Information Services (IIS)</h2>\r\n

Action.c(93): <hr>\r\n

Action.c(93): <p>Technical Information (for support personnel)</p>\r\n

Action.c(93): <ul>\r\n

Action.c(93): <li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support

Action.c(93): Services</a> and perform a title search for the words <b>HTTP</b> and <b>401</b>.</li>\r\n

Action.c(93): <li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),\r\n

Action.c(93): and search for topics titled <b>Authentication</b>, <b>Access Control</b>, and <b>About C

Action.c(93): ustom Error Messages</b>.</li>\r\n

PC/LR New License model queries

$
0
0

Hi,

Please can you help with this query?

In the Loadrunner and Performance Center pricing simplification for existing customers on v11.5, it says we can use the new license model but the existing licenses will need
to be migrated to the new structure.  I understand that much of this will just be a formality from the managing the support contract side, but does this migration to the new model involve obtaining new license keys for the existing estate?

4. What happens to an existing customer’s previous virtual users and controllers?
If an existing customer wants to migrate to the new SKUs (which are version 11.5), they may do so with their
entire entitlement to the new structure at the same support cost they pay today. This is optional only.



Migrations may
ONLY happen at support renewal unless the customer is buying added capacity, then customers can migrate mid-cycle of their support contract

It’s not clear if the migration involves new keys to enable the unlimited controllers and new v-user license structure, or is it just a case of adding the new keys to the existing
build?

 

Thanks

 

Duy

LoadRunner 11.0-Error: Vuser failed to initialize extension LrXml.dll.

$
0
0

Hi All,

 

My application will run in only IE8.when pefromance testing started they installed loadrunner 9.50.Due to browser comptability they changed to loadrunner 11.0

 

And OS is XP service pack 3-32bit

 

Now iam unable to record and launch the application through vuzen.some times it will record 20 or 30 evnts, later its not responding.

 

If I pasted any function in vuzen and click on run button following error Message getting. could you please any one help on this regard.

 

Error: Vuser failed to initialize extension LrXml.dll.

 

Thanks,

Rukmininath

Screen Mismatch When updating the LR Script

$
0
0

Hi

 

I am using Load Runner 11.4 version. I recorded some scripts(Assume Script 1 and Script 2) on a Web based application ( In the Application version 1.0).

 

With new changes , Development team have released version 1.2 of the same above application. 

 

So I have rerun the previous scripts (Script 1 and Script 2) in the Application version 1.2  and there are some Errors in the Scripts.

 

 

Instead of rerecording whole scripts ,I rerecord "Transaction 1" and replce it in in the Script 1 and Script 2.

 

When I rerun the final scrpts( Corelation is completed)  I can see a screen mismatch in Recorded and Replay screens.

 

I can understand that because of request replacing there can be a screen misatch.

 

Is there any way to fix this screen mismmatching problem. Is there a way to update  a index file , that is using by LR to keep tracking of the recorded and replay screens (evenafter replacing a part of a Script by newly recorded Transctions) ? 

 

If you know please Let me know. Thanks

 

Zen_T

 

 

Problem with parameter & ctrx_nfuse_connect function

$
0
0

Hi all,

 

I'm encountering a problem using a parameter with ctrx_nfuse_connection function.

 

I retrieve .ica url with a web_reg_save param, than I use this parameter to try to connect but the error is the following:

 

Action.c(138): Notify: Parameter Substitution: parameter "ICA_url" =  "https://<customer_URL>/2_19_2014/PMC_RUN_APP_ZTRSWKDHISIUCYKGPZZZP.ICA"
Action.c(138): Connecting via NFUSE portal "https://<customer_URL>/ICAFILES/2_19_2014/PMC_RUN_APP_ZTRSWKDHISIUCYKGPZZZP.ICA"
Action.c(138): Setting connection option "ICAFILE" to "F:\J\sigep\\nfuse_(null).ica"
19/02/2014 14:32:24 Action.c(138): Modifying ICA file with commands "ConnectionBar=0": done with status 2.

19/02/2014 14:32:24 Action.c(138): WaitForEvent: Initializing wait event, time=180000, end time=1366098780
Action.c(138): Error: Connect can not be established - Last Error=64, Last client error=0

 

 

The code is something like:

 

    web_reg_save_param("ICA_url",
    "LB=This object may be found <a HREF=\"", "RB=\">here<", LAST);
    
    web_url("Project List", 
        "URL=<customer_URL_To_retrieve_ica_URL>", 
        "TargetFrame=", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Snapshot=t5.inf", 
        "Mode=HTML", 
        LAST);

 

    ctrx_nfuse_connect(lr_eval_string("{ICA_url}"),CTRX_LAST);

 

 

any hints about that?

 

cheers,

Jacopo

Vugen : Mapi_protocol : access archive mailbox

$
0
0

Hello All,

I would like to know if it is possible to perform MAPI protocol operations like “mapi_read_next_mail” or “mapi_delete_mail” on mailbox other than Inbox (such as Archive folders).

 

The requirement is to read mails in archive, but the above mapi functions don’t provide an option to choose a different mail box like Archive. How can we make Vugen choose to perform operations on different mailbox?

 

Any inputs regarding this would be very helful!


Addins for Loadrunner

$
0
0

How to create addins for Loadrunner 11.52. Could anyone please guide me in this?? Thanks in advance

Provide a Product Review on LoadRunner Software

$
0
0

As a valued and active user of HP LoadRunner, can we request you to provide a review on the HP LoadRunner Software product through an independent review and rating site for IT products called IT Central Station? ITCentralStation is a ‘Yelp’-like review & rating website for IT products! 

 

It is a quick 10-15 minute process. If you are interested, please send an email to Ainat Koller Ainat@itcentralstation.com and indicate that  you are interested in providing a review and she can help you with the next steps.

 

Alternatively,  you can also contact Swati.kamath@hp.com who can also guide you through the steps.

 

Check out the benefits of writing a review

http://www.itcentralstation.com/become-a-contributor

 

 

 

Vugen 11.04 webservices scripting for jms to test tibco

$
0
0

Hi all,

 

I have a vugen 11.04 script to drop messages onto a tibco queue.

 

I am getting the following error message when I test the script:

Action.c(18): Error: Failed to set property name JMSPriority value 4 due to the following exception : java.lang.UnsupportedClassVersionError: Bad version number in .class file
java.lang.UnsupportedClassVersionError: Bad version number in .class file

 

 

can anyone help, this is an emergency.

 

thank you,

Tempest

HTTPS Redirection issue

$
0
0

  We are having redirection issue when replaying scripts(HTTP Protocol) in controller . ALL the web request links start with HTTPS. The scripts execute all transactions  successfully until 30 minutes into the test. After 30 minutes  mark all transactions were Redirected to log in page causing response time to minimal.The loadrunner logs  show  request is redirecting to Log on.jsp.( Log on page).Pleaseseehe examplelogmessage below

Action.c(35): Redirecting "https://xxx.1907.com/xxxapp/checkSession.html" (redirection depth is 0)                  [MsgId: MMSG-26694]

Action.c(35): To location "https://xxxx.1907.com/pub/logon.jsp"         [MsgId: MMSG-26693]

 

I will highly appreciate any help  to resolve above  issue

 

Thanks

 

 

Loadrunner - Preparing Recording with Real-time Changing Tables

$
0
0

Hi guys, I am new here in this forum.

 

I have a question to ask about the Loadrunner.

 

We have a process in our system wherein a certain list changes over time. Example, when one user clicks on the certain record, that record will be no longer in the list because that record is "claimed" by that user, so the next user may need to refresh the table (via AJAX) to get a fresh new list.

 

May I know how could I test this use case in our system and produce a test.

 

Thanks,

 

Julius

Viewing all 3978 articles
Browse latest View live




Latest Images