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

Use IterStart to start browser process for iteration #926

Closed
ka3de opened this issue Jun 8, 2023 · 0 comments · Fixed by #944
Closed

Use IterStart to start browser process for iteration #926

ka3de opened this issue Jun 8, 2023 · 0 comments · Fixed by #944
Assignees
Milestone

Comments

@ka3de
Copy link
Collaborator

ka3de commented Jun 8, 2023

Once grafana/k6#2432 is done, k6 browser, as a JSModule, will be able to receive events from k6 core for:

  • Init: when k6 starts initializing outputs, VUs and executors.
  • TestStart: when the execution scheduler starts running the test.
  • TestEnd: when the test execution ends.
  • IterStart: when a VU starts an iteration.
  • IterEnd: when a VU ends an iteration.
  • Exit: when the k6 process is about to exit.

k6 browser should integrate with the IterStart event in order to pre initialize the browser process for the iteration before its execution starts, so the the browser lifecycle handling implemented in #910 is improved.

@andrewslotin andrewslotin changed the title Integrate with k6 event system Use IterStart to start browser process for iteration Jun 13, 2023
@ka3de ka3de self-assigned this Jul 4, 2023
@ka3de ka3de added this to the v0.11.0 milestone Jul 4, 2023
@ka3de ka3de closed this as completed in #944 Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant