Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTK Post-hook tests are not compatible with existing Postman tests #1864

Closed
mdebarros opened this issue Nov 24, 2020 · 1 comment
Closed
Assignees
Labels
oss-ttk Related to the Mojaloop testing toolkit
Milestone

Comments

@mdebarros
Copy link
Member

Summary:
Testing Toolkit Post-Hook Install tests are not compatible with Postman. The Sim-onboarding and Goldenpath Postman test scripts will fail when running after the Post-Hook install tests. <-- Note: this will not impact default installations.

Golden_Path_Mojaloop.postman_collection.json Results:

┌─────────────────────────┬─────────────────────┬─────────────────────┐
│                         │            executed │              failed │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│              iterations │                   1 │                   0 │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│                requests │                 480 │                   2 │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│            test-scripts │                 842 │                   0 │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│      prerequest-scripts │                 755 │                   0 │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│              assertions │                1761 │                  47 │
├─────────────────────────┴─────────────────────┴─────────────────────┤
│ total run duration: 14m 17.8s                                       │
├─────────────────────────────────────────────────────────────────────┤
│ total data received: 537.36KB (approx)                              │
├─────────────────────────────────────────────────────────────────────┤
│ average response time: 332ms [min: 178ms, max: 35.4s, s.d.: 1629ms] │
└─────────────────────────────────────────────────────────────────────┘

   #  failure                                                   detail                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                  
 01.  AssertionError                                            Expected receiver first name is: PayeeFirst                                                                                                                                                                                       
                                                                expected 'SimFirst' to deeply equal 'PayeeFirst'                                                                                                                                                                                  
                                                                at assertion:18 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / p2p_money_transfer / p2p_happy_path_RECEIVE_quote / Get Party - MSISDN"                                                                                                                                   
                                                                                                                                                                                                                                                                                                  
 02.  AssertionError                                            Expected receiver last name is: PayeeLast                                                                                                                                                                                         
                                                                expected 'SimLast' to deeply equal 'PayeeLast'                                                                                                                                                                                    
                                                                at assertion:19 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / p2p_money_transfer / p2p_happy_path_RECEIVE_quote / Get Party - MSISDN"                                                                                                                                   
                                                                                                                                                                                                                                                                                                  
 03.  AssertionError                                            Expected receiver DOB: 2010-10-10                                                                                                                                                                                                 
                                                                expected '2000-10-10' to deeply equal '2010-10-10'                                                                                                                                                                                
                                                                at assertion:20 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / p2p_money_transfer / p2p_happy_path_RECEIVE_quote / Get Party - MSISDN"                                                                                                                                   
                                                                                                                                                                                                                                                                                                  
 04.  AssertionError                                            payee First name is PayeeFirst                                                                                                                                                                                                    
                                                                expected 'SimFirst' to deeply equal 'PayeeFirst'                                                                                                                                                                                  
                                                                at assertion:7 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / post_scenarios / positive / Post scenarios - MSISDN - SIMPAYER to SIMPAYEE"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 05.  AssertionError                                            payee Last name is PayeeLast                                                                                                                                                                                                      
                                                                expected 'SimLast' to deeply equal 'PayeeLast'                                                                                                                                                                                    
                                                                at assertion:8 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / post_scenarios / positive / Post scenarios - MSISDN - SIMPAYER to SIMPAYEE"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 06.  AssertionError                                            payee DOB is 2010-10-10                                                                                                                                                                                                           
                                                                expected '2000-10-10' to deeply equal '2010-10-10'                                                                                                                                                                                
                                                                at assertion:9 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / post_scenarios / positive / Post scenarios - MSISDN - SIMPAYER to SIMPAYEE"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 07.  AssertionError                                            First name of the party is PayeeFirst                                                                                                                                                                                             
                                                                expected 'SimFirst' to deeply equal 'PayeeFirst'                                                                                                                                                                                  
                                                                at assertion:34 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / post_scenarios / positive / Post scenarios - MSISDN - SIMPAYER to SIMPAYEE"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 08.  AssertionError                                            First name of the party is PayeeLast                                                                                                                                                                                              
                                                                expected 'SimLast' to deeply equal 'PayeeLast'                                                                                                                                                                                    
                                                                at assertion:35 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / post_scenarios / positive / Post scenarios - MSISDN - SIMPAYER to SIMPAYEE"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 09.  AssertionError                                            Date of Birth of the MSISDN is 2010-10-10                                                                                                                                                                                         
                                                                expected '2000-10-10' to deeply equal '2010-10-10'                                                                                                                                                                                
                                                                at assertion:36 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / post_scenarios / positive / Post scenarios - MSISDN - SIMPAYER to SIMPAYEE"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 10.  AssertionError                                            Expected receiver first name is: PayeeFirst                                                                                                                                                                                       
                                                                expected 'SimFirst' to deeply equal 'PayeeFirst'                                                                                                                                                                                  
                                                                at assertion:76 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / post_scenarios / positive / Post scenarios - MSISDN - SIMPAYER to SIMPAYEE"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 11.  AssertionError                                            Expected receiver last name is: PayeeLast                                                                                                                                                                                         
                                                                expected 'SimLast' to deeply equal 'PayeeLast'                                                                                                                                                                                    
                                                                at assertion:77 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / post_scenarios / positive / Post scenarios - MSISDN - SIMPAYER to SIMPAYEE"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 12.  AssertionError                                            Expected receiver DOB: 2010-10-10                                                                                                                                                                                                 
                                                                expected '2000-10-10' to deeply equal '2010-10-10'                                                                                                                                                                                
                                                                at assertion:78 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / post_scenarios / positive / Post scenarios - MSISDN - SIMPAYER to SIMPAYEE"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 13.  Error                                                     getaddrinfo ENOTFOUND dev2-central-settlement.mojaloop.live                                                                                                                                                                       
                                                                at request                                                                                                                                                                                                                        
                                                                inside ""                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                  
 14.  Error                                                     getaddrinfo ENOTFOUND dev2-central-settlement.mojaloop.live                                                                                                                                                                       
                                                                at request                                                                                                                                                                                                                        
                                                                inside ""                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                  
 15.  AssertionError                                            Settlement state should be PS_TRANSFERS_RECORDED                                                                                                                                                                                  
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'PS_TRANSFERS_RECORDED'                                                                                                                                                             
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Prepare Settlement / check state for participants after prepare"                                                                                             
                                                                                                                                                                                                                                                                                                  
 16.  AssertionError                                            Participant Account 7 state is PS_TRANSFERS_RECORDED                                                                                                                                                                              
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'PS_TRANSFERS_RECORDED'                                                                                                                                                             
                                                                at assertion:6 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Prepare Settlement / check state for participants after prepare"                                                                                             
                                                                                                                                                                                                                                                                                                  
 17.  AssertionError                                            Participant Account 9 state is PS_TRANSFERS_RECORDED                                                                                                                                                                              
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'PS_TRANSFERS_RECORDED'                                                                                                                                                             
                                                                at assertion:7 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Prepare Settlement / check state for participants after prepare"                                                                                             
                                                                                                                                                                                                                                                                                                  
 18.  AssertionError                                            Settlement state should be PS_TRANSFERS_RESERVED                                                                                                                                                                                  
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'PS_TRANSFERS_RESERVED'                                                                                                                                                             
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Reserve Settlement / check state for participants after reserve"                                                                                             
                                                                                                                                                                                                                                                                                                  
 19.  AssertionError                                            Participant Account 5 state is PS_TRANSFERS_RESERVED                                                                                                                                                                              
                                                                expected 'PS_TRANSFERS_RECORDED' to deeply equal 'PS_TRANSFERS_RESERVED'                                                                                                                                                          
                                                                at assertion:5 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Reserve Settlement / check state for participants after reserve"                                                                                             
                                                                                                                                                                                                                                                                                                  
 20.  AssertionError                                            Participant Account 7 state is PS_TRANSFERS_RESERVED                                                                                                                                                                              
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'PS_TRANSFERS_RESERVED'                                                                                                                                                             
                                                                at assertion:6 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Reserve Settlement / check state for participants after reserve"                                                                                             
                                                                                                                                                                                                                                                                                                  
 21.  AssertionError                                            Participant Account 9 state is PS_TRANSFERS_RESERVED                                                                                                                                                                              
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'PS_TRANSFERS_RESERVED'                                                                                                                                                             
                                                                at assertion:7 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Reserve Settlement / check state for participants after reserve"                                                                                             
                                                                                                                                                                                                                                                                                                  
 22.  AssertionError                                            Participant Account 11 state is PS_TRANSFERS_RESERVED                                                                                                                                                                             
                                                                expected 'PS_TRANSFERS_RECORDED' to deeply equal 'PS_TRANSFERS_RESERVED'                                                                                                                                                          
                                                                at assertion:8 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Reserve Settlement / check state for participants after reserve"                                                                                             
                                                                                                                                                                                                                                                                                                  
 23.  AssertionError                                            testfsp2 position account balance after reserve gets increased by its net settlement  amount.                                                                                                                                     
                                                                expected -75 to deeply equal 0                                                                                                                                                                                                    
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Reserve Settlement / SIM2 settlement&position accont balance after reserve"                                                                                  
                                                                                                                                                                                                                                                                                                  
 24.  AssertionError                                            payerfsp position account balance after reserve gets increased by its net settlement  amount.                                                                                                                                     
                                                                expected -10 to deeply equal 0                                                                                                                                                                                                    
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Reserve Settlement / SIMPAYER settlement&position accont balance after reserve"                                                                              
                                                                                                                                                                                                                                                                                                  
 25.  AssertionError                                            Settlement state should be PS_TRANSFERS_COMMITTED                                                                                                                                                                                 
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'PS_TRANSFERS_COMMITTED'                                                                                                                                                            
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Commit Settlement / check state for participants after commit"                                                                                               
                                                                                                                                                                                                                                                                                                  
 26.  AssertionError                                            Participant Account 5 state is PS_TRANSFERS_COMMITTED                                                                                                                                                                             
                                                                expected 'PS_TRANSFERS_RECORDED' to deeply equal 'PS_TRANSFERS_COMMITTED'                                                                                                                                                         
                                                                at assertion:5 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Commit Settlement / check state for participants after commit"                                                                                               
                                                                                                                                                                                                                                                                                                  
 27.  AssertionError                                            Participant Account 7 state is PS_TRANSFERS_COMMITTED                                                                                                                                                                             
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'PS_TRANSFERS_COMMITTED'                                                                                                                                                            
                                                                at assertion:6 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Commit Settlement / check state for participants after commit"                                                                                               
                                                                                                                                                                                                                                                                                                  
 28.  AssertionError                                            Participant Account 9 state is PS_TRANSFERS_COMMITTED                                                                                                                                                                             
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'PS_TRANSFERS_COMMITTED'                                                                                                                                                            
                                                                at assertion:7 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Commit Settlement / check state for participants after commit"                                                                                               
                                                                                                                                                                                                                                                                                                  
 29.  AssertionError                                            Participant Account 11 state is PS_TRANSFERS_COMMITTED                                                                                                                                                                            
                                                                expected 'PS_TRANSFERS_RECORDED' to deeply equal 'PS_TRANSFERS_COMMITTED'                                                                                                                                                         
                                                                at assertion:8 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Commit Settlement / check state for participants after commit"                                                                                               
                                                                                                                                                                                                                                                                                                  
 30.  AssertionError                                            testfsp1 position account balance after commit should be reduced by its net settlement amount.                                                                                                                                    
                                                                expected 80 to deeply equal 0                                                                                                                                                                                                     
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Commit Settlement / SIM1 settlement&position accont balance after commit"                                                                                    
                                                                                                                                                                                                                                                                                                  
 31.  AssertionError                                            testfsp2 position account balance before and after commit should be the same.                                                                                                                                                     
                                                                expected -75 to deeply equal 0                                                                                                                                                                                                    
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Commit Settlement / SIM2 settlement&position accont balance after commit"                                                                                    
                                                                                                                                                                                                                                                                                                  
 32.  AssertionError                                            payerfsp position account balance before and  after commit should be the same.                                                                                                                                                    
                                                                expected -10 to deeply equal 0                                                                                                                                                                                                    
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Commit Settlement / SIMPAYER settlement&position accont balance after commit"                                                                                
                                                                                                                                                                                                                                                                                                  
 33.  AssertionError                                            payeefsp position account balance after commit should be reduced by its net settlement amount.                                                                                                                                    
                                                                expected 5 to deeply equal 0                                                                                                                                                                                                      
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Commit Settlement / SIMPAYEE settlement&position accont balance after commit"                                                                                
                                                                                                                                                                                                                                                                                                  
 34.  AssertionError                                            Settlement state should be SETTLED                                                                                                                                                                                                
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'SETTLED'                                                                                                                                                                           
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / check state for participants after settle"                                                                                               
                                                                                                                                                                                                                                                                                                  
 35.  AssertionError                                            Settlement Window State should be SETTLED                                                                                                                                                                                         
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'SETTLED'                                                                                                                                                                           
                                                                at assertion:4 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / check state for participants after settle"                                                                                               
                                                                                                                                                                                                                                                                                                  
 36.  AssertionError                                            Participant Account 5 state is SETTLED                                                                                                                                                                                            
                                                                expected 'PS_TRANSFERS_RECORDED' to deeply equal 'SETTLED'                                                                                                                                                                        
                                                                at assertion:5 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / check state for participants after settle"                                                                                               
                                                                                                                                                                                                                                                                                                  
 37.  AssertionError                                            Participant Account 7 state is SETTLED                                                                                                                                                                                            
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'SETTLED'                                                                                                                                                                           
                                                                at assertion:6 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / check state for participants after settle"                                                                                               
                                                                                                                                                                                                                                                                                                  
 38.  AssertionError                                            Participant Account 9 state is SETTLED                                                                                                                                                                                            
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'SETTLED'                                                                                                                                                                           
                                                                at assertion:7 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / check state for participants after settle"                                                                                               
                                                                                                                                                                                                                                                                                                  
 39.  AssertionError                                            Participant Account 11 state is SETTLED                                                                                                                                                                                           
                                                                expected 'PS_TRANSFERS_RECORDED' to deeply equal 'SETTLED'                                                                                                                                                                        
                                                                at assertion:8 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / check state for participants after settle"                                                                                               
                                                                                                                                                                                                                                                                                                  
 40.  AssertionError                                            testfsp1 position account balance before and  after settle should be the same.                                                                                                                                                    
                                                                expected 80 to deeply equal 0                                                                                                                                                                                                     
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / SIM1 settlement&position accont balance after settle"                                                                                    
                                                                                                                                                                                                                                                                                                  
 41.  AssertionError                                            testfsp2 position account balance before and  after commit should be the same.                                                                                                                                                    
                                                                expected -75 to deeply equal 0                                                                                                                                                                                                    
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / SIM2 settlement&position accont balance after settle"                                                                                    
                                                                                                                                                                                                                                                                                                  
 42.  AssertionError                                            payerfsp position account balance before and  after commit should be the same.                                                                                                                                                    
                                                                expected -10 to deeply equal 0                                                                                                                                                                                                    
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / SIMPAYER settlement&position accont balance after settle"                                                                                
                                                                                                                                                                                                                                                                                                  
 43.  AssertionError                                            payeefsp position account balance before and  after commit should be the same.                                                                                                                                                    
                                                                expected 5 to deeply equal 0                                                                                                                                                                                                      
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / settlement_management / SETTLE  settlement / Settle Settlement / SIMPAYEE settlement&position accont balance after settle"                                                                                
                                                                                                                                                                                                                                                                                                  
 44.  AssertionError                                            Response should be timeout error information                                                                                                                                                                                      
                                                                expected { Object (errorInformation) } to deeply equal { Object (errorInformation) }                                                                                                                                              
                                                                at assertion:5 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / transfer_negative_scenarios / fulfil-reserved-v1.0 / Send Fulfill-Reserved"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 45.  AssertionError                                             fspiop-uri is /transfers/77dc54a9-10bb-41b6-b09e-672f0d3542f8                                                                                                                                                                    
                                                                expected '/transfers/77dc54a9-10bb-41b6-b09e-672f0d3542f8' to deeply equal '/transfers/77dc54a9-10bb-41b6-b09e-672f0d3542f8/error'                                                                                                
                                                                at assertion:8 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / transfer_negative_scenarios / fulfil-reserved-v1.0 / Check Transfer status"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 46.  TypeError                                                 Response errorCode should be 3303                                                                                                                                                                                                 
                                                                Cannot read property 'errorCode' of undefined                                                                                                                                                                                     
                                                                at assertion:9 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / transfer_negative_scenarios / fulfil-reserved-v1.0 / Check Transfer status"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 47.  TypeError                                                 Response errorDescription should be Transfer expired                                                                                                                                                                              
                                                                Cannot read property 'errorDescription' of undefined                                                                                                                                                                              
                                                                at assertion:10 in test-script                                                                                                                                                                                                    
                                                                inside "feature-tests / transfer_negative_scenarios / fulfil-reserved-v1.0 / Check Transfer status"                                                                                                                               
                                                                                                                                                                                                                                                                                                  
 48.  AssertionError                                            Callback payload should be errorInformation                                                                                                                                                                                       
                                                                expected { Object (errorInformation) } to deeply equal { Object (errorInformation) }                                                                                                                                              
                                                                at assertion:1 in test-script                                                                                                                                                                                                     
                                                                inside "feature-tests / transfer_negative_scenarios / payee_invalid_timestamp / Check Transfer status on Payerfsp - ErroInformation"                                                                                              
                                                                                                                                                                                                                                                                                                  
 49.  AssertionError                                            Expected Settlement State should be SETTLED                                                                                                                                                                                       
                                                                expected 'PENDING_SETTLEMENT' to deeply equal 'SETTLED'                                                                                                                                                                           
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "api-tests / SettlementWindows / 200 - ValidRequest - closedWindowById" 

