Generating test data for MySQL


Posted in: mysql | Save to del.icio.us | Twit This! 25 Mar 2009

The most common type of web application a developer encounters are database related. But rarely is the case when you have the required data in your database during testing, making it a frequent source of frustration for programmers, who than have to manually populate the database. Having a dummy set of data is always a good thing.

generatedata.com is one such tool. Generatedata lets you specify the database schema details and generates the dummy sql data for you, with table creation and complete inserts. The data can further be exported to html, excel, xml or csv formats. The tool is available online and there is also a downloadable version of the tool if you like to modify the code or need to install it on your server or development machine.

testdata

The tool also has an option to generate country specific data; currently limited to Canada,Netherlands,UK and the US. If you need to add other countries to the list, you have the option of modifying the code to suit your specific purpose. Even though there are many free tools available online with the same purpose, I find Generatedata to be simple to use.




Share this post

Share on Facebook
Share on Twitter
Share on StumbleUpon
Share on Delicious
Share on Digg
Share on Technorati
Share on Reddit
Feeds RSS Subscribe to site Feed

Other related posts



3 Responses

1

thyraxx

March 26th, 2009 at 2:14 am

A worth trying out!

2

cigraphics

March 27th, 2009 at 10:24 am

Fail :))
It doesn’t work on Firefox, Chrome, Safari, IE 7

sameer

March 27th, 2009 at 10:11 pm

Well I’ve tested it on Firefox 3.0.7, Opera 9.64, IE8, IE8 compatibility mode, and it works on all of them. Maybe your javascript is disabled.

Comment Form

Use the html <code> tag to insert small source code snippets

For longer code examples use http://pastie.org/.

Get latest updates by E-mail

About this blog

This site is a digital habitat of Sameer, a freelance web developer working from Pune.More

Recent Comments

  • sameer: You can try this in your templates header.php : http://pastie.org/867569 [...]
  • avanthi: I played it back by using selenium RC [...]
  • avanthi: Ohh, ok no problem, here the actual issue is with IE, when i play back in firefox it is working fine [...]
  • Veerendra: Hi sameer great plugin to filter content. I was searching this kind of filtering plugin for doing [...]
  • sameer: My apologies! I'm not conversant with SharePoint. [...]
  • avanthi: Is it possible to automate share point people picker control through selenium. When i record throug [...]
  • sameer: Check to see if the 'IDE > options > format' is set to HTML. [...]
  • sameer: Google strips any newline characters form the text. Although it does accept it with the online trans [...]

  • Users Online

    • 8 Users Online
    • 7 Guests, 1 Bot