Download presentation
Presentation is loading. Please wait.
Published byBarbra Lucas Modified over 9 years ago
1
1 Testing & Debugging in Informatica PowerCenter
2
2 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
3
3 Testing – What needs to be tested? Format Examples: File length Number formats Representation of NULL Logic Examples: Calculation results Results of logical conditions
4
4 Testing – Preparing for battle Prepare test plan Grant appropriate file permissions Prepare test data
5
5 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
6
6 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
7
7 Fighting it out… Logic related problems Solution: Debugger!!!!!
8
8 Features in the Debugger Setting break points Evaluating expressions Discarding target data
9
9 Using the Debugger
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
20
21
21
22
22
23
23
24
24
25
25
26
26
27
27
28
28
29
29
30
30
31
31
32
32
33
33
34
34
35
35
36
36
37
37
38
38 Fighting it out… Other problems
39
39 Where to look? 1. Session property in Workflow monitor 2. Session log 3. Session property in Workflow designer 4. Debugger
40
40 Accessing the session property in Workflow monitor
41
41
42
42
43
43
44
44 Accessing the session Log file in Workflow monitor
45
45
46
46
47
47
48
48 Changing the logging to ‘verbose’ mode
49
49
50
50
51
51
52
52
53
53
54
54
55
55 Changing ‘NULL’ representation
56
56
57
57
58
58
59
59 Fighting it out… Common problems and causes SNoProblemSolution 1Workflow fails at the beginning itselfCheck monitor session properties if file access problems exist 2Workflow fails at the beginning itself, no file access problems Check SQL syntax in source qualifiers 3Workflow fails for some reasonCheck session log. If necessary, run session in ‘verbose’ mode 4Data is being truncated for some reasonCheck port length 5Logical equality/inequality operators do not seem to work Trimming is needed/Check data type 6Logical conditions are getting executed wrongly Check if NULL checks have been performed 7Numbers are being read from flat file. Corresponding calculation results are wrong Check length/precision of ports 8During debugging, all ports get null value Some fatal error has occurred. Eg: division by zero, invalid date
60
60 Thank You!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.