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

Software Content on HPE Enterprise Community in Read-Only May 9 - 15

$
0
0

Software Content on HPE Enterprise Community in Read-Only May 9 - 15

As you may have seen in the last few months, Hewlett Packard Enterprise is combining some software assets with Micro Focus. As part of this spin-merge with Micro Focus, a new Software instance of an online community will go live on May 16, 2017.

All boards within the current Software category will be located to a new community. All URLs will redirect to the new community. All current users will be migrated to the new community as well. Please be sure to update your bookmarks after May 16.

As part of the migration to a new Software instance, all software content will be in read-only mode from May 9 – 15. We apologize for any inconvenience.

We will continue to provide further updates in this News board.


mdrv.exe memory use keep increasing when run an empty Java Vuser script via Controller.

$
0
0

Dear Experts.

Could you please help take a look at below questions? Thanks a lot.

If I run an empty Web-Http script via Controller, I can see the mdrv.exe memory use is stable, seems not change at all.

But if I run an empty Java Vuser script via Controller, I can see the mdrv.exe memory use keep increasing.

I selected "Run as a process", but the memory use still keep inceasing.

I uploaded 3 pics:

1st part is Web-Http script, memory use is stable.

2nd part is Java Vuser with JDK 1.8, memory use keep increasing.

3rd part is Java Vuser with JDK 1.6, memory use keep increasing, and TPS seems keep decreasing.

Qs:

1. For mdrv.exe memory use keep increasing when run Java Vuser script, is this a normal behavior?

2. If it is a normal behavior, how to understand this behavior? Is there any document can explain this mechanism? (Or juse help explain this mechanism )

3. Seems the TPS keep decreasing is caused by the memory keep increasing, is it right? Or is there anyway we can verify whether the TPS decreasing is caused by the memory?

4. Is there any way can avoid mdrv.exe memory use keep increasing?

(I think this can be reproduce on any host.)

Thank you very much.

 

BR//Kimi-Liu Yingjun

VuGen protocol Webservice

$
0
0

How do you configure VuGen protocol Webservice for WS-Addressing version 200508?

TC: conditionally executing window.alert()

$
0
0

I am using FF to develop a TC 12.53 script. I am using some Eval JS code window.alert(...); statements to debug the script and inspect parameter values, as in:

TC.log.jpg

But when I execute that script under vuGen the script hangs on the first of these statements, without the popup alert dialog being presented so it can be manually dismissed. (and even if the dialog is presented under vuGen, I can see the obvious problem attempting to run the script under a Controller).

So is there anyway to condition these Steps (surrounded by some type of IF(...) statement) so that they are only executed when I am in Develop Script mode? Or do I have to manually disable all of these Steps before exiting Develop Script mode?

-Thanks, Terry

 

TC: global JavaScript var support?

$
0
0

In other LR protocols I have created simple shared/global variables in the init() module, before/outside of the init() function. Then those vars can be use in the Action action (and all other custom actions I create).

But when I try to do this in a TC script in the Init action, as in:

TC.log.jpg

these JavaScript vars are only visible in the Init action and can't be used in the Action action. I suspect that they above statements are implicitly being encapsuated in the Init() function. I tried playing around with Function Libraries but found no way to add variables outside of a function in a created library.

So is there anyway to share globalJavaScript variables between actions? Or must I only use TC parameters to share strings and numbers between actions (which is so cumbersome)?

? Thanks, Terry

 

TC: using a variable or param in Transaction names?

$
0
0

Is there some way to use a JS variable or an LR parameter to provide a Transaction name (as can be done in many other LR protocols)? Right now it appears that the dialog only accepts a string literal:

TC.log.jpg

Loadrunner suitability for MAP application ?

$
0
0

I want to load test a GIS map application and want to check first if loadrunner is suitable tool for this kind of application testing or not ? If any one has done load testing for this kind of MAP application then please can you advice regarding the best tool and protocol I should use ?

 

Regards

KAPIL

.NET Protocol Parameterization and Correlation

$
0
0

Hi 

Could you anyone help me out in Parameterization and Correlation in .Net protocol.

1) Which fucntion to be used for Correlation with Example

2) Paramaterization - I am tring lr_eval_string("{p_Name}") but getting error

Please help me out 


Error -27792: Failed to connect to server "server name": [10061] Connection refused

$
0
0

Hello,

I am using windows server 2012 r2, loadrunner version 12.53 and Web-HTTP/HTML.

