artillery-plugin-fake-data
artillery-plugin-fake-data
Easy randomised test data leveraging Faker
With this plugin, you can add random test data using Faker straight into YAML, giving you a wide range of test data options to choose from. You'll also be able to use the same functions in your beforeRequest/afterResponse hooks. Check the documentation for more information.
Faker functions are exposed with flattened names: faker.internet.email() becomes $internetEmail(), faker.person.fullName() becomes $personFullName(), and so on.
Migrating from falso
Earlier versions of this plugin used falso. The most commonly used falso-style names (e.g. $randEmail, $randFullName, $randPassword) still work as deprecated aliases, but will be removed in a future release. Function configuration options now use Faker's option shapes (e.g. internetPassword: { length: 5 } instead of randPassword: { size: 5 }). See the plugin documentation for a migration table.
Documentation
Feedback, Bugs, Issues
EXPERIMENTAL: This plugin is experimental and under active development. Please create an issue if you find something not working or want to propose a change:
Please report bugs over at https://github.com/artilleryio/artillery/issues Ask for help or propose a new features via Github Discussions Follow @artilleryio on Twitter for updates
License
MPL 2.0