mix stampede.record (stampede v1.4.0)

Copy Markdown View Source

Starts your Phoenix app and records what you do in it, then writes it as a scenario.

$ mix stampede.record Checkout

Open the app in your browser, click through what a user would do, and press Enter in the terminal when you're done. That writes loadtest/checkout.exs, with your clicks, forms, navigation and pauses, ready for mix stampede.run.

Passwords and other fields that look sensitive are replaced with "CHANGE_ME". The recording guide has what's recorded and what isn't.

Options

  • --force - overwrites the file without asking