RandiO wrote:Good morning.
How does eValid handle websites with persistent session cookies?
Thanks in advance.
Thanks for asking about persistent session cookies RandiO.
A persistent session cookie, unlike a normal cookie, which is being saved in the cache, cannot be eliminated by simply deleting the cache/cookies during an eValid playback.
To dismiss such cookies, the browser must be closed and opened up again for a new session cookie to be sent to the browser.
This can cause playback problems during LoadTest since the cookie tricks the server into seeing that the LoadTest being run is only a single user trying to access the application since it is using the same cookie.
eValid has a LoadTest command which allows each browser instance in the LoadTest being run to respawn a replacement browser a specified number of times during playback.
The value is given in the eValid preferences.
To set the number of respawn times during a LoadTest, follow these simple steps:
(1) Access the eValid LoadTest Preferences menu by clicking on "Settings > Record/Play Preferences" and selecting the "Load Testing" option.
(2) Enter the number of times you wish eValid to respawn a new copy of the browser during a LoadTest.
(3) Click on "Save"
As soon as the LoadTest is executed, each eValid browser instance will automatically close at the end of the number of runs specified in the preferences and will automatically respawn to continue playback.
This effectively removes the persistent session cookie that is present during playback.
-- eValid Support