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

PushPlatformValidationScenario: exit early if some failure endanger connection state #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

quantranhong1999
Copy link
Member

This could help avoids the simulation hanging forever when there were some users who could not open a WebSocket connection.

I took the inspiration from: c74dc64, gatling/gatling#2973 (comment)

5.0 -> JmapEmail.submitEmails(recipientFeeder),
30.0 -> openArbitrary.openArbitrary,
5.0 -> JmapEmail.submitEmails(recipientFeeder).exitHereIfFailed,
30.0 -> openArbitrary.openArbitrary.exitHereIfFailed,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why those 2 actions specifically?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having a look at the Gatling simulation log: gatling_log.zip, I see these suspect log:

REQUEST		submitEmails	1665053694055	1665053696510	KO	j.i.IOException: Premature close
REQUEST		submitEmails	1665053694332	1665053696517	KO	j.i.IOException: Premature close
REQUEST		emailGet	1665053788417	1665053788509	KO	j.i.IOException: Premature close
REQUEST		emailGet	1665053692357	1665053693488	KO	j.i.IOException: Premature close

Which has not happened before 0.6.3.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to understand why :)

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

Successfully merging this pull request may close these issues.

2 participants