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

How can I disable javascript popups/alerts in VuGen Chromium?

0
0

Hello. Please, Help. How can I disable (block) appears javascript popups/alerts window in Chromium? This window appears randomly. I use VuGen 12.53. Chromium in Vugen ver.46.0.2490.80 (64-bit), Protocol - TrueClient.  Adjusting the chromium itself does not help.


Unable to record Citrix events while working with Multiple Protocol (Citrix ICA / Web HTTP/HTML)

0
0

I am unable to record Citrix Applications published on Web portal using Multiple Protocol (Citrix ICA + Web). Web parts records properly but when I launch the published application it stops recording Citrix events. After completing the recording, last statement that I can see is

“ctrx_nfuse_connect("https://------------.com/Citrix/Store1Web/Resources/LaunchIca/Q29udHJvbGxlci5DYWxjdWxhdG9y.ica?CsrfToken={CitrixXenApp_CsrfToken}&IsUsingHttps=Yes", CTRX_LAST);”

I can record/replay with single protocol (Citrix ICA) using VuGen. Even manually, I can access/launch published application through Web portal/Web Shortcut.

I have gone through no. of blogs. I have done the basic setting, but no luck.

Can you please help me on this?

Thanks.

These are the details:

VuGen: installed on Window Server 2012 R2

Citrix Server: installed on Window Server 2012 R2

XenApp/XenDesktop: 7.9

Client Receiver: 14.X (already tried with 14.1/3/4/7)

VuGen/LoadRunner: 12.53 build 1203

Load Runner 12.00 RDP Protocol

0
0

My Dear LoadRunners,

At present i am working on RDP Protocol,  i am seeing below error while executing script on VUGen. 

Scenario: User logged into Remote Desktop, launch a windows based application and submit a ticket. While submitting a ticket, user may idle for 30 to 90 minutes in between. To replicate this, i have used think time, is it suggestable?

Any recoomended settings?

 

rdp_mouse_click("StepDescription=Mouse Click 27",
"Snapshot=snapshot_62.inf",
"MouseX=1422",
"MouseY=282",
"MouseButton=LEFT_BUTTON",
"Origin=Default",
RDP_LAST);

rdp_sync_on_image("StepDescription=Image Synchronization",
"WaitFor=Appear",
"AddOffsetToInput=Default",
IMAGEDATA,
"ImageLeft=216", "ImageTop=310", "ImageWidth=313", "ImageHeight=201", "ImageName=snapshot_194.png", ENDIMAGE,
RDP_LAST);

// IDLE Time <Create Incident>

lr_think_time(1800);

lr_start_transaction("DESCRIPTION");

rdp_mouse_click("StepDescription=Mouse Click 28",
"Snapshot=snapshot_64.inf",
"MouseX=778",
"MouseY=260",
"MouseButton=LEFT_BUTTON",
"Origin=Default",
RDP_LAST);

 

 

Log:

Action.c(146): Information relevant for customer support: Entered 'LrRdpSocketTransport::IsDataPending' with 1 msec maximum timeout.
Action.c(146): Bitmap update received.
Action.c(146): Bitmap (left=1735, top=1162, width=24, height=38) processed
Action.c(146): Information relevant for customer support: Entered 'LrRdpSocketTransport::IsDataPending' with 1 msec maximum timeout.
Action.c(146): Information relevant for customer support: Entered 'LrRdpSocketTransport::IsDataPending' with 1 msec maximum timeout.
Action.c(146): Information relevant for customer support: Entered 'LrRdpSocketTransport::IsDataPending' with 1 msec maximum timeout.
Action.c(146): Step Mouse Click 27 - clicking mouse button LEFT_BUTTON at (1422, 282)
Action.c(154): Synchronizing on image started
Action.c(154): detect score is 1, image entropy is 5.53739, match at (216, 310)
Action.c(154): Step Image Synchronization - synchronizing on image (Mode=Appear, Tolerance=Medium, Timeout=300 seconds)
Action.c(163): lr_think_time: 1800.00 seconds.
Action.c(165): Notify: Transaction "DESCRIPTION" started.
Action.c(174): Clicking mouse button started
Action.c(174): Information relevant for customer support: Entered 'LrRdpSocketTransport::IsDataPending' with 1 msec maximum timeout.
Action.c(174): Error:Connection reset by the server
Action.c(174): There was an error while Clicking mouse button
Action.c(174): Notify: Transaction "DESCRIPTION" ended with "Fail" status (Duration: 0.1862).
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.

