0

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

Moses Liao GZ
  • 1,556
  • 5
  • 20
  • 45

1 Answers1

1

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

Solowalker
  • 2,431
  • 8
  • 13