EVERYTHING XIAOMI
Get listed
Side by side

Chance.js vs Mockaroo

Chance.js

6.4#6 in test data generation toolsFree plan
Free planWebAPI
Visit
Mockaroo logo

Mockaroo

6.7#4 in test data generation toolsFrom $60 a year
Free planWebAPISelf-hosted
Visit

What both publish

FactChance.jsMockaroo
Data typesIts generators cover items including text, people, locations, dates, finance, and web-related values.The Mock APIs page says users can choose from more than 100 built-in data types, upload reference data, or build data types with the formula API.
IntegrationsThe documentation includes installation and usage instructions for Bower and RequireJS, as well as npm for Node.js.The API documentation identifies an officially supported Node.js client and lists C# client libraries mockaroo.api and NMockaroo.
Intended usersThe site gives generating random names and addresses for automated tests as an intended practical use.Mockaroo describes its use for developers and testers who need realistic test data, and for front-end developers working before a back end is ready.
PurposeChance generates pseudo-random strings, numbers, and other values for automated tests and other uses that need random data.Mockaroo generates realistic test data and can create mock back-end APIs for UI development.

Chance.js plans

  • Chance.jsFree

Mockaroo plans

  • FreeFree
  • Silver$60 a year
  • Gold$500 a year
  • Enterprise$7,500 a year

Pick Chance.js if…

Chance.js suits developers who need generated sample data for automated tests, including names and addresses. It is available for browser and Node.js use, with a command-line package also documented.

Pick Mockaroo if…

Mockaroo suits developers and testers who need realistic sample records or mock APIs. Front-end developers can use it while a back end is not yet ready.

Charts they share