MojaloopSims_Onboarding.postman_collection.json Results:

┌─────────────────────────┬─────────────────────┬────────────────────┐
│                         │            executed │             failed │
├─────────────────────────┼─────────────────────┼────────────────────┤
│              iterations │                   1 │                  0 │
├─────────────────────────┼─────────────────────┼────────────────────┤
│                requests │                 215 │                  0 │
├─────────────────────────┼─────────────────────┼────────────────────┤
│            test-scripts │                 183 │                  0 │
├─────────────────────────┼─────────────────────┼────────────────────┤
│      prerequest-scripts │                 115 │                  0 │
├─────────────────────────┼─────────────────────┼────────────────────┤
│              assertions │                  85 │                 14 │
├─────────────────────────┴─────────────────────┴────────────────────┤
│ total run duration: 1m 29.3s                                       │
├────────────────────────────────────────────────────────────────────┤
│ total data received: 97.32KB (approx)                              │
├────────────────────────────────────────────────────────────────────┤
│ average response time: 240ms [min: 186ms, max: 1098ms, s.d.: 97ms] │
└────────────────────────────────────────────────────────────────────┘

   #  failure                                                   detail                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                  
 01.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 400                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / payerfsp / account / Add payerfsp"                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                  
 02.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 500                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / payerfsp / account / Add initial position and limits - payerfsp"                                                                                                                                         
                                                                                                                                                                                                                                                                                                  
 03.  AssertionError                                            Final Payerfsp Settlement Account Balance should be same as before FundsIn + fundsInPrepareAmount                                                                                                                                 
                                                                expected -327000 to deeply equal '5000'                                                                                                                                                                                           
                                                                at assertion:1 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / payerfsp / account / Deposit Funds in Settlement Account - Payerfsp"                                                                                                                                     
                                                                                                                                                                                                                                                                                                  
 04.  AssertionError                                            Final Hub Reconciliation Account Balance should be same as before FundsIn                                                                                                                                                         
                                                                expected 6262000 to deeply equal ''                                                                                                                                                                                               
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / payerfsp / account / Deposit Funds in Settlement Account - Payerfsp"                                                                                                                                     
                                                                                                                                                                                                                                                                                                  
 05.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 400                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / payeefsp / accounts / Add payeefsp"                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                  
 06.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 500                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / payeefsp / accounts / Add initial position and limits - payeefsp"                                                                                                                                        
                                                                                                                                                                                                                                                                                                  
 07.  AssertionError                                            Final Payeefsp Settlement Account Balance should be same as before FundsIn + fundsInPrepareAmount                                                                                                                                 
                                                                expected -315000 to deeply equal '5000'                                                                                                                                                                                           
                                                                at assertion:1 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / payeefsp / accounts / Deposit Funds - Payeefsp"                                                                                                                                                          
                                                                                                                                                                                                                                                                                                  
 08.  AssertionError                                            Final Hub Reconciliation Account Balance should be same as before FundsIn                                                                                                                                                         
                                                                expected 6267000 to deeply equal ''                                                                                                                                                                                               
                                                                at assertion:2 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / payeefsp / accounts / Deposit Funds - Payeefsp"                                                                                                                                                          
                                                                                                                                                                                                                                                                                                  
 09.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 400                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / noresponsepayeefsp / accounts / Add noresponsepayeefsp"                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  
 10.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 500                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / noresponsepayeefsp / accounts / Add initial position and limits"                                                                                                                                         
                                                                                                                                                                                                                                                                                                  
 11.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 400                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / testfsp1 / accounts / Add testfsp1"                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                  
 12.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 500                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / testfsp1 / accounts / Add initial position and limits - testfsp1"                                                                                                                                        
                                                                                                                                                                                                                                                                                                  
 13.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 400                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / testfsp2 / accounts / Add testfsp2"                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                  
 14.  AssertionError                                            Status code is 201                                                                                                                                                                                                                
                                                                expected response to have status code 201 but got 500                                                                                                                                                                             
                                                                at assertion:0 in test-script                                                                                                                                                                                                     
                                                                inside "FSP Onboarding / testfsp2 / accounts / Add initial position and limits - testfsp2" 

