Skip to content

Commit

Permalink
fix: edit load test missing the userclasses data
Browse files Browse the repository at this point in the history
  • Loading branch information
walterhu2020 committed Aug 23, 2022
1 parent 4989f2a commit dc662d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion locust/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ def swarm() -> Response:
user_classes[user_class_name] = user_class_object

else:
user_classes = self.environment.available_user_classes
user_classes = {key: value for (key, value) in self.environment.available_user_classes.items if
value in self.environment.user_classes}
self._update_user_classes(user_classes)

# Updating ShapeClass if specified in WebUI Form
Expand Down

0 comments on commit dc662d0

Please sign in to comment.