HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Script failing on subsequent iterations Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 509


4/2/2023
Unregistered User
Unregistered User
Posts: 509
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
George @StresStimulus
Administrator
Posts: 555


4/2/2023
George @StresStimulus
George @StresStimulus
Administrator
Posts: 555
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 © 2024 Stimulus Technology