在记录Web应用程序时,在Loadrunner Truclient协议中,Google Chrome / Firefox实例正在以隐身模式打开,但问题是我的应用程序无法以隐身模式运行。
我的应用程序仅在Google Chrome / Firefox实例的正常模式下正常运行。
有没有人可以在使用truclient录制时告诉我如何将Chrome / Firefox实例从隐身模式更改为普通模式。
答案 0 :(得分:2)
您已在官方产品论坛(https://community.softwaregrp.com/t5/LoadRunner-Practitioners-Forum/Urgent-Truclient-chrome-instance-is-opening-in-Incognito-mode/m-p/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.
答案 1 :(得分:0)
解决方法:在单个操作系统实例中运行一个完整的GUI虚拟用户。在专用OS实例上运行其中一个业务流程。使用API级别(HTTP)虚拟用户运行剩余的负载。