-1

在记录 Web 应用程序 Google Chrome/Firefox 实例时在 Loadrunner Truclient 协议中以隐身模式打开,但问题是我的应用程序无法在隐身模式下工作。

我的应用程序仅在 Google Chrome/Firefox 实例的正常模式下运行良好。

在使用 truclient 录制期间,谁能告诉我如何将 Chrome/Firefox 实例从隐身模式更改为正常模式。

4

2 回答 2

2

您已经在官方产品论坛上发布了这个问题(https://community.softwaregrp.com/t5/LoadRunner-Practitioners-Forum/Urgent-Truclient-chrome-instance-is-opening-in-Incognito-mode/mp/1624503 ) 并得到了 TruClient 协议的主要开发人员的回复。

他的回答是:

TruClient runs the browser in Incognito/Privacy mode to allow separation of 
Vusers during a load test.

This cannot be disabled or changed.

Perhaps you can elaborate on why your application is not working in these 
modes, so we can try to find a workaround.

接着

Some browser features behave differently in privacy mode.

For example, IndexedDB cache mechanism is not implemented in Firefox 
private mode [See the bug in Mozilla]

https://bugzilla.mozilla.org/show_bug.cgi?id=781982

From the error you mentioned, it seems this is related a similar browser issue. 

As mentioned before, it is not possible to run TruClient in non-private mode.
于 2017-12-03T09:16:32.370 回答
0

解决方法:在单个操作系统实例中运行一个完整的 GUI 虚拟用户。在专用操作系统实例上为每个业务流程运行其中一个。使用 API 级别 (HTTP) 虚拟用户运行剩余的负载。

于 2017-12-03T17:43:52.273 回答