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

feat: [ISSUE-624] Send worker name as part of step execution. #625

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

Conversation

arvindkumarc
Copy link

This helps to have more control over the workers and take better data slicing even with single iteration and parallel running loads.

Consider the following example:

export const settings: TestSettings = {
  loopCount: 1,

  stages: [
    {
      duration: `2m`,
      target: 5,
    },
  ],
};

We expect 5 parallel workers being launched, and there is no unique way to identify these workers.
The TestData circular() or shuffle will not help here since they work based on the loopCount. shuffle to an extent but with duplicates.

With this approach, we will be able to slice the data based on the launched workers and control which to be picked.

More details in #624

Thank you!

This helps to have more control over the workers and take better data slicing even with single iteration and parallel running loads.
@vercel
Copy link

vercel bot commented Jul 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
element-docs ❌ Failed (Inspect) Jul 21, 2023 0:48am

@vipulsharma144
Copy link

vipulsharma144 commented Sep 14, 2023

@arvindkumarc Thanks for the fix However i tried installing via your fork and it seems to give me undefined for reporter.worker.name with --mu . Can you provide some steps to follow please .
Thanks

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