Using locust to simulate load test from android or iOS phones

792 Views Asked by At

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

1

There are 1 best solutions below

0
On

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