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.

Parents
  • 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

Reply
  • 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

Children