Jenkins Integration Problem

0
0

when i called API Automation through Jenkins.

everytime run time error of license occurred. 

PFB error log:

E:\EDC Card Services
============================================================================
28/04/2017 16:30:23 Running: E:\EDC Card Services
Test is executing
Test is completed
Error: A runtime license cannot be found
Test result: Error
28/04/2017 16:31:09 Test complete: E:\EDC Card Services
-------------------------------------------------------------------------------------------------------
================================================
Run status: Job failed, total tests: 1, succeeded: 0, failures: 0, errors: 1
Error  : E:\EDC Card Services
================================================
Build step 'Execute HP tests from file system' changed build result to FAILURE
Report archiving mode is set to: ONLY_ARCHIVE_FAILED_TESTS_REPORT
Finished: FAILURE

SAP(Web+GUI) NWBC 6.0 client PL8, Certificate issue

0
0

Hello,

As soon as i start recording it keeps promoting to choose a certificate. I have pre-installed the certificate in trusted location. Also, installed it after the promote but the application does not open after login and nothing gets recorded.

Please suggest

Thank you

Sunny Khanpara

Fileupload using Rest API

0
0

Hi

I am currently developing VU Gen script for Fileupload REST API. This functionality has no UI and we need to test API with large files up to 100 MB.

So, we used

    web_add_auto_header("businessunitid","xyz");
    
    web_add_auto_header("uid","A123");
    
    web_add_auto_header("Content-Disposition","attachment");
    
    web_add_auto_header("Content-Type","multipart/form-data");

web_submit_data("Upload",
    "Action=https://abcxyz.com/upload/x1/objects",
    "Method=POST",
     "EncType=multipart/form-data",
    "TargetFrame=",
    "RecContentType=text/html",
    "Referer=",
    "Snapshot=t5.inf",
    "Mode=HTML",
    ITEMDATA,
    "Name=File", "Value=C:\\Users\\justLR\\Desktop\\testupload.jpg", "File=yes",
    ENDITEM,
    LAST );

 

 While testing API manually using CURL command, we need to give user ID, business unit ID ( Amazon S3 bucket name, where file gets uploaded), Content DIsposition as attachment, content type as multiplat/form Data.

When we used, web_custom_request ..we are getting an error with boundary ID at multipart/form-data. But, after switching to web_submit_data..there is no error with boundary ID. But, we are getting an error while uploading file to S3 bucket. The error message in server log diplays as Error during upload: Unnecessary filed occurs. Logfie is attached to showcase the error

I would like to know if there is any issed in web_submit_data.

Regarding failed web_custom_request is

    web_add_auto_header("businessunitid","xyz");
    
    web_add_auto_header("uid","A123");
    
    web_add_auto_header("Content-Disposition","attachment");
    
    web_add_auto_header("Content-Type","multipart/form-data");

web_custom_request("upload",
"URL=https://abcxyz.com/upload/x1/objects",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Snapshot=t7.inf",
"Mode=HTML",
EncType=multipart/form-data",
"BodyFilePath=C:\\Users\\justLR\\Desktop\\testupload.jpg", "File=yes"",
LAST);

 

Logfile for web_submit)data is as follows