Severity:
Low

Priority:
Low

Expected Behavior

Golden_Path_Mojaloop.postman_collection.json tests should pass 100%.

Steps to Reproduce

  1. Run helm3 install d2-116-2 ./mojaloop -f ./values-dev2-mojaloop-harness-IGNORE.yaml --wait --timeout 20m --set ml-ttk-posthook-setup.postInstallHook.enabled=true,ml-ttk-posthook-tests.postInstallHook.enabled=true
  2. Run newman run --delay-request=250 --environment=./values-dev2-mojaloop-harness-IGNORE.yaml MojaloopSims_Onboarding.postman_collection.json
  3. Run newman run --delay-request=500 --environment=./values-dev2-mojaloop-harness-IGNORE.yaml Golden_Path_Mojaloop.postman_collection.json

Specifications

  • Component (if known): Testing-Toolkit + Postman collections
  • Version: v11.x
  • Platform: n/a
  • Subsystem: n/a
  • Type of testing: manual
  • Bug found/raised by: @mdebarros

Notes:

  • Severity when opened: low
  • Priority when opened: low
@mdebarros mdebarros added the bug label Nov 24, 2020
@elnyry-sam-k elnyry-sam-k added the oss-ttk Related to the Mojaloop testing toolkit label Nov 24, 2020
@elnyry-sam-k elnyry-sam-k added this to the Sprint 12.2 milestone Nov 24, 2020
mdebarros added a commit to mojaloop/helm that referenced this issue Nov 25, 2020
## Helm release changes

