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 ability to select which Task to run #130

Closed
rdkls opened this issue Feb 6, 2014 · 3 comments
Closed

Add ability to select which Task to run #130

rdkls opened this issue Feb 6, 2014 · 3 comments

Comments

@rdkls
Copy link

rdkls commented Feb 6, 2014

Hi guys
First, thanks.
I added the ability to select which task (from the active task_set) to run.
Perhaps I may be misusing locust =) but my use case is, that I have a couple of different types of tasks e.g. "make a purchase", "log in", "stream a video".
And I wanted the ability to run just one type of task at a time (e.g. "test the video streaming")
It basically works, but I haven't put it into a pull request because 1. not sure if this is interesting to other people 2. It doens't work when you click 'edit' for an already-running swarm.
Anyways just letting you know. If you're interested my commit's here:
regency@1738b10
(actuall that has an erroneous-but-not-breaking rename of task_weight, fixed in the next commit)
could put in a pull request if you want.
(please feel free to close this 'issue' once read)
Cheers
Nick

@heyman
Copy link
Member

heyman commented Feb 6, 2014

Hi! My initial thought is that it sounds a bit too specific to be something that we should include into Locust itself. I'm happy it worked out well for you though :).

@heyman heyman closed this as completed Feb 6, 2014
@issamemari
Copy link

I'm interested in this feature

@cyberw
Copy link
Collaborator

cyberw commented Jun 10, 2024

Hi! This feature exists nowadays, just use the --class-picker flag and you can pick them in the UI. Or use tags (see the documentation)

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

4 participants