Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multisession confusion #382

Closed
AustinGQ opened this issue Feb 3, 2016 · 0 comments
Closed

multisession confusion #382

AustinGQ opened this issue Feb 3, 2016 · 0 comments

Comments

@AustinGQ
Copy link

AustinGQ commented Feb 3, 2016

This application uses an application generated sessionID to keep every session unique. I am able to save that ID through HttpSession for every simulated user. After 3 layers from login page to the detail page, where I have multiple tasks defined, the only working session is the last session that got created. I can tell from debugging the each session has unique sessionID, but it seems that only the last created session is "alive". When the other sessions try to make any requestion with their session, I get session application error which means I try to make request with wrong session information.

the basic layout is like this, is this because sessions are handled by the application?

class layer3(taskset)
def on_start
def task1
def task2

class layer2(taskset)
def on_start
task{layer3:1}

class layer1(taskset)
..self.locust.snid = app_snid.
task{layer2:1}

@AustinGQ AustinGQ closed this as completed Feb 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant