SlideShare una empresa de Scribd logo
1 de 27
QuerySurge
ETL TESTING AUTOMATION TOOL
How QuerySerge is useful
QuerySurge Automates your Data Warehouse & ETL Testing
Improves Data quality
Reduces Cost and Risk
Accelerate your testing cycles
Reduces manual work
Integration with ETL tools
It has command line API which make it flexible to use
Through its command line API we can use it with DataStage
Execute Command stage in sequence job can be used for this purpose
Reporting in QuerySurge
It has highly customizable built-in Reports support
Multiple filters can be applied on reports
CMD line API SQL parameters
SQL paramets are not yet supported.
Expected in future releases
Ref: https://querysurge.zendesk.com/requests/672
DataStage Example sequence job
DataSurge Suite after data loading
The component shown (Execute Command)
will call a batch file from DataStage to
execute Data Suite from DataSurge. The
batch file has the commands which uses
command line API to achieve the goal.
The test pass/fail report can be
generated and notifications can alse
be sent, all this is handled
automatically by QuerySurge
DataSurge Suite after data loading
These are similar calls to different suits
written in QuerySurge. We can write
different batch files which can call our test
suits according to our need.
QuerySurge makes the testing process for
ETL jobs really easy, manageable and
streamlined.
QuerySurge: Making a Data Suite
Step 1: Creating a query pair
A query pair has a source and destination database for comparison.
We write queries to test if expected behavior exists or not.
After running the query pair the result is either PASS/FAIL
A query pair fails if one database entry behaves unexpectedly
Step 1: Creating a query pair
Go to: Design Library > QueryPairs > Create New QueryPair
Step 2: Execute/Run QueryPair
After we click Design-Time Run > Run, the running state is shown below.
Step 2: Execute/Run QueryPair (Failure)
One row mismatched in this
scenario, Due to that the test
failed; for a test to be successful all
the data must match.
Step 2: Execute/Run QueryPair (Failure)
The details can be seen, we can
view source and column table,
queries and the rows mismatched
and eventually resulted in failure
of the query pair.
Step 2: Execute/Run QueryPair (Success)
All the rows matched exactly
according to the query pair source
and target SQL queries.
Step 3: Creating Test Suite
Go to: Menu > Create Test Suite
Step 3: Creating Test Suite
Include the required query pair/s in the test suite
Drag/Drop query pairs to include in a test suite
Step 4: Execute/Run Test Suite
Right Click a Test Suite and click ‘Run Now’ To run it
Step 5: Execute/Run Test from CMD
We can also run a test suite using command
line API
Commands are given in the documents which
come with the product
We can use command line API to run suits
from any ETL tool
Step by step guide to run a suite from
DataStage is give in word document in parent
folder.
Step 6: Generating reports
After successful execution of the suite, we can generate reports to get insight.
The reports give us detailed information about the error, successful or failed
execution and the contaminated row number in case of contamination. We can
export the reports in word or .pdf format.
Step 6: Generating reports
Click of scenario details to get the
details.
Step 6: Generating reports
Click on ‘Run Report with default filters’ to run the report. We can apply different type of
filters to get required info. The log of the previous reports can also be seen by clicking of
‘Open Report’
The Detailed view of report: Page1
The Detailed view of report: Page2
Step 7: Running Dashboard
Dashboard gives us the detailed view, statistics and graphs.
Step 7: Running Dashboard
Select a Test Suite to run its
dashboard
Step 8: Charts and info
Below graphs give us the detailed information.
References
http://talkcs.blogspot.com/2014/12/querysurge-and-datastage-etl-integration.html
https://querysurge.zendesk.com/requests/672
QuerySurge Official Site: http://www.querysurge.com/

Más contenido relacionado

La actualidad más candente

RTTS - the Software Quality Experts
RTTS - the Software Quality ExpertsRTTS - the Software Quality Experts
RTTS - the Software Quality Experts
RTTS
 
What is a Data Warehouse and How Do I Test It?
What is a Data Warehouse and How Do I Test It?What is a Data Warehouse and How Do I Test It?
What is a Data Warehouse and How Do I Test It?
RTTS
 
