Reputation: 1608
Is there a way to simulate an android user agent in locust.io load testing? I have a server I need to load test and they check if the call is from an android or iOS phone
Upvotes: 0
Views: 1020
Reputation: 2856
Locust's http client for HttpUser is based on the requests module. This should work for you.
Sending "User-agent" using Requests library in Python
Upvotes: 1