Answered question

Session and cache seems not managed ?

Hello All,
I am scripting a test application (web).
I setup the runtime parameters "Reset user session and emulate new browser between each iteration" = Yes
But the execution of my script is working once.
After, I have response : "Session Expired" on all actions

How can we ask Neoload to clean the cache avec each iteration ?

Eric N.
Eric N.

Eric N.

Level
0
80 / 100
points
Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

If you use the option to reset the session between each iteration then all user information like cookies, cache, variables are reset. That's why you get that "Session Expired" error.

If you only want to reset cache between iterations then the best is to set the Reset of user session option to "No" and put at the end of your Actions container a Javascript containing the following call:

context.currentVU.clearCache();

 

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful

Other answers

Eric N.
Eric N.

Eric N.

Level
0
80 / 100
points

Thanks a lot Nouredine.
It's working now.