A data driven etl test framework sqlsat madison
A data driven etl test framework sqlsat madisonA data driven etl test framework sqlsat madison
A data driven etl test framework sqlsat madison
Terry Bunio
 
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
 

La actualidad más candente (20)

Improve the Health of Your Data
Improve the Health of Your DataImprove the Health of Your Data
Improve the Health of Your Data
 
Implementing Azure DevOps with your Testing Project
Implementing Azure DevOps with your Testing ProjectImplementing Azure DevOps with your Testing Project
Implementing Azure DevOps with your Testing Project
 
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
 
Creating a Data validation and Testing Strategy
Creating a Data validation and Testing StrategyCreating a Data validation and Testing Strategy
Creating a Data validation and Testing Strategy
 
Data Warehousing in Pharma: How to Find Bad Data while Meeting Regulatory Req...
Data Warehousing in Pharma: How to Find Bad Data while Meeting Regulatory Req...Data Warehousing in Pharma: How to Find Bad Data while Meeting Regulatory Req...
Data Warehousing in Pharma: How to Find Bad Data while Meeting Regulatory Req...
 
Whitepaper: Volume Testing Thick Clients and Databases
Whitepaper:  Volume Testing Thick Clients and DatabasesWhitepaper:  Volume Testing Thick Clients and Databases
Whitepaper: Volume Testing Thick Clients and Databases
 
RTTS - the Software Quality Experts
RTTS - the Software Quality ExpertsRTTS - the Software Quality Experts
RTTS - the Software Quality Experts
 
Hadoop testing workshop - july 2013
Hadoop testing workshop - july 2013Hadoop testing workshop - july 2013
Hadoop testing workshop - july 2013
 
Iron Mountain: Fueling Big Testing with Big Data - SiriusDecisions 2013
Iron Mountain: Fueling Big Testing with Big Data - SiriusDecisions 2013Iron Mountain: Fueling Big Testing with Big Data - SiriusDecisions 2013
Iron Mountain: Fueling Big Testing with Big Data - SiriusDecisions 2013
 
QuerySurge Slide Deck for Big Data Testing Webinar
QuerySurge Slide Deck for Big Data Testing WebinarQuerySurge Slide Deck for Big Data Testing Webinar
QuerySurge Slide Deck for Big Data Testing Webinar
 
What is a Data Warehouse and How Do I Test It?
What is a Data Warehouse and How Do I Test It?What is a Data Warehouse and How Do I Test It?
What is a Data Warehouse and How Do I Test It?
 
A data driven etl test framework sqlsat madison
A data driven etl test framework sqlsat madisonA data driven etl test framework sqlsat madison
A data driven etl test framework sqlsat madison
 
the Data World Distilled
the Data World Distilledthe Data World Distilled
the Data World Distilled
 
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
 
Test Automation for Data Warehouses
Test Automation for Data Warehouses Test Automation for Data Warehouses
Test Automation for Data Warehouses
 
Testing Big Data: Automated ETL Testing of Hadoop
Testing Big Data: Automated ETL Testing of HadoopTesting Big Data: Automated ETL Testing of Hadoop
Testing Big Data: Automated ETL Testing of Hadoop
 
How to Test Big Data Systems | QualiTest Group
How to Test Big Data Systems | QualiTest GroupHow to Test Big Data Systems | QualiTest Group
How to Test Big Data Systems | QualiTest Group
 
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
 
Automate data warehouse etl testing and migration testing the agile way
Automate data warehouse etl testing and migration testing the agile wayAutomate data warehouse etl testing and migration testing the agile way
Automate data warehouse etl testing and migration testing the agile way
 
2014 International Software Testing Conference in Seoul
2014 International Software Testing Conference in Seoul2014 International Software Testing Conference in Seoul
2014 International Software Testing Conference in Seoul
 

Destacado

Whose test is it anyway - LW&CN v0.3
Whose test is it anyway - LW&CN v0.3Whose test is it anyway - LW&CN v0.3
Whose test is it anyway - LW&CN v0.3
Clinton Nobrega AMBCS
 
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang PhiIntroduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Ho Chi Minh City Software Testing Club
 
