SlideShare a Scribd company logo
1 of 14
enable
people
We build
technology
solutions that
and verticals
1www.confiz.com
Test Data Generation
Roshan Masood
SSTE
2
Confiz Limited
Ever needed custom formatted
sample / test data, like, bad?
TEST DATA GENERATION
• It is important to test your application with
"real" data.
• Testing a data-aware application is one of the
most important but time-consuming tasks. It
is important to test your application with
"real" data.
Why is test data important?
• Need is: Testing it under
conditions that closely
simulate a production
environment.
• Alternate is: Hand-
entering data
Issues with the alternate way
• Problem 1: Doesn’t build volume and variety
• Problem 2: The data you enter will be biased
towards your own usage patterns
• Problem 3: Won't match real-world usage
• Problem 4: Leaving important bugs
undiscovered.
Why is realistic data important?
• Real data keeps the tester busy, engages the
tester.
• When you demonstrate new features to
others, they'll understand them faster.
• Testing with realistic data will make your app
more robust
What is a Test Data
Generation Tool?
• To fill your database with test data, you
need a generator. The generators will
generate realistic data for you based on
the column characteristics and/or
based on what the user defines.
GenerateData.com
• http://www.generatedata.com
• Why GenerateData.com ?
– Online demo
– Free, fully functional, GNU-licensed version
available
– Generate up to 5,000 records at a time
– Save data sets
DTM Data Generator
• http://www.sqledit.com/dg/
• Why DTM Data Generator ?
– Test database population
– Performance analyzing
– QA testing or loading tests fulfillment
– DTM Data Generator is a simple, powerful and
fully customizable tool that generates data for
database testing purposes
DTM Data generation Rules
• DTM Data Generator is a simple, powerful and fully customizable tool that
generates data for database testing purposes.
• The project is a set of generation rules. There are four principle generation
rules: data rows generation (one rule correspond with one table), tables
generation, objects generation and clear rule.
• The data rule inserts or appends the specified number of records into one
table. This rule can also update existing data or scramble it to another
database.
• The tables rule creates any number of tables with the same structure and
with the names according to the template; the created tables can be
populated by test data.
• The objects rule makes any number of database objects (views,
procedures, etc) with the same SQL text and with the names according to
the template.
• Clear Rule helps users to remove required data from the database before
generator execution.
Product Vendor Kind of tool Databases
DTM Data
Generator
SQLEdit Automatically fills a database
with test data.
SQL Server, DB2,
Oracle.
GS Data Generator GSApps Generates meaningful data for
your database.
SQL Server, DB2,
Oracle, MS Access.
Advanced Data
Generator
Upscene
Productions
It can generate real-life-like data
into your database, SQL script or
CSV files.
InterBase, Firebird,
MySQL.
SQL Data Generator Red-Gate Create realistic data based on
column and table names. MS SQL Server
EMS Data
Generator
EMS
This utility can help you
simulating the database
production environment and
allows you to populate several
database tables with test data.
Multiple editions, one for each
supported database.
Oracle, MySQL, MS
SQL, PostgreSQL, DB2,
Firebird.
Datanamic Data
Generator MultiDB
Datanamic
Solutions BV
Generates meaningful, realistic
test data based on column
characteristics. MultiDB edition
supports data generation for 5
database types.
Oracle, MySQL, MS
SQL Server, MS Access
and PostgreSQL.
IBM DB2 Test
Database Generator
IBM
Creates realistic test data for
your database application
development projects. Only for
DB2.
DB2
E-Naxos DataGen E-Naxos
Mainly focused on generating
random data. A free online
version is available also.
Exports insert scripts
for your database.
Thank You for participating!
13www.confiz.com
References
• My Blog post:
https://www.linkedin.com/pulse/test-data-
generation-roshan-masood
• https://www.kanoah.com/blog/best-tools-for-
test-data-generation/
• https://www.mockaroo.com/
• http://www.sqledit.com/dg/
• http://toolsfordatabases.com/test-data-
generation-tools.html
• http://www.generatedata.com

More Related Content

What's hot

Whitebox testing
Whitebox testingWhitebox testing
Whitebox testing
Oana Feidi
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
Confiz
 

What's hot (20)

Test Automation Interview Questions and Answers | Edureka
Test Automation Interview Questions and Answers | EdurekaTest Automation Interview Questions and Answers | Edureka
Test Automation Interview Questions and Answers | Edureka
 
Case tools
Case toolsCase tools
Case tools
 
SQL Join Basic
SQL Join BasicSQL Join Basic
SQL Join Basic
 
Data integrity
Data integrityData integrity
Data integrity
 
Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)Presentation slides of Sequence Query Language (SQL)
Presentation slides of Sequence Query Language (SQL)
 
Robustness testing
Robustness testingRobustness testing
Robustness testing
 
Whitebox testing
Whitebox testingWhitebox testing
Whitebox testing
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
 
