chapkovski / locust-otree

Locust script for load testing of oTree apps
1 stars 2 forks source link

Locust 1.0 renames some objects #1

Open ccrabbe opened 3 years ago

ccrabbe commented 3 years ago

Locust 1.0 renamed HttpLocust to HttpUser and locust.exception.StopLocust to locust.exception.StopUser

I tried to use this today and needed to update those to get it to work.

Thanks again for all your contributions to the oTree community.

ccrabbe commented 3 years ago

Actually there's one more thing that I needed to fix, too. Needed to change

task_set = OtreeTaskSet to tasks = [OtreeTaskSet]

chapkovski commented 3 years ago

Hi! Thanks! Do you think you could make a PR with those changes?

On Wed, Nov 11, 2020 at 6:40 AM ccrabbe notifications@github.com wrote:

Actually there's one more thing that I needed to fix, too. Needed to change

task_set = OtreeTaskSet to tasks = [OtreeTaskSet]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chapkovski/locust-otree/issues/1#issuecomment-725134973, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLA4YE3RGFWBVUCUM2LUGLSPIBTDANCNFSM4TRGUOHQ .

-- Sent from iPhone