Action.c(130): \xCA\xB1\xC8\\\x8D\xF9\x0BE\xBD\x1B\x07w \xE0b]D\xF6:g\x98R\x92\xF7V\xBE\xF7E\xA5\xFBj\xFA
Action.c(130): \xD9\xBF\xD4\xF5\xFF\x00\xDA?\xC7\x8DD\xC0\x0F\x02iZ\xAF\x8D\xE0\xE8<S\xE2\x07\x93\xC4\xB7
Action.c(130): 7z_\x85\xF4\xED\x1E\xE2\xD6\xC9\xB7CinZ\xD2\x08\xB7+\x85\x9Af\r\x9C\x87\x84\xF6\x15\xF3\xFC
Action.c(130): \xF7d\x9F\x97\x8A\xD7\xF1\xEF\xC4}[\xE2F\xA7ou\xAB\xDD\x9B\xC9\xAC\xAC\xAD\xF4\xE8H\x89#\t
Action.c(130): \x04\x11,Q T\x00aQTg\x19=I$\x93X\x126=\x7F>\xB5\x94\x9D\xDD\xCF\x170\xC5{Y\xB6\xBC\x96\xBB
Action.c(130): \xE8;\xCD\xC7'\xE9\xC6h\xA8\xB3\xF4\xEB\xDE\x8A\x93\xCB\xE7g\xFF\xD9\r\n
Action.c(130): -----------------------------7d0256b064e--\r\n
Action.c(130): t=26014ms: 541-byte response headers for "https://abcxyz.com/upload/x1/objects" (RelFrameId=1, Internal ID=12)
Action.c(130): HTTP/1.1 200 OK\r\n
Action.c(130): Cache-Control: private\r\n
Action.c(130): Pragma: private\r\n
Action.c(130): X-Powered-By: Express\r\n
Action.c(130): Content-Type: text/html; charset=utf-8\r\n
Action.c(130): Content-Length: 78\r\n
Action.c(130): ETag: W/"4e-EyOMl7AHFyABCDSEFiMDcNkU"\r\n
Action.c(130): Vary: Accept-Encoding\r\n
Action.c(130): Keep-Alive: timeout=10, max=100\r\n
Action.c(130): Connection: Keep-Alive\r\n
Action.c(130): \r\n
Action.c(130): t=26016ms: 78-byte response body for "https://abcxyz.com/upload/x1/objects" (RelFrameId=1, Internal ID=12)
Action.c(130): Status Code: ERR401 and Status Description: Error in uploading object into S3
Action.c(130): HANDLE_CLOSING" on behalf of "URL="https://abcxyz.com/upload/x1/objects" [MsgId: MMSG-27397]
Action.c(130): web_submit_data("Upload") was successful, 72 body bytes, 541 header bytes [MsgId: MMSG-26386]

Questions about websockets and authentication

0
0

Hello All!

I am new with websockets and the logic to use them on the HTTP protocol. I was able to record them and I see the custom API's created by the recording.

However, when the first web_sockect_connect is attempted, the error I got is completely unrelated (or it is what I think): "Error -26547: Authentication required, please use 'web_set_user....' "

I tried to do the simplest connection, but is not reaching any of the OnOpenCB, OnMessageCB or OnErrorCB functions.

Usually, these errors are related with proxy. However, I reviewed the browser setup and there is nothing related to proxy or vpn. It's a direct conneciton.

Finally, I just wanted to check if the script was dependent of those calls. I commented them out and the script works without problems. Therefore, not sure why this errors pops up. I just know is related with the websocket call.

Could someone give me a hint on what is going on?

I appreciate the help!

Regards

 

Unable to generate req in VuGen 12.53 for SAP BPC AO Application

0
0

The Sap web based portal Application is developed using SAP Portal, UI5 , Analysis for Office (Excel)
The flow mentioned below for better understanding
An end user access the Apllication Portal URL, and log in to the Application Portal
After navigating through different links on the Portal, the end user opens/ downloads and excel file from the Portal.This excel file is developed using Analysis for Office (Excel).
The end user updates some data fields (changes some data) in this just opened excel file and saves the excel file. The user logs out from the Portal
Next time , when the end user access the Portal and opens the excel file from the Portal Site, the excel file opens with last modified data

Now Vugen can't capture req for the excel part using HTTP protocol. I tried recording with Wireshark to understand the type of req, it looks like the excel part generates TCP req. Can you pls suggest here?


Action.c(210): Error: ctrx_sync_on_window("RIB iTWO 2015") failed. Server IP address = 192.168.21.18

0
0

Hi 

 

Am getting the following error while replaying the script

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/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/external/velocity.min_51C6C258BB124409.js", ENDITEM,
"Url=receiver/js/external/slick.min_FEB62CC230E2BA2A.js", 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/L0NpdHJpeC9ObXJjbC1DdHgvcmVzb3VyY2VzL3YyL2NuaERaM0IzUjFodVIxWXZiMDFOT1ZwYVVFb3hTbVZrWjFOM1BRLS0vaW1hZ2
U-?size=128", ENDITEM,

"Url=Resources/Icon/L0NpdHJpeC9ObXJjbC1DdHgvcmVzb3VyY2VzL3YyL1dFY3dPREZXZURaSGF6bFZXVWxhUzFkUlRtdGtRMFJIYkVodlBRLS0vaW1hZ2
U-?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='5D3E34DA884A513AA8EEA26E239B513A' 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_vXANNkQL40MxUi9lalmE_wln8ZJrA0XKEcbgnirfbmjylTQoiMZo34V8A6x80odx", 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("590875fa352735061c2ceaf2"), "PasswordParameter");

lr_think_time(6);

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,
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/img_favorites_empty_7FBE69CFC0FDDB2D.png",
"Referer=http://192.168.21.176/Citrix/Nmrcl-CtxWeb/receiver/css/ctxs.large-ui.min_77F67A01D0A24AF1.css", ENDITEM,
"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=1493714961194",
CTRX_LAST);

ctrx_wait_for_event("LOGON", CTRX_LAST);

web_revert_auto_header("Csrf-Token");

web_revert_auto_header("X-Citrix-IsUsingHTTPS");

web_revert_auto_header("X-Requested-With");

lr_think_time(295);

web_url("crl-set-delta-3703-15330727162071149835.crx.data",
"URL=http://www.gstatic.com/chrome/crlset/3704/crl-set-delta-3703-15330727162071149835.crx.data",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t12.inf",
"Mode=HTML",
LAST);

lr_think_time(57);

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

ctrx_mouse_click(33, 575, LEFT_BUTTON, 0, "RIB iTWO 2015=snapshot2", CTRX_LAST);

lr_think_time(4);

ctrx_mouse_click(85, 461, LEFT_BUTTON, 0, "RIB iTWO 2015=snapshot3", CTRX_LAST);

ctrx_mouse_click(179, 481, LEFT_BUTTON, 0, "RIB iTWO 2015=snapshot4", CTRX_LAST);

ctrx_mouse_double_click(253, 438, LEFT_BUTTON, 0, "RIB iTWO 2015=snapshot5", CTRX_LAST);

lr_think_time(4);

ctrx_mouse_double_click(251, 437, LEFT_BUTTON, 0, "RIB iTWO 2015=snapshot6", CTRX_LAST);

lr_think_time(45);

ctrx_sync_on_window("\\Projects\\PTR\\PT4 V3 (Execution) - RIB iTWO 2015", ACTIVATE, -8, -8, 1377, 785,
"snapshot7", CTRX_LAST);
lr_think_time(30);

ctrx_mouse_click(48, 185, LEFT_BUTTON, 0, "\\Projects\\PTR\\PT4 V3 (Execution) - RIB iTWO 2015=snapshot8",
CTRX_LAST);

ctrx_mouse_click(63, 204, LEFT_BUTTON, 0, "\\Projects\\PTR\\PT4 V3 (Execution) - RIB iTWO 2015=snapshot9",
CTRX_LAST);

ctrx_mouse_double_click(162, 521, LEFT_BUTTON, 0, "\\Projects\\PTR\\PT4 V3 (Execution) - RIB iTWO
2015=snapshot10", CTRX_LAST);

lr_think_time(8);

ctrx_sync_on_window("RIB iTWO 2015_2", ACTIVATE, 516, 292, 329, 186, "snapshot11", CTRX_LAST);

ctrx_mouse_click(156, 148, LEFT_BUTTON, 0, "RIB iTWO 2015_2=snapshot12", CTRX_LAST);

lr_think_time(29);

ctrx_sync_on_window("\\Projects\\PTR\\PT4 V3 (Execution) - EOC Building Europe Outsour", ACTIVATE, -8, -8, 1377,
785, "snapshot13", CTRX_LAST);

ctrx_mouse_click(390, 266, LEFT_BUTTON, 0, "\\Projects\\PTR\\PT4 V3 (Execution) - EOC Building Europe
Outsour=snapshot14", CTRX_LAST);

ctrx_mouse_click(378, 282, LEFT_BUTTON, 0, "\\Projects\\PTR\\PT4 V3 (Execution) - EOC Building Europe
Outsour=snapshot15", CTRX_LAST);

ctrx_logoff(CTRX_NORMAL_LOGOFF, CTRX_LAST);

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

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

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

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

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=t13.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=t14.inf",
"Mode=HTML",
"EncType=",
LAST);

return 0;

 

 

 

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

Please help me how to rectify the error

Appreciate your thoughts and help

PS: Script attached

 

Long time lapsed between Click Start and End

0
0

Hi,

I have a TruClient step that perform a Click with end event set to 'Action Complete'. 
I ran the test script for 5 iterations with only one vuser. During one of the iteration run, I observed there is a 10 seconds time lapsed between the start and end of the Click event.  See Iteration 2 below. Rest of the iterations took about 2 seconds only, The Object Identification for the Click object is using xpath. 

Does anyone know why there is a signifcant time lapse to perform the click during iteration 2? What are the factors that can affect the time to perform the click considering that it is much slower in one iteration? As said, the end event is 'Action Completed', NOT waiting for object or any network end event. 

Also, is the time taken for TruClient to locate the object included in the transaction response time, or is it considered as wasted time?

Iteration 1:   2646ms
t=00397317ms: ** 16.3: Click on Collapse All Nodes ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00399963ms: ** 16.3: Click on Collapse All Nodes ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]

Iteration 2:   10968ms
t=00709137ms: ** 16.3: Click on Collapse All Nodes ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00720106ms: ** 16.3: Click on Collapse All Nodes ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]: 

Iteration 3:   2416ms
t=01052554ms: ** 16.3: Click on Collapse All Nodes ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=01054970ms: ** 16.3: Click on Collapse All Nodes ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]

