Highlighted
Absent Member.
Absent Member.
406 views

Ajax TruClient : Error When logoff and relogin in same iteration

Its like

Homepage--> Login --> dashboard-->logoff-->homepage 2-->login 2--> dashboard 2 --> Logoff 2

This all is single iteration , this is just to check response time impact of cache.

however truclient script is failing at dashboard 2 with some 500 technical error while manually its working well.

any guess why this is happeneing ? anything to be taken care to make it working

Thanks
Ani.

0 Likes
2 Replies
Highlighted
Super Contributor.
Super Contributor.

Re: Ajax TruClient : Error When logoff and relogin in same iteration

Hi Anl,

Which browser you are using?

Maybe this is related to the cookie or cache setting. if so, you can use step "evaluate javascript code" to call TruClient api, Utils.clearCookies(); or Utils.clearCache()

 

e.g. Homepage--> Login --> dashboard-->logoff-->Utils.clearCookies(); Utils.clearCache(); -->homepage 2-->login 2--> dashboard 2 --> Logoff 2

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Ajax TruClient : Error When logoff and relogin in same iteration

if the goal is to validate how much time it takes while static resources are downloaded from the cache then it is better not to use clearCookies and clearCache before doing the second round.

Can you please share a snapshot of the error you get?

Can you please share the Vuser log file?

Thanks,

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.