I am having a REST API code. When I am trying to replay the “REST API code”, it’s giving error

“Error -27792: Failed to connect to server "server name": [10061] Connection refused”

Can anyone tell me, how to fix this error?

I would also like to know, how to capture the token to be passed into the request?

 

REST API code:

web_set_sockets_option("SSL_VERSION","TLS");                       

web_rest("GET:URL",

"URL=URL?context=TAG&contextValue=1",

"Method=GET",

"Snapshot=t131653.inf",

HEADERS,

"Name=Accept", "Value=application/json", ENDHEADER,

LAST);

Thanks

TC: programmatically deterimining "Develop Script" mode?

$
0
0

Is there any type of IF(blah)... statement that I can use to determine if my TC script is executing in the Develop Script mode (as opposed to running under vuGen or the Controller)?

-Thanks, Terry

how to web service xml s with using session id and get the out put

$
0
0

Action()
{

 web_custom_request("Weather SOAP Request",
web_add_cookie("S.ID=e1b476e7-23a2-4530-a84f-7f992b3cd41e; DOMAIN=68.87.151.31"),
      "URL=http://red.leanlogistics.com/Integration/xml/shipper/order",
      "Method=POST",
      "RecContentType=application/xml",
      "Mode=HTML",
      "EncType=application/xml; charset=utf-8",
      "Body="
      "<Order>"
            "<ShipperRef>112232</ShipperRef>"
            "<UniqueRef>5896588</UniqueRef>"
            "<OrderType>SALES_ORDER</OrderType>"
            "<Workflow>OUTBOUND</Workflow>"
            "<TMSPlanningAbility>1</TMSPlanningAbility>"
            "<OrderItems>"
                "<OrderItem ScheduleNum=\"1\">"
                    "<ProductID>5600</ProductID>"
                    "<LineNumber>1</LineNumber>"
                    "<Description></Description>"
                    "<PackageQuantity>12</PackageQuantity>"
                    "<PackageType>BAGS</PackageType>"
                    "<Weight>40</Weight>"
                    "<Commodity>BULK</Commodity>"
                "</OrderItem>"
            "</OrderItems>"
            "<OrderSchedules>"
                "<OrderSchedule>"
                    "<ScheduleNum>1</ScheduleNum>"
                    "<Origin>"
                        "<EstAvailableStartDate TimeZone=\"ZZZ\">04/04/2017 13:00</EstAvailableStartDate>"
                        "<Location>"
                            "<LocationRef>HOL LOADTEST MAIN</LocationRef>"
                            "<Name>HOL LOADTEST MAIN</Name>"
                            "<Address1>1351 WAVERLY</Address1>"
                            "<City>HOLLAND</City>"
                            "<State>MI</State>"
                            "<Zip>49423</Zip>"
                            "<Country>US</Country>"
                        "</Location>"
                    "</Origin>"
                    "<Destination>"
                        "<ReqDeliveryStartDate TimeZone=\"ZZZ\">04/12/2017 10:00</ReqDeliveryStartDate>"
                        "<Location>"
                            "<LocationRef>600</LocationRef>"
                            "<Name>MIDWEST CUSTOMER</Name>"
                            "<Address1>5542 SUBURBIA COURT</Address1>"
                            "<City>WYOMING</City>"
                            "<State>MI</State>"
                            "<Zip>49418</Zip>"
                            "<Country>US</Country>"
                        "</Location>"
                    "</Destination>"
                "</OrderSchedule>"
                "<ParcelAttribute>"
                    "<Provider>ANY</Provider>"
                    "<ForceParcel>YES</ForceParcel>"
                "</ParcelAttribute>"
            "</OrderSchedules>"
            "<GroupAssignment>OUTBOUND</GroupAssignment>"
        "</Order>",
        LAST);
    
    return 0;
}

Unable to enable script access in VTS (Virtual Table Server)

$
0
0

I have installed Loadrunner 12.50 Community Edition and Virtual Table Server (VTS) which came along with it in 'Additional Components' folder. When I launch the url http://localhost:4000, the VTS page opens.

When I change the "Access from script" dropdown value to "Enabled", enter the API access port number and click 'Enable' button, I'm getting error message as "start_server: Invalid reponse"

I have searched in this forum and everywhere in google. But i couldn't find a solution to this. Reinstalling VTS didn't resolve the issue. Any help is very much appreciated. 

Floating point numbers multiplication in LoadRunner