Thanks!
Jason

Load Runner - Web tours application

0
0
While trying to start the web server for Mercury tours application, an error related to Port 1080 already in use by another server appears. Due to this, unable to run the mercury tours application.

Kindly let me know how to free the port or start the server

receiving Z_DATA_ERROR during script replay in LR814

0
0
During replaying a script, we are getting an error and the script fails.
The error message is as follows:

Action.c(228): Error -26601: Decompression function (wgzMemDecompressBuffer) failed, return code=-3 (Z_DATA_ERROR), inSize=1353, inUse=0, outUse=0, Snapshot Info [MSH 0 24] [MsgId: MERR-26601]

Please help us in solving the problem.

HP LoadRunner 12.50 - Load Generator Patch 1 Silent installation Command line-in not working

0
0

Hi i have many LG server need to upgrade Patch ( LRLG_00128.exe ) 

what is the silent installation command line?? 

i tried   

.....\ LRLG_00128.exe /s 

.....\ LRLG_00128.exe /q

.....\ LRLG_00128.exe /quiet

.....\ LRLG_00128.exe /s /a /s 

and many.... 

 

the /? telling me to use /q.  but it is not working at all

while i try /s , it only skip untill the last confirmation part of the wizard.  

==========================

" Please read the following informatioin before continueing the installation. 
xxxxxxx
Install  |  Cancel

