Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Showcase


Channel Catalog


Channel Description:

LoadRunner Practitioners Forum topics

older | 1 | .... | 55 | 56 | (Page 57) | 58 | 59 | .... | 199 | newer

    0 0

    http://h30499.www3.hp.com/t5/LoadRunner-Support-Forum/TC-FF-evalXPath-will-not-evaluate-variable-inside-of-for-loop/m-p/6549046#M10181

     

    The above link references how I use evalXPath. The solution I have worked brilliantly in TC for FF in LR 12.00, but now in 12.01.2079.0, this step no longer works.

     

    The error from mdrv.log shows the progress, the correct evaluation of the variable, and the subsequent failure:

     

    Notify: Transaction "004 Show 500 Contacts" ended with "Pass" status (Duration: 0.5819).
    t=00027511ms: ** 9: For (var i = 2; i < 21; i++) ** started    [MsgId: MMSG-205180]
    t=00027535ms: ** 9: For loop 1 ** started    [MsgId: MMSG-205180]
    Notify: Transaction "005 Open Contacts Page" started.
    t=00027859ms: ** 9.1: Click on i javascript_link ** started    [MsgId: MMSG-205180]
    t=00027867ms: Error -205177: TypeError: Ident.constructors.JavaScript.createIdentJSSandbox is not a function
    Ident.constructors.JavaScript.prototype<._evaluate@chrome://truclientrre/content/ident/IdentJavaScript.js:13:1
    find@chrome://truclientrre/content/ident/Ident.js:274:1
    Ident.prototype._evaluateImpl@chrome://truclientrre/content/ident/Ident.js:381:3
    Ident.prototype.evaluate@chrome://truclientrre/content/ident/Ident.js:168:1
    TestObject.prototype.evaluate@chrome://truclientrre/content/model/TestObject.js:391:3
    .evaluateTestObject@chrome://truclientrre/content/model/TestObjectDelegator.js:52:1
    @chrome://truclientrre/content/model/Step.js:1261:4
    window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
    window.Event@chrome://truclientrre/content/infra/Event.js:13:20
    .dispatch@chrome://truclientrre/content/infra/Event.js:24:4
    .updateReadyState@chrome://truclientrre/content/model/CommonTestObjectStepExts.js:158:1
    processStep@chrome://truclientrre/content/model/Step.js:1152:4
    processNextStep@chrome://truclientrre/content/model/Step.js:1174:6
    enterDispatchLoop@chrome://truclientrre/content/model/Step.js:1209:5
    Step.prototype<.start@chrome://truclientrre/content/model/Step.js:481:5
    Step.prototype<.delegateRun@chrome://truclientrre/content/model/Step.js:761:5
    runAlt@chrome://truclientrre/content/model/StepExts.js:145:14
    .callAsync/<@chrome://truclientrre/content/infra/StdClasses.js:44:37
    receiveMessage@chrome://truclientrre/content/infra/Utils.js:21:6
    .send@https://plta2perf032.infusiontest.com/js/sink_jq.jsp?b=1.36.0.31:13604:6
    .ajax@https://plta2perf032.infusiontest.com/js/sink_jq.jsp?b=1.36.0.31:13034:5
    ajaxFill@https://plta2perf032.infusiontest.com/js/sink_jq.jsp?b=1.36.0.31:39048:1
    ajaxFillDiv@https://plta2perf032.infusiontest.com/js/sink_jq.jsp?b=1.36.0.31:39408:1
    submitGrid@https://plta2perf032.infusiontest.com/js/sink_jq.jsp?b=1.36.0.31:39749:5
    changePerPage@https://plta2perf032.infusiontest.com/js/sink_jq.jsp?b=1.36.0.31:39700:4
    onchange@https://plta2perf032.infusiontest.com/app/nav/link?navSystem=nav.mynav&navModule=contact:1:1
    sendMouseEvent/send/<@chrome://truclientrre/content/infra/Mouse.js:35:5
    window.Utils.hookTimers@chrome://truclientrre/content/infra/Utils.js:182:45
    send@chrome://truclientrre/content/infra/Mouse.js:33:3
    .callAsync/<@chrome://truclientrre/content/infra/StdClasses.js:44:37
    receiveMessage@chrome://truclientrre/content/infra/Utils.js:21:6
    
    While calling handlers in RuleEngine dispatch, event=[Event type="agent/evaluate-test-object" target="[object ChromeWindow]"], handler=
    function (args) {
    "use strict";
    
    			Step.evaluateTestObject(args/*identProfile, stepTestObj, callback*/)
    	}       Snapshot Info [MSH 1 0]    [MsgId: MERR-205177]
    t=02471649ms: ** 9.1: Click on i javascript_link ** was stopped    [MsgId: MMSG-205180]
    Notify: Transaction "005 Open Contacts Page" ended with "Pass" status (Duration: 2443.8004).
    t=02471716ms: ** 9: For (var i = 2; i < 21; i++) ** was stopped    [MsgId: MMSG-205180]

     


    0 0
  • 11/14/14--16:59: winsock protocol correlation
  • Hi,
    I am using winsock protocol to script a legacy application. once the script is recorded, i can see the cookie data in buffer 0 as below:

    "GET / HTTP/1.1\r\n"
    "Accept: image/jpeg, application/x-ms-application, image/gif, application/x"
    "aml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, app"
    "lication/vnd.ms-powerpoint, application/msword, */*\r\n"
    "Accept-Language: en-US\r\n"
    "Accept-Encoding: gzip, deflate\r\n"
    "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trid"
    "ent/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET "
    "CLR 3.0.30729; InfoPath.3)\r\n"
    "Host: www.symitar.com\r\n"
    "Connection: Keep-Alive\r\n"
    "Cookie: __utma=154175930.1038726546.1415662720.1415997824. 1416001296.11; _"
    "_utmz=154175930.1415662720.1.1.utmcsr=(direct)|ut mccn=(direct)|utmcmd=(non"
    "e)\r\n"
    "\r\n"
    "GET /Pages/default.aspx HTTP/1.1\r\n"
    "Accept: image/jpeg, application/x-ms-application, image/gif, application/x"
    "aml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, app"
    "lication/vnd.ms-powerpoint, application/msword, */*\r\n"
    "Accept-Language: en-US\r\n"
    "Accept-Encoding: gzip, deflate\r\n"
    "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trid"
    "ent/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET "
    "CLR 3.0.30729; InfoPath.3)\r\n"
    "Host: www.symitar.com\r\n"
    "Connection: Keep-Alive\r\n"
    "Cookie: __utma=154175930.1038726546.1415662720.1415997824. 1416001296.11; _"
    "_utmz=154175930.1415662720.1.1.utmcsr=(direct)|ut mccn=(direct)|utmcmd=(non"
    "e)\r\n"
    "If-Modified-Since: Fri, 14 Nov 2014 22:00:05 GMT\r\n"
    "\r\n"
    The initial part of the script will be:

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

    lrs_send("socket0", "buf0", LrsLastArg);

    lrs_receive("socket0", "buf1", "Flags=0x20", LrsLastArg);

    If i try to run this, 0 bytes received in buf1 and because of this the data is not updated in application. I tried correlating it using lr_save_param but not much luck.

    I have also attached the screenshot of the cookie value highlighted in textview mode.

    Any help would be much appreciated


    0 0
  • 11/16/14--18:58: Record MS Lync with HP VuGen
  • Hi Experts,

     

    Is it possible to record MS Lync with HP VuGen? If yes, which protocol can we use?

     

    I tried to record with Win32 protocol, but was not able to record anything.

     

    Even Protocol Advisor was not helpful as no events were recorded.

     

    Regards,

    Ashok

     

    P.S. This thread has been moved from Performance Center Support and News Forum to LoadRunner Support Forum. -HP Forum Moderator

     


    0 0

    Hi,

     

    I have installed LR 12.01, Build -2079  Community edition on windows home machine(64-Bit).

     

    I  have the below problems observed. Please suggest me the resolution.

     

    1. Unable to find the recorded script response in "Code Generation Log", which is used to identify left and right boundaries in correlation. I also verified recorded snap shots from Snap shot pane. Response body tab is grayed out.

     

     

    2. Unable to record the script with Firefox browser. My current FF browser version 26. Also verified with the version 23.

    Browser is getting crashed while recorder launching the browser.

     

     

    Please help me to resolve this.

     

    Thanks in advance.

     

     

    P.S. This thread has been moved from Community Feedback & Suggestions to LoadRunner Support Forum. -HP Forum Moderator


    0 0

    Hi,

     

    I have recorded a web script using web http/html protocol and because of SSL/Authentication issues while replaying, i used WinINet level during replay.

     

    The replay went fine through half way and is getting failed at one of the request where it is searhing some doucments (PS: Search operation is very slow even for single user manually).

     

    I am getting the below error in Vugen,

    " Error -27492: "HttpSendRequest" failed, Windows error code=12002 and retry limit (0) exceeded"

     

    PS: I cannot use Socket level replay in this script.

     

    Please, suggest how to resolve this error.


    0 0

    Version LR12.0

    Script prepared using HTTP Protocol    

     

    Can some one please let me know the reason, even theough correlated javax.faces.viewstate it is not redirecting to the actual page

     

    Actual script:

     

    web_submit_data("main", 

            "Action=http://xxxxx/spring/main?execution=e1s1", 
            "Method=POST", 
            "RecContentType=text/xml", 
            "Referer=http://xxxxx/spring/main?execution=e1s1", 
            "Snapshot=t4.inf", 
            "Mode=HTML", 
            "EncodeAtSign=YES", 
            ITEMDATA, 
            "Name=javax.faces.partial.ajax", "Value=true", ENDITEM, 
            "Name=javax.faces.source", "Value=homePage:j_id12457226_5a6b40a6", ENDITEM, 
            "Name=javax.faces.partial.execute", "Value=@all", ENDITEM, 
            "Name=javax.faces.partial.render", "Value=homePage:appIcons", ENDITEM, 
            "Name=homePage:j_id12457226_5a6b40a6", "Value=homePage:j_id12457226_5a6b40a6", ENDITEM, 
            "Name=homePage:draggingId", "Value=", ENDITEM, 
            "Name=homePage:columsTable", "Value=4", ENDITEM, 
            "Name=homePage:rowsTable", "Value=12", ENDITEM, 
            "Name=homePage:dragIdCarousel", "Value=", ENDITEM, 
            "Name=homePage:dropIdCarousel", "Value=", ENDITEM, 
            "Name=homePage:appIcons:0:AutoComplete_input", "Value=", ENDITEM, 
            "Name=homePage:appIcons:1:AutoComplete_input", "Value=", ENDITEM, 
            "Name=homePage:appIcons:2:AutoComplete_input", "Value=", ENDITEM, 
            "Name=homePage:appIcons:3:AutoComplete_input", "Value=", ENDITEM, 
            "Name=homePage:appIcons:4:AutoComplete_input", "Value=", ENDITEM, 
            "Name=homePage:appIcons:5:AutoComplete_input", "Value=", ENDITEM, 
            "Name=homePage:toState", "Value=", ENDITEM, 
            "Name=homePage_SUBMIT", "Value=1", ENDITEM, 
            "Name=javax.faces.ViewState", "Value=I7RUZByoMGOK7cC+FmzU2vY4323FH1kyiR2/jz43rFGoza0NpKL4Y2yFcc+nWvpsG7G5J+Ozp1M4m2J4mVpcaG98KlJNnWB0Hc72+MGxyadZvaHLKGd/tqUQM64xsBgZswqzfT6e/kMo3J05", ENDITEM, 

     

    Used below correlation:

    /*Correlation comment - Do not change!  Original value='I7RUZByoMGOK7cC+FmzU2vY4323FH1kyiR2/jz43rFGoza0NpKL4Y6tfZOfS4TDTkUSIdJvtuNo4m2J4mVpcaDdYkcl6uT82IRSYC+BLzlsOaiN2k4ovfPYDyqo+18LcSVqKzyQDqXM4vLKQpqg014hApCnPPwdGjz6qbKMVOl5t2tox' Name ='javax.faces.ViewState_3' Type ='ResponseBased'*/
        web_reg_save_param_regexp(
            "ParamName=javax.faces.ViewState_3",
            "RegExp=id=\"javax\\.faces\\.ViewState\"\\ value=\"(.*?)\"\\ ",
            SEARCH_FILTERS,
            "Scope=Body",
            "IgnoreRedirections=No",
            "RequestUrl=*/main*",
            LAST);

     

    Issue facing :

     

    After every submit action for the URL for below

    http://xxxxx/spring/main?execution=e1s1

     

    e1s1 should become e1s2, e1s2 should become e1s3 and so on

     

    But the issue we are facing is it is redircting to http://xxxxx/spring/main though it is correlated 

     


    0 0

    Can anyone tell me Oracle 11g forms+weblogic together will support which protocol in Load Runner .

     

    And also what is the benchmark response time for 11g forms+weblogic  in Load Runner.

     

     

    Thanks.


    0 0

     

     

    TE_wait_text("Enter Name          ", 90);
        TE_wait_cursor(12, 7, 100, 90);
        TE_type("01..");        -> (Value changes for each iteration)
        TE_type("<kTab>");

     

    New to RTE scripting , Can any one please help

     


    0 0
  • 11/19/14--02:49: IDs required to run test.
  • Hi, can i run 80 Vuser test with only 1 ID, will this be a realistic scenario? or do i need to request for more IDs. for instance i have 5 IDs, and is it really important to have same roles and responsibility for all 5 IDs. Appreciate your quick help.


    0 0

    Hi,

    When I select the "URL based" mode in the recording options, my LoadRunner does the record in "HTML based"

    So, the generated code is the same as if I select "HTML based" !

    Can somebody explain me why it happens and how can I record in "URL based" mode in LR 12?

    Thank you,

     

    Vadim


    0 0

    Hi all,

     

    I have recorded a script for a site that uses Google Translate. When doing a load test, after a few hours I get the following:

    About this page

    Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen?

    IP address: xxx.xxx.xxx.xx
    Time: 2014-11-19T16:16:28Z
    URL: http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit

     

    I investigated to find out that an unexpected CAPTCHA page is being displayed, which leads to a time out. This ultimately hoses my vusers.

     

    Can anyone please provide insight on how I may be able to get around this problem?

     

    Thanks in advance!

     

     


    0 0

    I have LR 11.52 on my machine and under help file for the citrix protocol(citrix access gateway support link), it specifically states LoadRunner supports Citrix Access Gateway (CAG) for Citrix Client versions 10.200 (or lower) and Citrix Client version 13.x. I'm looking to script  Citrix Netscaler access gateway platinum version 10.5 and I would like to know If LR 12.0 supports the 10.5 Netscaler Access Gateway version?  or if there is anything else I can do to script Citrix Netscaler access gateway platinum version 10.5?

     

     

    Thanks


    0 0

    Hi All, I am using Load Runner 12.01, i have recorded my scripts in AJAX True Client IE , The script is working fine in VuGen, But the same scripts are getting failed during the load test execution due to the below error. "Error -205177: Type Error: Unable to get value of the property 'normalizeSpace': object is null or undefined undefined undefined Snapshot Info [MSH 1 0] [MsgId: MERR-205177]" Can some body help me to resolve this. Thanks Jagan Mohan


    0 0

    Hi,

     

    I am using the "bodyfilepath" method to call the .json file to run the web service request. Here as i need to run for load test, i am in need to parameterize the .json script. In LR i am allowed to do parameterize but getting error while running the script. If i run without the parameterization then the script runs sucessfully. Kindly find the below code for your reference.

     

    Action script:

     

     

    Action()
    {
             
        lr_start_transaction("getcustomeraddress");
        web_custom_request("getCustomerAddress",
              "URL=https://pre-prod-skpservicesinternal.nus.ironmountain.com/rmservices/api/recordsMgmt/manageCustomers",
              "Method=POST",
              "Resource=0",
              "EncType=application/json",
              "Mode=HTTP",
              "BodyFilePath=getcustomeraddress.json",LAST);
        lr_end_transaction("getcustomeraddress",LR_AUTO);
          
        return 0;
    }

     

    .Json Script;

    {
        "method": "getCustomerAddress",
        "format": "application/json",
        "system": "amer",
        "companyId": "1234",
        "customerId": "{custid}" ,
        "filter": 
        {
        "addressCode": "{addrcode}"
        }
    }

     

    Please help me in this regard. 

    Thanks in Advance.


    0 0

    Hi,

     

    to analyse our results we use the exported raw data from HP Analysis (especially "AVG Transaction Response Time" raw data) . The raw data are shown like a kind of Excel-Table and they are only exportable as an xls-file.

     

    Does anybody know, if there is an row limit for raw data like in excel, f.e. 65.536 or 1.048.576 rows?

     

    Thanks!

     


    0 0

    Hi Everyone

    I've been having a bit of a battle with loadrunner in trying to get a successful response to a web service request where the web services are using SOAP 1.2.

     

    I have been able to get valid responses back from web services using SOAP 1.1 without any difficulty.  

     

    I have also tested the web service requests in SOAP UI for both versions of SOAP (1.1 and 1.2), and they respond correctly. 

     

    I have seen LoadRunner 11 documentation which states 'For .NET toolkit, SOAP 1.2 is not supported for asynchronous calls'.  So, I downloaded the trial edition of LoadRunner 12 a couple of days ago, hoping that this would resolve things, but to no avail.  Does anyone know if LR12 supports SOAP 1.2? 

     

    I have managed in LR12 to record the request via SOAP UI into vugen.  However when I replay the script, I get a System:InvalidOperationException: Response is not well-formed XML (web_service_call).

     

    A soap_request attempt does not fare any better, and I receive a 'The "MyRequest" SOAP request response content is not XML' message.

     

    I've also tried using web_custom_request, but have not succeeded.  Most of the examples on the net use a .asmx location for the URL.

     

    Has anyone out there sucessfully scripted SOAP 1.2 web service calls in Load Runner?  Any assistance would be much appreciated.


    0 0
  • 11/20/14--06:00: JDK support for LR VuGen 12
  • Hi,

     

    could anyone tell me what JDK version is supported by LR12 for Java Record and Replay?

    I am using JDK 1.7 32bit, wil this be ok?

     

    Thanks


    0 0

    Hi ,

     

    Received error message "Because of Protocol error, the session will be terminated. Please try again later"  during recording of RDP protocol script. Please help me in resolving the issue.

     

    Thanks,

     

    Chandra


    0 0
  • 11/20/14--20:11: skip a step if failed
  • i have created a script of my web-application in Ajax Trueclient- firefox protocol. how can i script the page so that if any pop-up occur or any error occure, it should not terminate my whole script but it should execute the next step and display a message that the particular step has been failed.

     

    Please someone help me in this issue.


    0 0

    Hi,

     

    We have done few tweaks in HP Asset manager, now client wants us to do the load testing on the customized area.

     

    Does LR 12, supports to record the HP Asset manager tool.

     

    With help of process explorer we have tried to launch the app but getting error as "unexpected parameter am.ovl".

     

    Using LR 12, Protocol: Web(http/html), selected application type as "Windows", Win 7 OS.

     

    Please Advice!

     

    Thanks,

    Prasanna

     

     


older | 1 | .... | 55 | 56 | (Page 57) | 58 | 59 | .... | 199 | newer