HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Trouble with running test with log in and log out Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 162


1/16/2017
Unregistered User
Unregistered User
Posts: 162
I’m having some troubles with my test where I recorded a login, do one iteration of a test, then logout. When I run it under load, I want the login to be run once, then iterate 20 times on the inner requests, then logout.

I’ve set the login pages to On-1st, and the logout to On-last.

However, only the first iteration seems to work. The second iteration does not pass the ‘isuservalidated’ request and then all the inner requests fail with ‘not authorized’ to pages.

It’s as if the session login is lost on iteration.

I've submitted my test case, can you help?
0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 78


1/17/2017
George @StresStimulus
George @StresStimulus
Administrator
Posts: 78
I've reviewed your test case. You need to make the following configuration changes:
  • Enable cache control.
  • Set “VU restarting browsers %” to zero







  • This way the consequence of login / logout steps will appropriately persist on subsequent iterations to make everything work correctly.
    0 link






    Copyright © 2017 Stimulus Technology