Unanswered question

How do I simulate a browser close in between test users?

My JDE Test Users are keeping active sessions to the servers, even after successful log off. I need to simulate a 'browser close' at the end of each users itineration. How can I?

Dave N.
Dave N.

Dave N.

Level
0
39 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

If your whole script is inside the Actions container in NeoLoad and the Reset user session option is set to either Yes or Auto at the Actions container level, then it should be enough to simulate a browser closed.

Otherwise if you designed your script in a different manner then you can still use a NeoLoad Javascript where you have a clearCookies() method if the session is maintened by session cookie.

A link from the NeoLoad documentation here