Highlighted
Absent Member.
Absent Member.
1571 views

Getting "Error -205177: APIError: The system cannot find the path specified." in Performance center

Hi,

I am getting the following error while running trueClient script in performance center 12.5. This error is not seen while ruuning script in Vugen:

Error -205177: APIError: The system cannot find the path specified.

Details:

Vugen- LR v.12.5

Protocol- TrueClient Web Protocol, Chromium browser

Application tested- Just login and logout part of internal application.

User_id's used for all vusers is same. The error is not consistent for a specified step. Some Vuser are running without giving any error at all . Kindly help me resolve the issue.

 

Log file: 

Virtual User Script started at : 2017-04-06 13:26:52 [MsgId: MMSG-205068]
TruClient Replay for LoadRunner 12.53.0, build 1203. OS: Windows 2008 R2, Browser: Chromium, initialized on 2017/04/06 at 13:26:46 (0000.000s)
[MsgId: MMSG-204898]
Selected Run-Time Settings: [MsgId: MMSG-204896]
Simulate a new user on each iteration...............: 1 [MsgId: MMSG-204894]
AUTOMATIC proxy configuration (PAC) URL.............: "http://pac.prod.proxy.cargill.com:4200/proxy.pac" [MsgId: MMSG-204885]
Check for newer versions of stored pages: 4 (Automatically) [MsgId: MMSG-204880]
Keep-Alive..........................................: 1 [MsgId: MMSG-204875]
Proxy Keep-Alive....................................: 1 [MsgId: MMSG-204874]
Keep-Alive timeout (ms).............................: 60000 [MsgId: MMSG-204873]
HTTP Version........................................: 1.1 [MsgId: MMSG-204871]
Proxy HTTP Version..................................: 1.1 [MsgId: MMSG-204870]
DNS cache entries...................................: 20 [MsgId: MMSG-204868]
Run-Time Settings file..............................: "C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\netdir\C\Program Files (x86)\HP\Performance Center Host\Temp\lr5tmpdirRok.672\lrcfgYAR.673\cfgAKT.678" [MsgId: MMSG-204867]
Vuser directory.....................................: "C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\ACCP212\ACCP211" [MsgId: MMSG-204866]
Vuser output directory..............................: "C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\ACCP212\ACCP211" [MsgId: MMSG-204865]
End of selected Run-Time Settings
[MsgId: MMSG-204895]
Please refer to the ReadMe file in the LoadRunner installation directory for notes about measurements and logging [MsgId: MMSG-204864]
Running Vuser... [MsgId: MMSG-205064]
Starting iteration 1. [MsgId: MMSG-15968]
t=00016774ms: ** 2: Navigate to "https://portal-test.car....com/irj/portal" ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00018394ms: ** 2: Navigate to https://portal-test.cargill.com/irj/portal ** successfully completed with end event 'Document Loaded' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00018903ms: ** 3: Click on Cancel button ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00019835ms: ** 3: Click on Cancel button ** successfully completed with end event 'Step synchronous network completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
Notify: Transaction "Login" started. [MsgId: MMSG-16999]
t=00019835ms: ** 4: Log On ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00020247ms: ** 4.1: Type TC.getParam("UserName") in User * textbox ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00022989ms: ** 4.1: Type YT_CAR02 in User * textbox ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00023505ms: ** 4.3: Type ************* in Password * passwordbox ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00028971ms: ** 4.3: Type ************* in Password * passwordbox ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00028982ms: ** 4.4: Rendezvous login ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
Rendezvous login [MsgId: MMSG-17988]
t=00031569ms: ** 4.4: Rendezvous login ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00032096ms: ** 4.5: Click on Log On button ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00034832ms: ** 4.5: Click on Log On button ** successfully completed with end event 'Step synchronous network completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00034834ms: ** 4: Log On ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
Notify: Transaction "Login" ended with a "Pass" status (Duration: 15.0180 Wasted Time: 2.8940). [MsgId: MMSG-16871]
t=00034843ms: ** 5: Mouse Over ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00035298ms: ** 5.2: Move mouse over My Work ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00038621ms: ** 5.2: Move mouse over My Work ** successfully completed with end event 'Step synchronous network completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00038625ms: ** 5: Mouse Over ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00038629ms: ** 6: Wait for Home ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00038876ms: ** 6: Wait for Home ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00039386ms: ** 7: Click on My Work ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00039952ms: ** 7: Click on My Work ** successfully completed with end event 'Step network completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00039954ms: ** 9: Wait for Freight Quotations ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00063298ms: Error -205177: APIError: The system cannot find the path specified.
,error detail: function=writeConvert, filename=C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\netdir\C\Program Files (x86)\HP\Performance Center Host\orchidtmp\Results\PERFCTR_Tartan_PerformanceTesting_1109\Run_1109\res1109\log\accp21_6\Chromium\Run Block\Iteration1\Action\0\9-step-{75d8e4fb-2645-8ea5-736d-8e14a4591b54}-error.png
APIError
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:13:36
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:320:3
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="chrome/on-native-msg/writeConvert" target="[object Object]"], handler=
addOnetimeEventListener: type=chrome/on-native-msg/writeConvert, function=function (response) {
var asyncMsgObj = TC_NS.NativeBridge.asyncMsgObjDict[msgType].shift();
handleResponse(response, asyncMsgObj.callback, asyncMsgObj.responseType, asyncMsgObj.throwExactError);

if (TC_NS.NativeBridge.asyncMsgObjDict[msgType].length == 0) {
delete TC_NS.NativeBridge.asyncMsgObjDict[msgType];
} else {
sendOneMsgAsync(msgType);
}
} Snapshot Info [MSH 1 0] [MsgId: MERR-205177] [MsgId: MERR-205177]
t=00063500ms: Error -205177: ** 9: Wait for Freight Quotations ** failed - target object was not found. Snapshot Info [MSH 1 0] [MsgId: MERR-205177] [MsgId: MERR-205177]
t=00064059ms: ** 10: Click on Freight Quotations ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00064682ms: ** 10: Click on Freight Quotations ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00065189ms: ** 12: Click on Freight Requests for... menuitemradio ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00086296ms: Error -205177: APIError: The system cannot find the path specified.
,error detail: function=writeConvert, filename=C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\netdir\C\Program Files (x86)\HP\Performance Center Host\orchidtmp\Results\PERFCTR_Tartan_PerformanceTesting_1109\Run_1109\res1109\log\accp21_6\Chromium\Run Block\Iteration1\Action\0\12-step-{4aebad6a-9428-c8e5-1928-f675eb31b8db}-error.png
APIError
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:13:36
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:320:3
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="chrome/on-native-msg/writeConvert" target="[object Object]"], handler=
addOnetimeEventListener: type=chrome/on-native-msg/writeConvert, function=function (response) {
var asyncMsgObj = TC_NS.NativeBridge.asyncMsgObjDict[msgType].shift();
handleResponse(response, asyncMsgObj.callback, asyncMsgObj.responseType, asyncMsgObj.throwExactError);

if (TC_NS.NativeBridge.asyncMsgObjDict[msgType].length == 0) {
delete TC_NS.NativeBridge.asyncMsgObjDict[msgType];
} else {
sendOneMsgAsync(msgType);
}
} Snapshot Info [MSH 1 1] [MsgId: MERR-205177] [MsgId: MERR-205177]
t=00086645ms: Error -205177: ** 12: Click on Freight Requests for... menuitemradio ** failed - target object was not found. Snapshot Info [MSH 1 1] [MsgId: MERR-205177] [MsgId: MERR-205177]
t=00086658ms: ** 13: Wait for Search textbox ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00107467ms: Error -205177: APIError: The system cannot find the path specified.
,error detail: function=writeConvert, filename=C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\netdir\C\Program Files (x86)\HP\Performance Center Host\orchidtmp\Results\PERFCTR_Tartan_PerformanceTesting_1109\Run_1109\res1109\log\accp21_6\Chromium\Run Block\Iteration1\Action\0\13-step-{e34f4d76-cb3d-1785-b110-7b5840867f83}-error.png
APIError
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:13:36
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:320:3
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="chrome/on-native-msg/writeConvert" target="[object Object]"], handler=
addOnetimeEventListener: type=chrome/on-native-msg/writeConvert, function=function (response) {
var asyncMsgObj = TC_NS.NativeBridge.asyncMsgObjDict[msgType].shift();
handleResponse(response, asyncMsgObj.callback, asyncMsgObj.responseType, asyncMsgObj.throwExactError);

if (TC_NS.NativeBridge.asyncMsgObjDict[msgType].length == 0) {
delete TC_NS.NativeBridge.asyncMsgObjDict[msgType];
} else {
sendOneMsgAsync(msgType);
}
} Snapshot Info [MSH 1 2] [MsgId: MERR-205177] [MsgId: MERR-205177]
t=00107807ms: Error -205177: ** 13: Wait for Search textbox ** failed - target object was not found. Snapshot Info [MSH 1 2] [MsgId: MERR-205177] [MsgId: MERR-205177]
t=00108324ms: ** 15: Click on Search textbox ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00129147ms: Error -205177: APIError: The system cannot find the path specified.
,error detail: function=writeConvert, filename=C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\netdir\C\Program Files (x86)\HP\Performance Center Host\orchidtmp\Results\PERFCTR_Tartan_PerformanceTesting_1109\Run_1109\res1109\log\accp21_6\Chromium\Run Block\Iteration1\Action\0\15-step-{f1b017ff-4c10-157a-ab59-fc26eb77fc80}-error.png
APIError
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:13:36
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:320:3
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="chrome/on-native-msg/writeConvert" target="[object Object]"], handler=
addOnetimeEventListener: type=chrome/on-native-msg/writeConvert, function=function (response) {
var asyncMsgObj = TC_NS.NativeBridge.asyncMsgObjDict[msgType].shift();
handleResponse(response, asyncMsgObj.callback, asyncMsgObj.responseType, asyncMsgObj.throwExactError);

if (TC_NS.NativeBridge.asyncMsgObjDict[msgType].length == 0) {
delete TC_NS.NativeBridge.asyncMsgObjDict[msgType];
} else {
sendOneMsgAsync(msgType);
}
} Snapshot Info [MSH 1 3] [MsgId: MERR-205177] [MsgId: MERR-205177]
t=00129552ms: Error -205177: ** 15: Click on Search textbox ** failed - target object was not found. Snapshot Info [MSH 1 3] [MsgId: MERR-205177] [MsgId: MERR-205177]
t=00130072ms: ** 24: Click on Log off ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00130763ms: ** 24: Click on Log off ** successfully completed with end event 'Step synchronous network completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00131271ms: ** 25: Click on Yes ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00131766ms: ** 25: Click on Yes ** successfully completed with end event 'Step network completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00132275ms: ** 26: Activate browser window #2 ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00132448ms: ** 26: Activate browser window #2 ** successfully completed with end event 'Step synchronous network completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00132965ms: ** 27: Activate tab #1 ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00133189ms: ** 27: Activate tab #1 ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00133695ms: ** 28: Activate browser window #1 ** started [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00133829ms: ** 28: Activate browser window #1 ** successfully completed with end event 'Action completed' [MsgId: MMSG-205180] [MsgId: MMSG-205180]
t=00134006ms: Error -205177: APIError: The system cannot find the path specified.
,error detail: function=writeConvert, filename=C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\netdir\C\Program Files (x86)\HP\Performance Center Host\orchidtmp\Results\PERFCTR_Tartan_PerformanceTesting_1109\Run_1109\res1109\log\accp21_6\Chromium\Run Block\Iteration1\\0\2.1-step-{1a376c2a-fd42-fc1d-8822-0ff8d2045a1c}-error.png
APIError
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:13:36
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:320:3
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="chrome/on-native-msg/writeConvert" target="[object Object]"], handler=
addOnetimeEventListener: type=chrome/on-native-msg/writeConvert, function=function (response) {
var asyncMsgObj = TC_NS.NativeBridge.asyncMsgObjDict[msgType].shift();
handleResponse(response, asyncMsgObj.callback, asyncMsgObj.responseType, asyncMsgObj.throwExactError);

if (TC_NS.NativeBridge.asyncMsgObjDict[msgType].length == 0) {
delete TC_NS.NativeBridge.asyncMsgObjDict[msgType];
} else {
sendOneMsgAsync(msgType);
}
} Snapshot Info [MSH 1 4] [MsgId: MERR-205177] [MsgId: MERR-205177]
t=00134182ms: Error -205177: APIError: The system cannot find the path specified.
,error detail: function=writeConvert, filename=C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\netdir\C\Program Files (x86)\HP\Performance Center Host\orchidtmp\Results\PERFCTR_Tartan_PerformanceTesting_1109\Run_1109\res1109\log\accp21_6\Chromium\Run Block\Iteration1\\0\2-step-{Run-Block0000-0000-0000-000000000000}-error.png
APIError
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:13:36
at chrome-extension://opmdjnhpgoamlkjpphnnhohdcgnimbbj/RRE/content/infra/Utils.js:320:3
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="chrome/on-native-msg/writeConvert" target="[object Object]"], handler=
addOnetimeEventListener: type=chrome/on-native-msg/writeConvert, function=function (response) {
var asyncMsgObj = TC_NS.NativeBridge.asyncMsgObjDict[msgType].shift();
handleResponse(response, asyncMsgObj.callback, asyncMsgObj.responseType, asyncMsgObj.throwExactError);

if (TC_NS.NativeBridge.asyncMsgObjDict[msgType].length == 0) {
delete TC_NS.NativeBridge.asyncMsgObjDict[msgType];
} else {
sendOneMsgAsync(msgType);
}
} Snapshot Info [MSH 1 4] [MsgId: MERR-205177] [MsgId: MERR-205177]
Ending iteration 1. [MsgId: MMSG-15965]
Action was aborted. [MsgId: MMSG-10694]
Ending Vuser... [MsgId: MMSG-205066]
Vuser Terminated. [MsgId: MMSG-205063]