Aastaraamat 2011
Aastaraamat 2011Aastaraamat 2011
Aastaraamat 2011
ylejoeinfo
 

Destacado (11)

Pritpal singh 3 years of ETL and Automation Testing
Pritpal singh 3 years of ETL and Automation TestingPritpal singh 3 years of ETL and Automation Testing
Pritpal singh 3 years of ETL and Automation Testing
 
ETL & Machine Learning
ETL & Machine LearningETL & Machine Learning
ETL & Machine Learning
 
Whose test is it anyway - LW&CN v0.3
Whose test is it anyway - LW&CN v0.3Whose test is it anyway - LW&CN v0.3
Whose test is it anyway - LW&CN v0.3
 
Database Testing
Database TestingDatabase Testing
Database Testing
 
Selenium camp 2017. Alexander Chumakin
Selenium camp 2017. Alexander ChumakinSelenium camp 2017. Alexander Chumakin
Selenium camp 2017. Alexander Chumakin
 
Data Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAMLData Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAML
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang PhiIntroduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
Introduction to Back End Automation Testing - Nguyen Vu Hoang, Hoang Phi
 
Introduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and ToolsIntroduction to Test Automation - Technology and Tools
Introduction to Test Automation - Technology and Tools
 
Aastaraamat 2011
Aastaraamat 2011Aastaraamat 2011
Aastaraamat 2011
 
Pengumuman seleksi casn_ggd_2016
Pengumuman seleksi casn_ggd_2016Pengumuman seleksi casn_ggd_2016
Pengumuman seleksi casn_ggd_2016
 

Similar a QuerySurge integration with ETL / DataStage

E catt tutorial
E catt tutorialE catt tutorial
E catt tutorial
Naveen Raj
 
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
keturahhazelhurst
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02
Nitish Bhardwaj
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi
 
Intro to tsql unit 14
Intro to tsql   unit 14Intro to tsql   unit 14
Intro to tsql unit 14
Syed Asrarali
 
Mercury Testdirector8.0 using Slides
Mercury Testdirector8.0 using SlidesMercury Testdirector8.0 using Slides
Mercury Testdirector8.0 using Slides
telab
 
Unit testing php-unit - phing - selenium_v2
Unit testing   php-unit - phing - selenium_v2Unit testing   php-unit - phing - selenium_v2
Unit testing php-unit - phing - selenium_v2
Tricode (part of Dept)
 

Similar a QuerySurge integration with ETL / DataStage (20)

Test automation process
Test automation processTest automation process
Test automation process
 
Test automation process _ QTP
Test automation process _ QTPTest automation process _ QTP
Test automation process _ QTP
 
Maximizing SAP ABAP Performance
Maximizing SAP ABAP PerformanceMaximizing SAP ABAP Performance
Maximizing SAP ABAP Performance
 
Test automation
Test automationTest automation
Test automation
 
E catt tutorial
E catt tutorialE catt tutorial
E catt tutorial
 
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
 
Ecatt1
Ecatt1Ecatt1
Ecatt1
 
Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02Performancetestingjmeter 131210111657-phpapp02
Performancetestingjmeter 131210111657-phpapp02
 
jDriver Presentation
jDriver PresentationjDriver Presentation
jDriver Presentation
 
Automation tips
Automation tipsAutomation tips
Automation tips
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Intro to tsql unit 14
Intro to tsql   unit 14Intro to tsql   unit 14
Intro to tsql unit 14
 
Intro to tsql
Intro to tsqlIntro to tsql
Intro to tsql
 
2 fitnesse
2 fitnesse2 fitnesse
2 fitnesse
 
Mercury Testdirector8.0 using Slides
Mercury Testdirector8.0 using SlidesMercury Testdirector8.0 using Slides
Mercury Testdirector8.0 using Slides
 
Test link
Test linkTest link
Test link
 
RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG RPG Program for Unit Testing RPG
RPG Program for Unit Testing RPG
 
