Moses Liao GZ
Moses Liao GZ

Reputation: 1608

Using locust to simulate load test from android or iOS phones

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

Answers (1)

Solowalker
Solowalker

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

Related Questions