55

Where can I get, or how can I generate a large formatted collection of fake user data (names, email address, locations, etc.) that can be used for testing an application?

It can be clearly fake, this will be limited to the development server. But I'm sure anything would be better than what I could come up with.

Lance Fisher
  • 25,684
  • 22
  • 96
  • 122
JJ.
  • 4,974
  • 5
  • 39
  • 48
  • electoral role might be available? what is it you want to test - field size large enough, data content handling, scalability? 10,000 smiths won't help the index on surname... – Greg Domjan Jan 07 '09 at 07:48
  • See this SO thread: [Creating test data in a database](http://stackoverflow.com/questions/16317/creating-test-data-in-a-database#157877) – Patrick Cuff Jan 04 '09 at 15:46
  • Try using fake data generator like [fairyland](http://codearte.github.io/fairyland>) (java) – MariuszS Nov 21 '13 at 14:50
  • 7
    A very constructive question which is directly related to the programming. – Oybek May 04 '14 at 07:45
  • stackoverflow.com/questions/16317/creating-test-data-in-a-database – CloudyMarble Feb 16 '15 at 05:05
  • This question is old but for future visitors: have a look at [randomuser.me](https://randomuser.me/). Not only is it free (for under about 10,000 users in one request) but it also provides pictures which I find extremely useful. – chRyNaN Nov 05 '15 at 21:24
  • Please vote to reopen this question!!! http://www.convertcsv.com/generate-test-data.htm#keywords – Jeremy Thompson Mar 08 '17 at 01:51

6 Answers6

74

There are some tools built just for this. I've used http://www.generatedata.com/ before to generate data for MySql databases. RedGate has a nice tool to fill your SQL Server database with test data called SQL Data Generator. The RedGate tool costs about $300, but there is a free trial.

UPDATE: Faker.js is now available. It is a project built on node.js, and looks pretty comprehensive.

ANOTHER UPDATE: Mockaroo is great!

If you'd like an HTTP API of fake user data, check out Random User Generator

Lance Fisher
  • 25,684
  • 22
  • 96
  • 122
8

This is a open source tool for generating various types of test data. http://www.generatedata.com

thetacom
  • 1,894
  • 1
  • 10
  • 15
5

http://www.fakenamegenerator.com/ is a good resource for creating test data with realistic looking users complete with SSN, email address, ... They have a bulk download option too.

Ian Mercer
  • 38,490
  • 8
  • 97
  • 133
4

Check out this list of "Funny Names" some of them are classic

http://www.ethanwiner.com/funnames.html

Jon Erickson
  • 112,242
  • 44
  • 136
  • 174
0

Another open source test generator tool is my own http://code.google.com/p/csvtest.

0

For anyone looking for an updated solution to this problem... I wrote a test data generator project for Data Synchronisation Studio. It can generate a large dataset ranging from 1 to 100s of millions of rows of realistic testing data (lots of OFs there :D) Anyway, here is a blog post all about it. http://www.simego.com/Blog/2012/02/Test-Data-Generator-Download-for-Data-Sync

Trem
  • 100
  • 1
  • 3