$
0
0

Hi,

I have written this code to multiply 2 floating point numbers and then saving it into a parameter:

Action()
{

double i;
double q;
double result,output;
double finalOutput;
int decimals=0;
i=atof(lr_eval_string("{UnitPrice}"));
q=atof(lr_eval_string("{Quantity}"));

result=i*q;

sprintf(result,"%2f",decimals);
sprintf(finalOutput,"Value=%2f",result);

//lr_get_attrib_double(result);
lr_output_message("%s",lr_eval_string("{OutPut}"));
    
    return 0;
}

I'm getting this error message: Action.c(14): Error: C interpreter run time error: Action.c (14):  Error -- memory violation : Exception ACCESS_VIOLATION received.

Line 14: sprintf(result,"%2f",decimals);

 

Any inputs/suggestions are highly welcome.

Thanks in advance,

sroy1

 

Using an SSL Cert to connect to amazon EC2

$
0
0

Hi All,

We need to complete testing from the cloud so are going with Amazon EC2. I understand that I need a CA Cert to secure the communications.

Can someone confirm whether the Certs that the gen_ca_cert.exe creates can be used here or do I need to generate a security cert from an existing CA Cert?

My client does have a security cert that can be used, but they want me to provide an SSL Certificate Request (sometimes a .csr file?). But I can't find where to generate this.

Thanks in advance (Hopefully I get a response before these forums go read only tomorrow :))

 

Thanks, Brian.

Load Generator fail while execution in Performance Center.

$
0
0

Hi Everyone,

I encountered following problems while doing executions in HP Performance center.

Controller failed during the execution of SAP GUI scripts.

Load generators failed, reason CPU utilization for this host is above 80%.

No sooner than I started the execution, LGs started to fail .

Note:

* I restarted LGs before execution

* Cleared Temp

*Cleared MDRV logs.

*Ran scripts as thread.

Please tell me the probable reason of these problems and what should be done to avoid such problems.

 

Thanks and Regards

Bhanu Bisen


Pop up Dilalog box is not getting invoked

$
0
0

Hi Friends

 

I have an issue where am able to record creation of an event without any issue. while creating the event we invoke pop up dialog boxes where we enter details and then the event gets over. All the event is captured and recording is done

 

But while replaying the script the pop up is not getting invoked and am getting the following error

Action.c(191): Error: ctrx_sync_on_window("RIB iTWO (EN)") failed. Server IP address = 192.168.21.180:1494. The window does not exist.
The window currently in focus: "RIB iTWO 2015"

 

Refer the script as below

 

