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 | .... | 103 | 104 | (Page 105) | 106 | 107 | .... | 199 | newer

    0 0

    Hi ,

     

    I have requirement to create a script for Document upload to amazon s3 from various systems like Guidewire and Salesforce.But the amazon SDK and the upload code they have provide is in Java script library

     

    For Guidewire, I am able to successfully record/Create script for upload functionality using Truclient - Firefox for one application (Guidewire),

     

    But I tried to create script using Truclient - firefox for Document upload from Salesforce. I am getting, "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete." error.   I also increased the integer value to 60 for "dom.max_script_run_time" in "about:config", still the application is showing the uploading is Inprogress and never got completed.

     

    Can someone please help me how to resolve this to get the script creation?

     

    Thanks in advance.

     

    skumarasamy

     

     

     


    0 0

    I have a Truclient script (loadrunner 12.5) in which I need 12  (or perhaps later more) action blocks.

    Unfortunately, Loadrunner TC doesn't allow more that 10 action blocks. Why?

     

    The Old Skool loadrunner http protocol allowed a (virtually) unlimited ammount.

     

    Is this a bug?  Is there a work-around? 


    0 0

    See the subject line and attachment


    0 0

    Hi,

     

    Occasionally I have to use ArgsContext.TC.getParam(.....) instead of just TC.getParam(.....). 

    I have no clue why this is the case. I just know when it doen't work without the ArgsContext, I modify my code.

     

    My question is: when do I need to use ArgsContext? (and why)

     

     

     

    Thanks!

     

     

    Ray


    0 0

    Hi All,

     

    Loadrunner 12.02.

    Recording using TruClient - Firefox.

     

    I have a text box when I am recording I am able to type in the text, in this example it is typing in the year.

     

    However TruClient records this object Role as "focusable,element" and I'm unable to change it to "textbox,focusable,element" so that it accepts typing text.

     

    I've tried increasing the level to 2 then to 3 but still the same problem.

     

    I've also tried to record using TruClientIE, however when I try and start a recording session I ALWAYS get this error and can't proceed until I change to using TruClient - firefox:

     

    Problem signature:

    Problem Event Name: APPCRASH

    Application Name: TcWebIELauncher.exe

    Application Version: 12.0.6540.0

    Application Timestamp: 5475d1b4

    Fault Module Name: mshtml.dll

    Fault Module Version: 11.0.9600.18036

    Fault Module Timestamp: 55d8af8a

    Exception Code: c0000005

    Exception Offset: 0010d144

    OS Version: 6.3.9600.2.0.0.272.7

    Locale ID: 3081

    Additional Information 1: 203a

    Additional Information 2: 203a34b275d238fa1619160047dceda2

    Additional Information 3: 1727

    Additional Information 4: 1727997625b4a4ae9b7efb69b89885e1

     

     

    How can I resolve the issue with being able to type in the year to the text box which appears to be some other object to TruClient?


    0 0

    Hi All,

     

    Loadrunner 12.02 - Web/HTML

     

    My Replay log has this warning:

     

    Warning	219	Action.c(219): Warning: The string '"clazz":"com.gtnet.common.client.grasp.CLIENT_EVENT_Transportable","eventType":1,"objectID":2,"param1":"%7B%22____oid%22%3A33427%2C%20%22____type%22%3A%22ZZZCommonS.API.Objects.DatePicker%22%2C%20%22maxDate%22%3A%7B%22____type%22%3A%22Date%22%2C%20%22value%22%3A1446728400000%7D%2C%20%22minDate%22%3A%7B%22____type%22%3A%22Date%22%2C%20%22value%22%3A1443232390729%7D%2C%20%22selectedDateString%22%3Anull%7D","param2":"","parentID":9,"subObjectID":-1,"transportCode":128' with parameter delimiters is not a parameter.	Action.c	

    The response body is as follows for the step:

     

    --rn9012Content-type: text/plain
    
    {"clazz":"com.gtnet.common.client.json.JSONArray","code":167,"lastPacket":false,"transportables":[{"clazz":"com.gtnet.common.client.grasp.FORM_CUSTOM_COMPONENT_VALUE_Transportable","transportCode":167,"formID":9,"objectID":2,"value":"{ \"____oid\" : 52879, \"____type\" : \"ZZZCommonS.API.Objects.DatePicker\", \"maxDate\" : { \"____type\" : \"Date\", \"value\" : 1446728400000 }, \"minDate\" : { \"____type\" : \"Date\", \"value\" : 1443232390729 }, \"selectedDateString\" : null }","properties":"{\"showAnim\":\"fadeIn\",\"buttonImageOnly\":\"false\",\"maxLength\":\"10\",\"maxDate\":\"\",\"dateFormatHint\":\"dd\/mm\/yyyy\",\"buttonImage\":\"\/webclient\/customcomponents\/extensions\/ZZZComponents\/Datepicker\/css\/ui-lightness\/images\/calendar.gif\",\"minDate\":\"+0\",\"showOn\":\"both\",\"dateFormat\":\"dd\/mm\/yy\",\"buttonText\":\"<i class='icon calendar'><\/i>\"}","windowID":"primaryWindow"}]}
    [JSONArray]--rn9012Content-type: text/plain
    
    {"clazz":"com.gtnet.common.client.json.JSONArray","code":71,"lastPacket":true,"pageToken":1957415445,"transportables":[{"clazz":"com.gtnet.common.client.grasp.STR_RESPONSE_Transportable","transportCode":71,"successCode":1,"messageType":128,"commandID":1,"supplemental":"","supplementalInt":0,"windowID":null}]}
    [JSONArray]--rn9012--

    Notice how the response body is encapsulated by curly  brackets {} - Is this why I see this warning, does the engine see the whole string as a parameter or somethng?

     

     

    If my above assumption is correct, then how is it possible to clear this sort of warning? 

     

    Thanks in advance

     

    Jim


    0 0

    I saw very strange behavior in VUgen11.x recorded mode behavior with response time.

    Response time is three times higher when we record the script in URL mode with 'Create concurrent groups for resources after their source HTML page' option as compared to HTML based scripts.

    Could you please help me in understand of recorded mode behaviour with response time.


    0 0

    Hi,

     

    I have recorded a login to Hyperion Workspace 11.1.2.4 and on replay I am getting the following error after correlating sso_token:

     

    Action.c(254): Error -26627: HTTP Status-Code=404 (Not Found) 

      [MsgId: MERR-26627]
    Action.c(254): Warning -26200: At least one of the resources specified by EXTRARES has not been downloaded due to the above error(s)   [MsgId: MWAR-26200]
    Action.c(254): web_submit_data("Adf.jsp_3") highest severity level was "ERROR", 768 body bytes, 268 header bytes   [MsgId: MMSG-26388]

     

     

    The correlation created the following function call

     

        web_reg_save_param_regexp(
            "ParamName=RP_SSO_TOKEN",
            "RegExp=!\\[CDATA\\[(.*?)]]",
            SEARCH_FILTERS,
            "Scope=Body",
            "IgnoreRedirections=No",
            LAST);

     

    The replay output does show that the parameter is being substituted.

     

    Previous scripts that were recorded against 11.1.2.2 called web_reg_save_param which I understand is now deprecated. I also tried this same code snippet and it fails with the same error.

    Code from 11.2.2.2 scripts:

     

     web_reg_save_param("RP_TOKEN_NO_ENCODING","LB=CDATA[","RB=]]></token>", LAST);

     

     

      

    Any advise is appreciated.

     

     


    0 0

    Hi everyone,

     

    I am trying to script a business process which works fine when I run through it step by step but when I run it for even 2 iterations it fails at the second one. I have correlated one value and there is one value which is parameterized. I am posting this again as the previous posts about this error have not been helpful. I have tried the solutions mentioned in them and they haven't worked.

     

    I am using Loadrunner 12.02 Community license version, and trying to run iterations using run logic in VuGen and haven't tried to run this using Controller yet. The error is as follows:

     

    Action.c(7): Error -27985: There is no context for HTML-based functions. A previous function may not have used "Mode=HTML" or downloaded only non-HTML page(s), or the context has been reset (e.g., due to a GUI-based function) [MsgId: MERR-27985]
    Action.c(7): Warning -26379: Pending web_reg_save_param/reg_find/create_html_param[_ex] request(s) are deleted and will be handled as "not found" [MsgId: MWAR-26379]
    Action.c(7): Error -26366: "Text=Maintain Learner" not found for web_reg_find [MsgId: MERR-26366]
    Action.c(7): Error -26374: The above "not found" error(s) may be explained by header and body byte counts being 0 and 0, respectively. [MsgId: MERR-26374]

     

    It occurs at the following step which is pretty much the first step in Action, there is only a web_reg_find function before it.

     

        web_link("Find Learner", 
            "Text=Find Learner", 
            "Snapshot=t17.inf",        
            EXTRARES, 
            LAST);

     

    From what I've gathered from the internet so far, people have said that the script is not at the same initial state at the end of the iteration as it is at the beginning of the iteration. Does this mean that the first step has to be the same as the last step within Action? Also, as far as I can see there is no GUI dependency in my script. 

     

    Any help regarding this will be appreciated! I'm happy to provide more information if needed. Cheers!


    0 0

    Please confirm is the SAP GUI control ID's are unique?

    Note:
    Depends upon the connection speed, controlID is varing and I highly doubted is the control ID will vary depends on version or it is dynamic/static.  

     

    Thanks in advance 


    0 0

    Hello,

     

    We are trying to performance test Oracle R12 using LR12. Using the Oracle Web Apps 11i protocol. 

     

    Application is accessed via a https URL pointing to a load balancer. I am able to record events normally without any entry in the port mapping settings.  

     

    When I replay, I get the below error

     

    vuser_init.c(111): web_custom_request("RF.jsp") started [MsgId: MMSG-26355]
    vuser_init.c(111): Error -26547: Authentication required, please use web_set_user, e.g. web_set_user("domain\\user", "password", "host:port"); [MsgId: MERR-26547]

     

    I tried setting the web_set_user right at the top of the script. I mentioned the user id and password I am using for logging into oracle apps. 

     

    web_set_user("perftest1", "xxx123", "xxxx.ebs.com:443")

     

    When I replay after setting this, I get the below error. 

     

    vuser_init.c(111): web_custom_request("RF.jsp") started [MsgId: MMSG-26355]
    vuser_init.c(111): Warning -26630: HTTP Status-Code=401 (Unauthorized) for "https://xxxx.xxxx.com/OA_HTML/RF.jsp?function_id=MAINMENUREST&security_group_id=0" [MsgId: MWAR-26630]

     

    When I check the replay snapshot, instead of the homepage it shows "you are trying to access a page that is no longer active. The referring page may have come from a previous session." Screen shot attached

     

    Does this mean I am mentioning the wrong credentials in the web_set_user? What credentials should they be? 

     

    I tried replaying in WinInet mode as well. Same error persists. 

     

    Note: I have not done any correlation so far. The ICX_Ticket and JSessionID values that are normally correlated for oracle ebs scripts come at a later point in the script. 


    0 0

    Dear All,

    I have record one process and LR automatically generate script.

    My Current scenario is same like below.

    Master Table: Table 1: Id, Name, Address, etc
    Detail Table: Table 2: Id, Table1Id, Score, etc

    When Load runner generates script then it will define fixed value in "Table1Id" column. So when I will execute Load Runner for 100 Users then it will store same Id in "Table1Id " column.

    Actually when new entry start then
    1) It will store new entry in "Table1" and return Id (This Id = Table1Id ("Table2"))
    2) Store sub entries in "Table2"

    Primary Key: "Table1" - Id
    Foreign Key: "Table2" - Table1Id
    Relation: One to Many


    0 0

    Hi folks...

     

    This is probably really simple solution, but unfortuantely I cant figure it out!

    I'm recording in Truclient Fifrefox, and the UI I want to test has a search bar where we input a part number and hit return. This obviously works in normal browser but within the recording, the hitting 'Return' button isnt captured.

    I've tried turning up the script level, adding  generaic functions from Toolbox, but cant get it to simulate this.

    Have any of ye seen this in the past or know how to amend this in Truclient??


    If there was a 'Search' button on the UI, there'd be no problem :)

     

    Thanks

    Sean


    0 0

    Hello,

     

    I need to make some sql queries in a LR script in order to check the values in front of internal data.

    In addition, I need to get the column names of the result, which is not necessarily the names of the original tables in the database, because there are sometimse aliases in our requests.

     

    For that purpose, I used the lr_db set of fonctions whi work pretty well, but the problem is that I don't get the column names in the result.

     

    The function lr_db_getvalue requires the name of the column in input, and I don't have it.

    I tested the function ld_db_dataset_action with the print option, and it gives the column names of the result. But the problem is that it is only possible to print it in the log files, and not to store the result in a local variable.

    I don't have the possibility to parse the logs, so I am looking for another option.

     

    So my question is:

     

    How can I get the column names of a sql query result with load runner?

    If not possible, is there a library that you recommend that I could use for that purpose?

    The database is SQL SERVER

     

    Thanks in advance,

     

    Gilles

     

     


    0 0

    Hello,

     

    I need to make some sql queries in a LR script in order to check the values in front of internal data.

    In addition, I need to get the column names of the result, which is not necessarily the names of the original tables in the database, because there are sometimse aliases in our requests.

     

    For that purpose, I used the lr_db set of fonctions whi work pretty well, but the problem is that I don't get the column names in the result.

     

    The function lr_db_getvalue requires the name of the column in input, and I don't have it.

    I tested the function ld_db_dataset_action with the print option, and it gives the column names of the result. But the problem is that it is only possible to print it in the log files, and not to store the result in a local variable.

    I don't have the possibility to parse the logs, so I am looking for another option.

     

    So my question is:

     

    How can I get the column names of a sql query result with load runner?

    If not possible, is there a library that you recommend that I could use for that purpose?

    The database is SQL SERVER

     

    Thanks in advance,

     

    Gilles

     

     


    0 0

    Can Loadrunner controller and injectors be installed and run on a VMware solution?

     

    Is it best practice to run Controller or Injectors on a VMware solution?

     

     


    0 0

    we recorded an application using Truclient Firefox on VuGen 12.02.

     

    when we replay, the warning This Connection is Untrusted is displayed in the interactive window. the technical details shown in the warning are The certificate is not trused because it is self-signed. If we click through to Add Exception, the check box to Permanently store this exception is greyed out and not clickable.

     

    we can click Confirm Security Exception, and the script will then replay fine in VuGen. however, when we run the script in BPM 9.25 it fails on the same This Connection is Untrusted screen.

     

    we tried to uncheck the OCSP check in VuGen Truclient General Settings, but this did not help.

     

     


    0 0

    Hi 

     

    We currently use Performance 11.52, but I have downloadet LR12.50 free version as well. 

     

    I have a wireshark recording (pcap) of network traffic between a mobile app and server.  Some of the  communication is SSL, I have the private key and wireshark can decode the communication - no problem so far. 

     

    I try to use the same recording, but VuGen 11.52 cannot decode the traffic. It looks like TLS_RSA_WITH_AES_256_CBC_SHA is the cipher suite used.  According to recording options this suite is not supported.  

     

    I try on version 12.50, now there is an option to use "New Parsing Engine" - with this option pem-file has to be without passphrase.  But when I try this, I get an empty alert (see attachment).   

     

    Question1: Is it possible to get VuGen to decode communication with cipher suite TLS_RSA_WITH_AES_256_CBC_SHA ?

    Question2: Is it possible to create an extract from WireShark recording to Vugen, without doing it manually? (If doing it manually, errors will be introduced) 

     

    Regards Steen

     


    0 0

    Hi Team,

     

    Am working on VuGen scripting to send and delete email from Outlook 2010, while am able to perform the action.

    Facing issue in deletion, the script doesn't point to current email, but deletes older ones.

     

    The Protocol "  mapi_set_property_sz("Message ID", "");" doesn't seem to point to current session email

    Any pointers.

     

    Please help!!

    Many Thanks for your valuable info.

     

    Best Regards,

    Fruity


    0 0
  • 10/08/15--13:25: LR xml not working in unix
  • Hi ,

     

    we are using a LR _xml_set_values for one of our xml script, its working fine in a windows L.G but the script when run with solaris L.G its throws an error unresolved symbol lr_xml_get_values.

     

    kindly give your inputs


older | 1 | .... | 103 | 104 | (Page 105) | 106 | 107 | .... | 199 | newer