0 Likes
1 Reply
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Getting "Error -205177: APIError: The system cannot find the path specified." in Perfo

Hi,

You mentioned you are using PC 12.50, which patch level?

According to the log the script fails at this step: t=00039954ms: ** 9: Wait for Freight Quotations.

Please run the script in VuGen but before replay reduce the size of the application window to a much small size. I believe the failure happens because the screen resolution is much smaller when running the script from Perfromance Center. Performance Center runs the Vusers under service configuration by default. Services desktop is small in resolution and as a result applications that use response design render differently between replay on your desktop and in the Load Generator.

If you reproduce the issue on your VuGen machine in smaller window size, solve it in the script level and try running again from PC.

BTW: this issue has been fixed or at least significantly improved in 12.53

Regardless to the above....

You need to modify the temp folder confiuguation on the Load Generator from C:\Windows\temp to C:\temp or other short path. The path under which the snapshot on error is being written is longer than the Windows limit and as a result it fails to be created.

295 characters while the limit is 260
C:\Program Files (x86)\HP\Load Generator\Temp\brr_DOK.866\netdir\C\Program Files (x86)\HP\Performance Center Host\orchidtmp\Results\PERFCTR_Tartan_PerformanceTesting_1109\Run_1109\res1109\log\accp21_6\Chromium\Run Block\Iteration1\Action\0\9-step-{75d8e4fb-2645-8ea5-736d-8e14a4591b54}-error.png

Regards,

Shlomi

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.