### 1. Maintenance updates
1. GitHub issue: mojaloop/project#1617
2. FSP Interoperability API v1.1 Swagger file used from here: https://github.com/mojaloop/mojaloop-specification/tree/master/documents/v1.1-document-set
3. For breaking changes, please review the "Breaking Changes" section below for for Mojaloop Helm v11.0.0
4. Notes on simulators 
	- [Mojaloop-Simulator](https://github.com/mojaloop/mojaloop-simulator) is enabled by default (six instances used). 
	- Ensure that correct Postman Scripts are used if you wish to test against the Mojaloop-Simulators:
        	-  A single MojaSim collection is now available after reconciliation between two collections that existed previously.
        	- Setup Mojaloop Hub : [MojaloopHub_Setup](https://github.com/mojaloop/postman/blob/master/MojaloopHub_Setup.postman_collection.json)
        	- Setup Mojaloop Simulators for testing : [MojaloopSims_Onboarding](https://github.com/mojaloop/postman/blob/master/MojaloopSims_Onboarding.postman_collection.json)
        	- Golden path tests: [Golden_Path_Mojaloop](https://github.com/mojaloop/postman/blob/master/Golden_Path_Mojaloop.postman_collection.json)
	- Legacy Simulators are still required and deployed by default; disabling this will cause issues since there is Account Lookup directory mocking functionality in this service. To run Golden path tests using the Legacy simulator:
                - Setup Mojaloop Hub, test FSPs : [ML_OSS_Setup_LegacySim](https://github.com/mojaloop/postman/blob/master/ML_OSS_Setup_LegacySim.postman_collection.json)
        	- Golden path tests: [ML_OSS_Golden_Path_LegacySim](https://github.com/mojaloop/postman/blob/master/ML_OSS_Golden_Path_LegacySim.postman_collection.json)
	- In order to run the Legacy Simulator postman collection or the Mojaloop-Simulator collection, their corresponding setup collection needs to be run first; this can be done without redeployment.
5. Upgrades to all core and supporting services to support 11.0.0 release _(see Application versions and release notes below)_
6. The current Golden Path collection expects
 `quoting-service.config.simple_routing_mode_enabled` to be set to `false` to get 100% pass-rate, if this flag is disabled, there will be failures in several quoting-service tests (7 expected failures). This command can be used to override the default config: `helm install moja ./mojaloop/ -n demo --set quoting-service.config.simple_routing_mode_enabled=false`
7. Along with this configuration for on-us transfers is disabled on both default deployments and postman (ON_US_TRANSFERS_ENABLED on postman) collections.
8. Moving to SemVer as the standard is now adopted. This will start with v11.0.0 and follow the general semantic versioning guidance after that.
9. Updated Promfana chart with "Prometheus: v2.20.1; Grafana: v7.1.1"
10. Updated EFK chart with “appVersion: "elasticsearch: 7.7.1; kibana: 7.7.1; apm-server: 7.7.1; fluentd-elasticsearch: 3.0.4"
11. Charts now support deployments on Kubernetes v1.16.x onwards - Fix for issue #219
12. Removed deprecated ingress-nginx chart (#350). Please use [Nginx official chart](https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/).
13. Updated official Helm repo URIs for stable & incubator dependencies and documentation: 
	- Stable: https://kubernetes-charts.storage.googleapis.com/ --> https://charts.helm.sh/stable
	- Incubator: http://storage.googleapis.com/kubernetes-charts-incubator --> https://charts.helm.sh/incubator
13. Updated `innodb_flush_log_at_trx_commit` to the value of `1` for MySQL servers to ensure ACID compliance (ref: https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_flush_log_at_trx_commit)
14. Renamed Central-Event-Processor's (CEP) MongoDB instance dependency to: `nameOverride: cep-mongodb`. This will ensure that the CEP has its own MongoDB instance.
15. Renamed Mojaloop-Self-Testing-Toolkit's (TTK) MongoDB instance dependency to: `nameOverride: ttk-mongodb`. This will ensure that the TTK has its own MongoDB instance.


### 2. New Features
1. Along with changes from v10.4.0 related to the version v1.1 of the Mojaloop FSP Interoperability API, additional follow-up changes are implemented and a few fixes made. The changes are listed in the [tracking issue](mojaloop/mojaloop-specification#52) of the specification and there is additional context offered [here](https://mojaloop.io/mojaloop-fsp-interoperability-api-version-1-1/). Epic: mojaloop/project#1333
2. Added TTK CLI chart to ml-testing-toolkit (#380).
3. Added the option to pass a template as the rules.json (#353) in quoting service
4. Updates for bulk transfers support in MojaSims/Scheme-Adapter (mojaloop/project/issues/1386)
5. Added charts for bulk-get-handler: mojaloop/project/issues/1496
6. Package development versions (#354)
7. Update helm charts to support kubernetes deployments1.15 and later versions: mojaloop/project/issues/1463 (PR#349)
8. Added TTK CLI chart to ml-testing-toolkit (#380)
9. Modified the testing toolkit CLI chart to enabled scheduling (#381) 


### 3. Bug Fixes
1. Incorrect error behaviour on transfer fulfilment with future timestamp [1708](mojaloop/project#1708)
2. ACCEPT header returned in the PUT from switch for the timeout scenario [1710](mojaloop/project#1710) 
3. Date header missing from the Switch signature in timeout scenario [1709](mojaloop/project#1709)  
4. Valid transactionRequests callback in SDK responding with error response [1647](mojaloop/project#1647)  
5. Support test currencies XXX, XTS in ml-api-adapter [1652](mojaloop/project#1652)

## 4. Application versions
Application versions that are supported for this update:
1. ml-api-adapter: v10.5.0 -> **v11.1.2**
2. central-ledger: v10.5.1 -> **v11.3.1**
3. account-lookup-service: v10.4.2 -> **v11.1.2**
4. quoting-service: v10.5.5 -> **v11.1.4**
5. central-settlement: **v10.5.0** (no change)
6. central-event-processor: **v10.5.0** (no change)
7. bulk-api-adapter: v10.5.0 -> **v11.0.2**
8. email-notifier: **v9.5.0** (no change)
9. als-oracle-pathfinder: v9.4.0 --> **v10.2.0**
10. transaction-requests-service: v10.4.0 -> **v11.1.2**
11. finance-portal-ui: **v10.4.0** (no change)
12. finance-portal-backend-service: **v10.4.0** (no change)
13. settlement-management: **v8.8.2** (no change)
14. operator-settlement: **v9.2.1**  (no change)
15. event-sidecar: **v9.5.1**  (no change)
16. event-stream-processor: **v9.5.0-snapshot**
17. simulator: v10.5.3 -> **v11.0.2**
18. mojaloop-simulator: v10.4.1 -> **v11.2.1**
19. sdk-scheme-adapter: v10.5.0 -> **v11.8.0**
20. ml-testing-toolkit: v10.4.1 -> **v11.5.0**
21. ml-testing-toolkit-ui: v10.4.1 -> **v11.5.0**
22. ml-testing-toolkit-cli: **v11.3.0** (new)
 
## 5. Application release notes
1. ml-api-adapter - https://github.com/mojaloop/ml-api-adapter/releases/tag/v11.1.2
2. central-ledger - https://github.com/mojaloop/central-ledger/releases/tag/v11.3.1
3. account-lookup-service - https://github.com/mojaloop/account-lookup-service/releases/tag/v11.1.2
4. quoting-service - https://github.com/mojaloop/quoting-service/releases/tag/v11.1.4
5. central-settlement- https://github.com/mojaloop/central-settlement/releases/tag/v10.5.0
6. central-event-processor - https://github.com/mojaloop/central-event-processor/releases/tag/v10.5.0
7. bulk-api-adapter - https://github.com/mojaloop/bulk-api-adapter/releases/tag/v11.0.2
8. email-notifier - https://github.com/mojaloop/email-notifier/releases/tag/v9.5.0
9. als-oracle-pathfinder - https://github.com/mojaloop/als-oracle-pathfinder/releases/tag/v10.2.0
10. transaction-requests-service - https://github.com/mojaloop/transaction-requests-service/releases/tag/v11.1.2
11. finance-portal-ui - https://github.com/mojaloop/finance-portal-ui/releases/tag/v10.4.0
12. finance-portal-backend-service - https://github.com/mojaloop/finance-portal-backend-service/releases/tag/v10.4.0
13. settlement-management - https://github.com/mojaloop/settlement-management/releases/tag/v8.8.2
14. operator-settlement - https://github.com/mojaloop/operator-settlement/releases/tag/v9.2.1
15. event-sidecar - https://github.com/mojaloop/event-sidecar/releases/tag/v9.5.1
16. event-stream-processor - https://github.com/mojaloop/event-stream-processor/releases/v9.5.0-snapshot
17. simulator - https://github.com/mojaloop/simulator/releases/tag/v11.0.2
18. mojaloop-simulator - https://github.com/mojaloop/mojaloop-simulator/releases/tag/v11.2.1
19. sdk-scheme-adapter - https://github.com/mojaloop/sdk-scheme-adapter/releases/tag/v11.8.0
20. ml-testing-toolkit - https://github.com/mojaloop/ml-testing-toolkit/releases/tag/v11.5.0
21. ml-testing-toolkit-ui - https://github.com/mojaloop/ml-testing-toolkit-ui/releases/tag/v11.5.0
22. ml-testing-toolkit-cli - https://github.com/mojaloop/ml-testing-toolkit-ui/releases/tag/v11.3.0
 
## 6. Operational Chart versions
- EFK: **v7.1.0**  -> **v11.0.0**
- Promfana: **v8.4.0** -> **v11.0.0**

## 7. Breaking changes
- Helm release v10.4.0 is not upgradable to v11.0.0 - mojaloop/project#1759

## 8. Known Issues
- Proposal to remove external dependencies from Mojaloop Helm Charts - mojaloop/design-authority-project#69 **(_Note: this will be a breaking change in the next major release_)**
- ~Testing Toolkit Post-Hook Install tests are not compatible with Postman (_Note: this will not impact default installations_) - mojaloop/project#1864


## 9. Contributors:

- Contributing organizations: BMGF, CrossLake, MBX 
- Crosslake: @lewisdaly
- ModusBox: @amarmodus, @elnyry-sam-k , @mdebarros, @oderayi, @rmothilal , @vgenev , @vijayg10, @msk-, @vbarzokas, @aaronreynoza, @KamuelaFranco
- Individuals:  @vorburger
_Note: companies in alphabetical order_

---
## PR Dependencies
- mojaloop/project#1866
- mojaloop/postman#188
@elnyry-sam-k
Copy link
Member

Fixed and closed with #1866

@elnyry-sam-k elnyry-sam-k removed this from the Sprint 12.2 milestone Nov 25, 2020
@vijayg10 vijayg10 added this to the Sprint 12.2 milestone Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oss-ttk Related to the Mojaloop testing toolkit
Projects
None yet
Development

No branches or pull requests

3 participants