Need help with StresStimulus? Start here.
Script failing on subsequent iterations
Unregistered User Posts: 514
4/2/2023
|
In one of our application, once we logout of application we land up in a landing page. Next time when the user launches the application without clearing the cache, the same landing page is shown. But when the user tries to launch the application after clearing the cache the actual login screen will be shown. When we try to replicate same scenario of clearing the cache after every logout by setting the cache control to “Disabled” as shown in the below snapshot, we are still landing up on the landing page and all our scripts are failing every time after the first iteration. Is it a right way of clearing the cache or is there any other alternative to clear the cache after every logout?
|
|
0
link
|
George @StresStimulus Administrator Posts: 568
4/2/2023
|
The reason that the script is failing on subsequent iterations is probably that, by default, the HTTP session persists between iterations. To clear the HTTP session between subsequent iterations, set the Cookie correlation scope property to None as described https://support.stresstimulus.com/display/doc57/Test+Case%3A+Session+Persistence
|
|
0
link
|
Copyright © 2025 Stimulus Technology