==========================

 

 

How do i "really" perform silent installation ?? 

 

load runner truclient browser setup

0
0

Hi i'm using Load runner truclient Protocol and when i was executing tests i abserve that the browsers running background are 32-bit.

So, can we use 64-bit instead of 32-bit?

Re: HP Virtual Generator issue in Windows 10

0
0

Hello , I have installed LR 12.53 and my operating system is Windows 10 Pro. The problem is when I am recording using HTTP protocol its not showing the script. Any help is appereciated .


Performance Metrics to be collected

0
0

Hi...

  I am in Learning curve about performance engineering and need clarity regarding the Performance Metrics to be collected during the LoadTest.

   Could anyone please share the OS level and Application level metrics to be collected for PHP, JAVA and dotNet applications, while running the LoadTest.

 And please clarify me that, are the metrics same for all or differes based on the technology the application is developed?

  Thanks in Advance.

Failed to connect to server, connection refused in loadrunner.

0
0

Hey Everyone,

I am using SAP Web protocol.

My scripts ran fine till yesterday, but today I am getting following error.

"failed to connect to server<Server Name>", "connection refused" while I am trying to replay the script.

Can anyone tell what cousl be the cause of such kind of error and resolution for this.

Thanks and Regards

Bhanu Bisen

Authentication failed because the remote party has closed the transport stream