Software development methodologies
Software development methodologiesSoftware development methodologies
Software development methodologies
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Presentation on Agile Testing
Presentation on Agile TestingPresentation on Agile Testing
Presentation on Agile Testing
 
introdution to SQL and SQL functions
introdution to SQL and SQL functionsintrodution to SQL and SQL functions
introdution to SQL and SQL functions
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagrams
 
Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testing
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Sql commands
Sql commandsSql commands
Sql commands
 
MySQL
MySQLMySQL
MySQL
 
Test Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioTest Case, Use Case and Test Scenario
Test Case, Use Case and Test Scenario
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 

Similar to Test data generation

Data Warehouse Testing in the Pharmaceutical Industry
Data Warehouse Testing in the Pharmaceutical IndustryData Warehouse Testing in the Pharmaceutical Industry
Data Warehouse Testing in the Pharmaceutical Industry
RTTS
 
How to Automate your Enterprise Application / ERP Testing
How to Automate your  Enterprise Application / ERP TestingHow to Automate your  Enterprise Application / ERP Testing
How to Automate your Enterprise Application / ERP Testing
RTTS
 
Data virtualization
Data virtualizationData virtualization
Data virtualization
Hamed Hatami
 
Automated Testing with Databases
Automated Testing with DatabasesAutomated Testing with Databases
Automated Testing with Databases
elliando dias
 
markfinleyResumeMarch2016
markfinleyResumeMarch2016markfinleyResumeMarch2016
markfinleyResumeMarch2016
Mark Finley
 

Similar to Test data generation (20)

Big Data Testing : Automate theTesting of Hadoop, NoSQL & DWH without Writing...
Big Data Testing : Automate theTesting of Hadoop, NoSQL & DWH without Writing...Big Data Testing : Automate theTesting of Hadoop, NoSQL & DWH without Writing...
Big Data Testing : Automate theTesting of Hadoop, NoSQL & DWH without Writing...
 
Query Wizards - data testing made easy - no programming
Query Wizards - data testing made easy - no programmingQuery Wizards - data testing made easy - no programming
Query Wizards - data testing made easy - no programming
 
Taming the shrew Power BI
Taming the shrew Power BITaming the shrew Power BI
Taming the shrew Power BI
 
Data Warehouse Testing in the Pharmaceutical Industry
Data Warehouse Testing in the Pharmaceutical IndustryData Warehouse Testing in the Pharmaceutical Industry
Data Warehouse Testing in the Pharmaceutical Industry
 
Building a Testable Data Access Layer
Building a Testable Data Access LayerBuilding a Testable Data Access Layer
Building a Testable Data Access Layer
 
Developing Custom Applications with Joomla! and Fabrik
Developing Custom Applications with Joomla! and FabrikDeveloping Custom Applications with Joomla! and Fabrik
Developing Custom Applications with Joomla! and Fabrik
 
Qiagram
QiagramQiagram
Qiagram
 
Democratizing Data Science in the Enterprise
Democratizing Data Science in the EnterpriseDemocratizing Data Science in the Enterprise
Democratizing Data Science in the Enterprise
 
How to Automate your Enterprise Application / ERP Testing
How to Automate your  Enterprise Application / ERP TestingHow to Automate your  Enterprise Application / ERP Testing
How to Automate your Enterprise Application / ERP Testing
 
Data virtualization
Data virtualizationData virtualization
Data virtualization
 
Common Data Service – A Business Database!
Common Data Service – A Business Database!Common Data Service – A Business Database!
Common Data Service – A Business Database!
 
System development project document
System development project documentSystem development project document
System development project document
 
Database
DatabaseDatabase
Database
 
Big Data Testing: Ensuring MongoDB Data Quality
Big Data Testing: Ensuring MongoDB Data QualityBig Data Testing: Ensuring MongoDB Data Quality
Big Data Testing: Ensuring MongoDB Data Quality
 
Testing Big Data: Automated Testing of Hadoop with QuerySurge
Testing Big Data: Automated  Testing of Hadoop with QuerySurgeTesting Big Data: Automated  Testing of Hadoop with QuerySurge
Testing Big Data: Automated Testing of Hadoop with QuerySurge
 
Automated Testing with Databases
Automated Testing with DatabasesAutomated Testing with Databases
Automated Testing with Databases
 
QuerySurge - the automated Data Testing solution
QuerySurge - the automated Data Testing solutionQuerySurge - the automated Data Testing solution
QuerySurge - the automated Data Testing solution
 
markfinleyResumeMarch2016
markfinleyResumeMarch2016markfinleyResumeMarch2016
markfinleyResumeMarch2016
 
Improve the Health of Your Data
Improve the Health of Your DataImprove the Health of Your Data
Improve the Health of Your Data
 
DataOps - The Foundation for Your Agile Data Architecture
DataOps - The Foundation for Your Agile Data ArchitectureDataOps - The Foundation for Your Agile Data Architecture
DataOps - The Foundation for Your Agile Data Architecture
 

Recently uploaded

Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
MarinCaroMartnezBerg
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptx
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 

