Testing and Debugging in Informatica PowerCenter Agenda What do we test in informatica? different types of problems solutions to problems Using the debugger Where to look for problem causes Common problems and their solutions Testing - What needs to be tested?
Testing and Debugging in Informatica PowerCenter Agenda What do we test in informatica? different types of problems solutions to problems Using the debugger Where to look for problem causes Common problems and their solutions Testing - What needs to be tested?
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online from Scribd
Testing and Debugging in Informatica PowerCenter Agenda What do we test in informatica? different types of problems solutions to problems Using the debugger Where to look for problem causes Common problems and their solutions Testing - What needs to be tested?
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online from Scribd
Agenda What do we test in Informatica? Preparing to test Different types of problems Solutions to problems Using the debugger Where to look for problem causes Common problems and their solutions
Informatica COE Chennai 2
Testing – What needs to be tested? Format Examples: File length Number formats Representation of NULL Logic Examples: Calculation results Results of logical conditions
Informatica COE Chennai 3
Testing – Preparing for battle Prepare test plan Grant appropriate file permissions Prepare test data
Informatica COE Chennai 4
Types of problems Format related “What is this junk data?!!!” ”My file looks ugly!!” Logic related “Why am I getting a different output? I am SURE my logic is correct” Others Workflow fails No session log written
Informatica COE Chennai 5
Fighting it out… Format related problems Solution: File length – Check port length/precision Number formats – Check port length/precision Representation of NULL – check session properties
Informatica COE Chennai 6
Fighting it out… Logic related problems Solution: Debugger!!!!!
Informatica COE Chennai 7
Features in the Debugger Setting break points Evaluating expressions Discarding target data
Informatica COE Chennai 8
Using the Debugger
Informatica COE Chennai 9
Informatica COE Chennai 10 Informatica COE Chennai 11 Informatica COE Chennai 12 Informatica COE Chennai 13 Informatica COE Chennai 14 Informatica COE Chennai 15 Informatica COE Chennai 16 Informatica COE Chennai 17 Informatica COE Chennai 18 Informatica COE Chennai 19 Informatica COE Chennai 20 Informatica COE Chennai 21 Informatica COE Chennai 22 Informatica COE Chennai 23 Informatica COE Chennai 24 Informatica COE Chennai 25 Informatica COE Chennai 26 Informatica COE Chennai 27 Informatica COE Chennai 28 Informatica COE Chennai 29 Informatica COE Chennai 30 Informatica COE Chennai 31 Informatica COE Chennai 32 Informatica COE Chennai 33 Informatica COE Chennai 34 Informatica COE Chennai 35 Informatica COE Chennai 36 Informatica COE Chennai 37 Fighting it out… Other problems
Informatica COE Chennai 38
Where to look? 1. Session property in Workflow monitor 2. Session log 3. Session property in Workflow designer 4. Debugger
Informatica COE Chennai 39
Accessing the session property in Workflow monitor
Informatica COE Chennai 40
Informatica COE Chennai 41 Informatica COE Chennai 42 Informatica COE Chennai 43 Accessing the session Log file in Workflow monitor
Informatica COE Chennai 44
Informatica COE Chennai 45 Informatica COE Chennai 46 Informatica COE Chennai 47 Changing the logging to ‘verbose’ mode
Informatica COE Chennai 48
Informatica COE Chennai 49 Informatica COE Chennai 50 Informatica COE Chennai 51 Informatica COE Chennai 52 Informatica COE Chennai 53 Informatica COE Chennai 54 Changing ‘NULL’ representation
Informatica COE Chennai 55
Informatica COE Chennai 56 Informatica COE Chennai 57 Informatica COE Chennai 58 Fighting it out… Common problems and causes SNo Problem Solution 1 Workflow fails at the beginning itself Check monitor session properties if file access problems exist 2 Workflow fails at the beginning itself, no Check SQL syntax in source qualifiers file access problems 3 Workflow fails for some reason Check session log. If necessary, run session in ‘verbose’ mode 4 Data is being truncated for some Check port length reason 5 Logical equality/inequality operators do Trimming is needed/Check data type not seem to work 6 Logical conditions are getting executed Check if NULL checks have been performed wrongly 7 Numbers are being read from flat file. Check length/precision of ports Corresponding calculation results are wrong 8 During debugging, all ports get null Some fatal error has occurred. Eg: division by value zero, invalid date Informatica COE Chennai 59 Thank You!