Sql storeprocedure
Sql storeprocedureSql storeprocedure
Sql storeprocedure
 
Auditing Data Access in SQL Server
Auditing Data Access in SQL ServerAuditing Data Access in SQL Server
Auditing Data Access in SQL Server
 
Unit testing php-unit - phing - selenium_v2
Unit testing   php-unit - phing - selenium_v2Unit testing   php-unit - phing - selenium_v2
Unit testing php-unit - phing - selenium_v2
 

Último

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 

Último (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 

QuerySurge integration with ETL / DataStage

  • 2. How QuerySerge is useful QuerySurge Automates your Data Warehouse & ETL Testing Improves Data quality Reduces Cost and Risk Accelerate your testing cycles Reduces manual work
  • 3. Integration with ETL tools It has command line API which make it flexible to use Through its command line API we can use it with DataStage Execute Command stage in sequence job can be used for this purpose
  • 4. Reporting in QuerySurge It has highly customizable built-in Reports support Multiple filters can be applied on reports
  • 5. CMD line API SQL parameters SQL paramets are not yet supported. Expected in future releases Ref: https://querysurge.zendesk.com/requests/672
  • 7. DataSurge Suite after data loading The component shown (Execute Command) will call a batch file from DataStage to execute Data Suite from DataSurge. The batch file has the commands which uses command line API to achieve the goal. The test pass/fail report can be generated and notifications can alse be sent, all this is handled automatically by QuerySurge
  • 8. DataSurge Suite after data loading These are similar calls to different suits written in QuerySurge. We can write different batch files which can call our test suits according to our need. QuerySurge makes the testing process for ETL jobs really easy, manageable and streamlined.
  • 9. QuerySurge: Making a Data Suite Step 1: Creating a query pair A query pair has a source and destination database for comparison. We write queries to test if expected behavior exists or not. After running the query pair the result is either PASS/FAIL A query pair fails if one database entry behaves unexpectedly
  • 10. Step 1: Creating a query pair Go to: Design Library > QueryPairs > Create New QueryPair
  • 11. Step 2: Execute/Run QueryPair After we click Design-Time Run > Run, the running state is shown below.
  • 12. Step 2: Execute/Run QueryPair (Failure) One row mismatched in this scenario, Due to that the test failed; for a test to be successful all the data must match.
  • 13. Step 2: Execute/Run QueryPair (Failure) The details can be seen, we can view source and column table, queries and the rows mismatched and eventually resulted in failure of the query pair.
  • 14. Step 2: Execute/Run QueryPair (Success) All the rows matched exactly according to the query pair source and target SQL queries.
  • 15. Step 3: Creating Test Suite Go to: Menu > Create Test Suite
  • 16. Step 3: Creating Test Suite Include the required query pair/s in the test suite Drag/Drop query pairs to include in a test suite
  • 17. Step 4: Execute/Run Test Suite Right Click a Test Suite and click ‘Run Now’ To run it
  • 18. Step 5: Execute/Run Test from CMD We can also run a test suite using command line API Commands are given in the documents which come with the product We can use command line API to run suits from any ETL tool Step by step guide to run a suite from DataStage is give in word document in parent folder.
  • 19. Step 6: Generating reports After successful execution of the suite, we can generate reports to get insight. The reports give us detailed information about the error, successful or failed execution and the contaminated row number in case of contamination. We can export the reports in word or .pdf format.
  • 20. Step 6: Generating reports Click of scenario details to get the details.
  • 21. Step 6: Generating reports Click on ‘Run Report with default filters’ to run the report. We can apply different type of filters to get required info. The log of the previous reports can also be seen by clicking of ‘Open Report’
  • 22. The Detailed view of report: Page1
  • 23. The Detailed view of report: Page2
  • 24. Step 7: Running Dashboard Dashboard gives us the detailed view, statistics and graphs.
  • 25. Step 7: Running Dashboard Select a Test Suite to run its dashboard
  • 26. Step 8: Charts and info Below graphs give us the detailed information.

Notas del editor

  1. Author: Asad Abdullah