Test data generation

  • 2. Test Data Generation Roshan Masood SSTE 2 Confiz Limited
  • 3. Ever needed custom formatted sample / test data, like, bad?
  • 4. TEST DATA GENERATION • It is important to test your application with "real" data. • Testing a data-aware application is one of the most important but time-consuming tasks. It is important to test your application with "real" data.
  • 5. Why is test data important? • Need is: Testing it under conditions that closely simulate a production environment. • Alternate is: Hand- entering data
  • 6. Issues with the alternate way • Problem 1: Doesn’t build volume and variety • Problem 2: The data you enter will be biased towards your own usage patterns • Problem 3: Won't match real-world usage • Problem 4: Leaving important bugs undiscovered.
  • 7. Why is realistic data important? • Real data keeps the tester busy, engages the tester. • When you demonstrate new features to others, they'll understand them faster. • Testing with realistic data will make your app more robust
  • 8. What is a Test Data Generation Tool? • To fill your database with test data, you need a generator. The generators will generate realistic data for you based on the column characteristics and/or based on what the user defines.
  • 9. GenerateData.com • http://www.generatedata.com • Why GenerateData.com ? – Online demo – Free, fully functional, GNU-licensed version available – Generate up to 5,000 records at a time – Save data sets
  • 10. DTM Data Generator • http://www.sqledit.com/dg/ • Why DTM Data Generator ? – Test database population – Performance analyzing – QA testing or loading tests fulfillment – DTM Data Generator is a simple, powerful and fully customizable tool that generates data for database testing purposes
  • 11. DTM Data generation Rules • DTM Data Generator is a simple, powerful and fully customizable tool that generates data for database testing purposes. • The project is a set of generation rules. There are four principle generation rules: data rows generation (one rule correspond with one table), tables generation, objects generation and clear rule. • The data rule inserts or appends the specified number of records into one table. This rule can also update existing data or scramble it to another database. • The tables rule creates any number of tables with the same structure and with the names according to the template; the created tables can be populated by test data. • The objects rule makes any number of database objects (views, procedures, etc) with the same SQL text and with the names according to the template. • Clear Rule helps users to remove required data from the database before generator execution.
  • 12. Product Vendor Kind of tool Databases DTM Data Generator SQLEdit Automatically fills a database with test data. SQL Server, DB2, Oracle. GS Data Generator GSApps Generates meaningful data for your database. SQL Server, DB2, Oracle, MS Access. Advanced Data Generator Upscene Productions It can generate real-life-like data into your database, SQL script or CSV files. InterBase, Firebird, MySQL. SQL Data Generator Red-Gate Create realistic data based on column and table names. MS SQL Server EMS Data Generator EMS This utility can help you simulating the database production environment and allows you to populate several database tables with test data. Multiple editions, one for each supported database. Oracle, MySQL, MS SQL, PostgreSQL, DB2, Firebird. Datanamic Data Generator MultiDB Datanamic Solutions BV Generates meaningful, realistic test data based on column characteristics. MultiDB edition supports data generation for 5 database types. Oracle, MySQL, MS SQL Server, MS Access and PostgreSQL. IBM DB2 Test Database Generator IBM Creates realistic test data for your database application development projects. Only for DB2. DB2 E-Naxos DataGen E-Naxos Mainly focused on generating random data. A free online version is available also. Exports insert scripts for your database.
  • 13. Thank You for participating! 13www.confiz.com
  • 14. References • My Blog post: https://www.linkedin.com/pulse/test-data- generation-roshan-masood • https://www.kanoah.com/blog/best-tools-for- test-data-generation/ • https://www.mockaroo.com/ • http://www.sqledit.com/dg/ • http://toolsfordatabases.com/test-data- generation-tools.html • http://www.generatedata.com

Editor's Notes

  1. Well, that's the idea of this script.
  2. Testing a data-aware application is one of the most important but time-consuming tasks. It is important to test your application with "real" data. To fill your database with test data, you need a generator. The generators will generate realistic data for you based on the column characteristics and/or based on what the user defines. Test data generation, an important part of software testing, is the process of creating a set of data for testing the adequacy of new or revised software applications. It may be the actual data that previous operations or artificial data created for this purpose. Test Data Generation is seen to be a complex problem and though a lot of solutions have come forth most of them are limited to toy programs.
  3. his site offers an online demo where you're welcome to tinker around to get a sense of what the script does, what features it offers and how it works. Then, once you've whet your appetite, there's a free, fully functional, GNU-licensed version available for download. Alternatively, if you want to avoid the hassle of setting it up on your own server, for $20, letting you generate up to 5,000 records at a time (instead of the maximum 100), and let you save your data sets.
  4. The generator was designed to provide developers and quality assurance engineers with high quality and realistic test arrays. It automatically creates data values and optional schema objects (tables, views, procedures, triggers, etc).
  5. It's a free, open source tool written in JavaScript, PHP and MySQL that lets you quickly generate large volumes of custom data in a variety of formats for use in testing software, populating databases, and... so on and so forth.