Action()
{

    web_url("Nmrcl-CtxWeb", 
        "URL=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t1.inf", 
        "Mode=HTML", 
        EXTRARES, 
        "Url=receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=custom/style.css", ENDITEM, 
        "Url=receiver/images/1x/folder_template_C13BB96DEBC9F30F.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=receiver/images/1x/CitrixReceiver_WebScreen_CBE548FB8FEE049E.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=receiver/images/common/ReceiverFullScreenBackground_46E559C0E6B5A27B.jpg", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=receiver/js/external/hammer.v2.0.2.min_5507D46265FF2372.js", ENDITEM, 
        "Url=receiver/js/external/velocity.min_51C6C258BB124409.js", ENDITEM, 
        "Url=receiver/js/external/slick.min_FEB62CC230E2BA2A.js", ENDITEM, 
        "Url=receiver/images/1x/actionSprite_531B7A6FF85CA98E.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=receiver/js/ctxs.core.min_1D6DC421BAD069AE.js", ENDITEM, 
        "Url=receiver/js/ctxs.webui.min_DE392E359134A54E.js", ENDITEM, 
        "Url=receiver/js/external/jquery.dotdotdot.min_E12BB49CEDE48AB1.js", ENDITEM, 
        "Url=custom/script.js", ENDITEM, 
        "Url=custom/strings.en.js", ENDITEM, 
        "Url=receiver/images/1x/viewSprite_B2F322BDCB824FAF.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=receiver/images/common/authspinner_B0BCD339560CA593.gif", ENDITEM, 
        "Url=Resources/Icon/L0NpdHJpeC9ObXJjbC1DdHgvcmVzb3VyY2VzL3YyL2NuaERaM0IzUjFodVIxWXZiMDFOT1ZwYVVFb3hTbVZrWjFOM1BRLS0vaW1hZ2U-?size=128", ENDITEM, 
        "Url=Resources/Icon/L0NpdHJpeC9ObXJjbC1DdHgvcmVzb3VyY2VzL3YyL1dFY3dPREZXZURaSGF6bFZXVWxhUzFkUlRtdGtRMFJIYkVodlBRLS0vaW1hZ2U-?size=128", ENDITEM, 
        LAST);

    web_add_auto_header("X-Citrix-IsUsingHTTPS", 
        "No");

    web_add_auto_header("X-Requested-With", 
        "XMLHttpRequest");

/*Correlation comment - Do not change!  Original value='E45C4EE79DC593EE798A4C6A87B8CA11' Name ='CsrfToken' Type ='ResponseBased'*/
    web_reg_save_param_regexp(
        "ParamName=CsrfToken",
        "RegExp=CsrfToken=(.*?);",
        SEARCH_FILTERS,
        "Scope=Cookies",
        "IgnoreRedirections=No",
        LAST);

    web_custom_request("Configuration", 
        "URL=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/Home/Configuration", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/xml", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t2.inf", 
        "Mode=HTML", 
        "EncType=", 
        LAST);

    web_add_auto_header("Csrf-Token",
        "{CsrfToken}");

    web_custom_request("GetDetectionTicket", 
        "URL=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/ClientAssistant/GetDetectionTicket", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/json", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t3.inf", 
        "Mode=HTML", 
        "EncType=", 
        LAST);

    web_submit_data("GetDetectionStatus", 
        "Action=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/ClientAssistant/GetDetectionStatus", 
        "Method=POST", 
        "RecContentType=application/json", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t4.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=ticket", "Value=CDT_MGi6hckSsm_DTEBaeKA8Wwln8ZJrA0XKEcbgnirfbmjylTQoiMZo34V8A6x80odx", ENDITEM, 
        LAST);

    web_add_cookie("CtxsUserPreferredClient=Native; DOMAIN=192.168.21.176");

    web_add_cookie("CtxsClientDetectionDone=true; DOMAIN=192.168.21.176");

    web_add_cookie("CtxsHasUpgradeBeenShown=true; DOMAIN=192.168.21.176");

    web_submit_data("List", 
        "Action=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/Resources/List", 
        "Method=POST", 
        "RecContentType=text/plain", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t5.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=format", "Value=json", ENDITEM, 
        "Name=resourceDetails", "Value=Default", ENDITEM, 
        LAST);

    web_custom_request("GetAuthMethods", 
        "URL=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/Authentication/GetAuthMethods", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/xml", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t6.inf", 
        "Mode=HTML", 
        "EncType=", 
        LAST);

    web_custom_request("Login", 
        "URL=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/ExplicitAuth/Login", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/vnd.citrix.authenticateresponse-1+xml", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t7.inf", 
        "Mode=HTML", 
        "EncType=", 
        EXTRARES, 
        "Url=../receiver/images/1x/CitrixStoreFront_auth_14B96BFF2B0A6FF8.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        LAST);

    lr_save_string(lr_decrypt("59105c0848e3d509ba38d288"), "PasswordParameter");

    lr_think_time(5);

    web_submit_data("LoginAttempt", 
        "Action=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/ExplicitAuth/LoginAttempt", 
        "Method=POST", 
        "RecContentType=application/xml", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t8.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=username", "Value=Ribuser", ENDITEM, 
        "Name=password", "Value={PasswordParameter}", ENDITEM, 
        "Name=saveCredentials", "Value=false", ENDITEM, 
        "Name=loginBtn", "Value=Log On", ENDITEM, 
        "Name=StateContext", "Value=", ENDITEM, 
        LAST);

    web_add_cookie("CtxsPasswordChangeAllowed=true; DOMAIN=192.168.21.176");

    web_submit_data("List_2", 
        "Action=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/Resources/List", 
        "Method=POST", 
        "RecContentType=application/json", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t9.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=format", "Value=json", ENDITEM, 
        "Name=resourceDetails", "Value=Default", ENDITEM, 
        EXTRARES, 
        "Url=../receiver/images/1x/CitrixReceiverLogo_Home_5C24BCEC5A182425.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=../receiver/images/1x/ico_search_E84E3D63D821F80D.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=../receiver/images/1x/search_close_BC5A22358E58905F.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=../receiver/images/1x/img_favorites_empty_7FBE69CFC0FDDB2D.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        LAST);

    web_custom_request("GetUserName", 
        "URL=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/Authentication/GetUserName", 
        "Method=POST", 
        "Resource=0", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t10.inf", 
        "Mode=HTML", 
        "EncType=", 
        EXTRARES, 
        "Url=../receiver/images/1x/spinner_white_auth_button_53FD5A337A529DA7.gif", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        "Url=../receiver/images/1x/spinner_5CF0D1C8A76AAC8E.png", "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM, 
        LAST);

    web_submit_data("Q29udHJvbGxlci5OTVJDTC1UZXN0", 
        "Action=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/Resources/GetLaunchStatus/Q29udHJvbGxlci5OTVJDTC1UZXN0", 
        "Method=POST", 
        "RecContentType=application/json", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t11.inf", 
        "Mode=HTML", 
        ITEMDATA, 
        "Name=createFileFetchTicket", "Value=false", ENDITEM, 
        LAST);

    ctrx_nfuse_connect("http://192.168.21.176/Citrix/Nmrcl-CtxWeb/Resources/LaunchIca/Q29udHJvbGxlci5OTVJDTC1UZXN0.ica?CsrfToken={CsrfToken}&IsUsingHttps=No&launchId=1494244273173", CTRX_LAST);

    ctrx_wait_for_event("LOGON", CTRX_LAST);

    ctrx_sync_on_window("RIB iTWO (EN)", ACTIVATE, 0, 0, 801, 601, "snapshot1", CTRX_LAST);

    ctrx_mouse_click(597, 139, LEFT_BUTTON, 0, "RIB iTWO (EN)=snapshot2", CTRX_LAST);

    lr_think_time(7);

    ctrx_mouse_click(606, 135, LEFT_BUTTON, 0, "RIB iTWO (EN)=snapshot3", CTRX_LAST);

    ctrx_sync_on_window("Create New Project", ACTIVATE, 44, 7, 713, 588, "snapshot4", CTRX_LAST);

    ctrx_type("33312", "", CTRX_LAST);

    ctrx_mouse_click(196, 119, LEFT_BUTTON, 0, "Create New Project=snapshot5", CTRX_LAST);

    ctrx_type("pewest", "", CTRX_LAST);

    lr_think_time(5);

    ctrx_mouse_click(476, 555, LEFT_BUTTON, 0, "Create New Project=snapshot6", CTRX_LAST);

    ctrx_mouse_click(476, 555, LEFT_BUTTON, 0, "Create new Project - Data transfer=snapshot7", CTRX_LAST);

    ctrx_mouse_click(476, 555, LEFT_BUTTON, 0, "Create new Project - Settings=snapshot8", CTRX_LAST);

    lr_think_time(21);

    ctrx_sync_on_window("\\Projects\\LoadRunner Test Prj\\3332 V1 (Tender) - RIB iTWO 2015", ACTIVATE, -8, -8, 1377, 785, "snapshot9", CTRX_LAST);

    ctrx_mouse_click(1346, 17, LEFT_BUTTON, 0, "\\Projects\\LoadRunner Test Prj\\3332 V1 (Tender) - RIB iTWO 2015=snapshot10", CTRX_LAST);

    ctrx_logoff(CTRX_NORMAL_LOGOFF, CTRX_LAST);

    web_add_cookie("CtxsDesktopAutoLaunchDone=no; DOMAIN=192.168.21.176");

    web_custom_request("Disconnect", 
        "URL=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/Sessions/Disconnect", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/json", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t12.inf", 
        "Mode=HTML", 
        "EncType=", 
        LAST);

    web_custom_request("Logoff", 
        "URL=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/Authentication/Logoff", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=text/plain", 
        "Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/", 
        "Snapshot=t13.inf", 
        "Mode=HTML", 
        "EncType=", 
        LAST);

    return 0;
}

working with parameters and xpath

$
0
0

Hi all,

I'd like to create an array and the reuse it in an xpath expression and taking the occurence corresponding to the virtual user number, how should I do ?

 

for example

array[1] = "....   "

array[2] =" .... "

......

 

the and xpath:

/html/body/td/div[text()=" <  array [i]  > "]

where i correspond to the virtual user number

 

 

 

Unable to record a Java applet

$
0
0

Hi,

We are using LR 12.53 version and trying to record a java applet which is using GWT with Ajax Truclient protocol.

LR is not recognising applet part and not generating any steps for applet.

Cany anyone guide me on this

 

 

Viewing all 3978 articles
Browse latest View live




Latest Images