Unanswered question

How to logout a virtual user in every 45 mins and login back to handle sso session(in neoload 7.5)

There is a requirement to execute an endurance test (for 8 hours) for my application, which is having an sso login and the token validity is only for 1 hour.

In my script, the login and logout requests are put in Init and End.

So whenever the test passes 1 hour, errors started to appear due to sso token expiry.

Please suggest how can I customize the script in such a way that each Vuser logsout and logsin in every 45 mins (to avoid the errors due to token expiry)

Rakesh V.
Rakesh V.

Rakesh V.

Level
0
1 / 100
point

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

put what was the action section inside a loop, put the login and logout inside the action section, put an if statement in the loop checking the time, if it close to an hour, logout/in

see here: http://answers.neotys.com/questions/2520491-can-use-variable-calculate-time-sended-request-variable-exceeds