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

add user group processes config entry #30

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

Conversation

maralla
Copy link

@maralla maralla commented Jul 18, 2013

when I use this framework to test our site I find out that it's not convenient to specify processes. So we want a configuration way to specify the amount of processes of a user group. This pull request is a way to add a config entry to the config.cfg file. In this pull request we can do this:

[user_group-1]
threads = 3
processes = 4
script = example_mock.py

the processes specifies that it has four processes for user_group-1 and each process has three threads to run. it equals to this:

[user_group-1] 
threads = 3
script = example_mock.py

[user_group-2] 
threads = 3
script = example_mock.py

[user_group-3] 
threads = 3
script = example_mock.py

[user_group-4] 
threads = 3
script = example_mock.py

it's so tedious to do the duplicate works.

the processes entry is optional, if not specified, default value is 1

thx

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