locustio / locust

Write scalable load tests in plain Python 🚗💨
https://locust.cloud
MIT License
25.1k stars 3k forks source link

Webui Add Custom Form to Auth Page #2952

Closed andrewbaldwin44 closed 1 month ago

andrewbaldwin44 commented 1 month ago

Proposal

  1. Allow the auth form to be configured with any inputs. The configuration for the inputs use the same API and the same component as the locust custom arguments
  2. Added an example of the auth custom form and updated the docs
  3. Add tests for the custom inputs, the password input, and the numeric input
  4. Custom arguments isSecret field will now have a visibility toggle in the webui

Screenshots

image image