0
0

hi everyone

I'm use HTTP protocal in proxy mode to record native app from tablet (HTTPS TLS 1.2).

when i recorded, the tablet can work normally but vugen cannot record anything and show [Proxy Recording.Error (14b4:1748)] Exception is caught while trying to connect to xxxxx, message=Authentication failed because the remote party has closed the transport stream.

  • LR 12.53 HTTP/HTML Protocal Proxy mode SSL TLS1.2
  • already install Certificate (webserver) in tablet and my machine
  • already install Certificate (client-proxy) in tablet and my machine
  • both device use same WIFI network

i have no idea why tablet can work fine but LR show Authentication failed because the remote party has closed the transport stream. 

please help me.

Thanks in Advance.

IVR Load Testing - Data Synergy & LR 12.50

0
0

Greetings! 

Am currently working in IVR system via Session Manager(Simulating Outbound Call)  with Load Runner & Data Synergy using .Net Protocol.

During script replay am facing below issue,

End System(i.e., Session Manager) which requires a static port communication(defined already in the system), whereas my script sends a request with dynamic ports everytime which results in failure in replay.

Is it possible in .Net Protocol Scripting to allocate a static port to the sending request to Session Manager/any Endsystem.

Appreciate the support. 

 

using parameters in strings in TC 12.53

0
0

Is there a full tutorial that SHOWS TruClient gui syntax examples!? This protocol is most frustrating to use if you are an old LR code dog. I am well versed in LR parameters and usage in a variety of protocols but can't figure out this basic usage in 12.53: logically I want to LOG the value of the {password} parameter, as in:

password: bean

I have create a single (custom) parameter in the vuGen Parameter List:  password, and assigned it a single value: bean:

param.jpg

But the following GUI step fails (and I have tried several variations that all also fail); by fail I mean the step executes but it logs the string literal  TC.getParam("password") rather than logging the value of the password parm (bean):

TC.log.jpg

What is the correct method AND syntax to do this? Also, how then do I concatenate the prefix string "password: " to the value? (I thought it should be "password: " + TC.getParam("password") but I am just not catching the notion of this protocol's syntax and it features, thats for sure).

-Thanks, Terry Horwath

 

 

Viewing all 3978 articles
Browse latest View live




Latest Images