Untitled

mail@pastecode.io avatar
unknown
java
a year ago
94 kB
2
Indexable
Never
nstall
[INFO] Scanning for projects...
Downloading from snapshots: https://jfrog-artifactory.supporting.devmandiri.co.id:443/maven-dependencies/id/co/bankmandiri/nbds/parent-pom/0.0.1-SNAPSHOT/maven-metadata.xml
Downloading from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/parent-pom/0.0.1-SNAPSHOT/maven-metadata.xml
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/parent-pom/0.0.1-SNAPSHOT/maven-metadata.xml
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/parent-pom/0.0.1-SNAPSHOT/maven-metadata.xml (611 B at 337 B/s)
Downloaded from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/parent-pom/0.0.1-SNAPSHOT/maven-metadata.xml (611 B at 337 B/s)
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for id.co.bankmandiri.nbds:casa-service:jar:0.1.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ id.co.bankmandiri.nbds:casa-service:${version}, /Users/yogierka/Documents/nbds/casa-service/pom.xml, line 15, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ----------------< id.co.bankmandiri.nbds:casa-service >-----------------
[INFO] Building casa-service 0.1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/newbds-starter/0.0.1-SNAPSHOT/maven-metadata.xml
Downloading from snapshots: https://jfrog-artifactory.supporting.devmandiri.co.id:443/maven-dependencies/id/co/bankmandiri/nbds/newbds-starter/0.0.1-SNAPSHOT/maven-metadata.xml
Downloading from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/newbds-starter/0.0.1-SNAPSHOT/maven-metadata.xml
Downloaded from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/newbds-starter/0.0.1-SNAPSHOT/maven-metadata.xml (789 B at 971 B/s)
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/newbds-starter/0.0.1-SNAPSHOT/maven-metadata.xml (789 B at 971 B/s)
Downloading from snapshots: https://jfrog-artifactory.supporting.devmandiri.co.id:443/maven-dependencies/id/co/bankmandiri/nbds/common-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/common-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloading from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/common-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/common-helper/0.1.0-SNAPSHOT/maven-metadata.xml (791 B at 2.2 kB/s)
Downloaded from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/common-helper/0.1.0-SNAPSHOT/maven-metadata.xml (791 B at 2.2 kB/s)
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/common-helper/0.1.0-SNAPSHOT/common-helper-0.1.0-20221223.074117-155.pom
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/common-helper/0.1.0-SNAPSHOT/common-helper-0.1.0-20221223.074117-155.pom (3.9 kB at 6.1 kB/s)
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/core-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloading from snapshots: https://jfrog-artifactory.supporting.devmandiri.co.id:443/maven-dependencies/id/co/bankmandiri/nbds/core-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloading from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/core-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/core-helper/0.1.0-SNAPSHOT/maven-metadata.xml (614 B at 688 B/s)
Downloaded from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/core-helper/0.1.0-SNAPSHOT/maven-metadata.xml (614 B at 688 B/s)
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/core-helper/0.1.0-SNAPSHOT/core-helper-0.1.0-20221223.074115-155.pom
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/core-helper/0.1.0-SNAPSHOT/core-helper-0.1.0-20221223.074115-155.pom (5.0 kB at 6.1 kB/s)
Downloading from snapshots: https://jfrog-artifactory.supporting.devmandiri.co.id:443/maven-dependencies/id/co/bankmandiri/nbds/telemetry-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/telemetry-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloading from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/telemetry-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloaded from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/telemetry-helper/0.1.0-SNAPSHOT/maven-metadata.xml (794 B at 1.2 kB/s)
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/telemetry-helper/0.1.0-SNAPSHOT/maven-metadata.xml (794 B at 1.2 kB/s)
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/telemetry-helper/0.1.0-SNAPSHOT/telemetry-helper-0.1.0-20221223.074117-155.pom
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/telemetry-helper/0.1.0-SNAPSHOT/telemetry-helper-0.1.0-20221223.074117-155.pom (1.4 kB at 1.5 kB/s)
Downloading from snapshots: https://jfrog-artifactory.supporting.devmandiri.co.id:443/maven-dependencies/id/co/bankmandiri/nbds/audit-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloading from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/audit-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/audit-helper/0.1.0-SNAPSHOT/maven-metadata.xml
Downloaded from oracle-repo: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/audit-helper/0.1.0-SNAPSHOT/maven-metadata.xml (790 B at 957 B/s)
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/audit-helper/0.1.0-SNAPSHOT/maven-metadata.xml (790 B at 956 B/s)
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/audit-helper/0.1.0-SNAPSHOT/audit-helper-0.1.0-20221223.074118-155.pom
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/audit-helper/0.1.0-SNAPSHOT/audit-helper-0.1.0-20221223.074118-155.pom (938 B at 1.1 kB/s)
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/common-helper/0.1.0-SNAPSHOT/common-helper-0.1.0-20221223.074117-155.jar
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/telemetry-helper/0.1.0-SNAPSHOT/telemetry-helper-0.1.0-20221223.074117-155.jar
Downloading from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/audit-helper/0.1.0-SNAPSHOT/audit-helper-0.1.0-20221223.074118-155.jar
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/audit-helper/0.1.0-SNAPSHOT/audit-helper-0.1.0-20221223.074118-155.jar (15 kB at 41 kB/s)
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/telemetry-helper/0.1.0-SNAPSHOT/telemetry-helper-0.1.0-20221223.074117-155.jar (80 kB at 212 kB/s)
Downloaded from omni-archetype: https://jfrog-artifactory.supporting.devmandiri.co.id:443/artifactory/maven-dependencies/id/co/bankmandiri/nbds/common-helper/0.1.0-SNAPSHOT/common-helper-0.1.0-20221223.074117-155.jar (357 kB at 170 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ casa-service ---
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.4:prepare-agent (jacoco-initialize) @ casa-service ---
[INFO] argLine set to -javaagent:/Users/yogierka/.m2/repository/org/jacoco/org.jacoco.agent/0.8.4/org.jacoco.agent-0.8.4-runtime.jar=destfile=/Users/yogierka/Documents/nbds/casa-service/target/jacoco.exec,append=true,excludes=**/util/**:**/configuration/**:**/model/**,output=file
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ casa-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 17 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ casa-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 121 source files to /Users/yogierka/Documents/nbds/casa-service/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ casa-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/yogierka/Documents/nbds/casa-service/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ casa-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to /Users/yogierka/Documents/nbds/casa-service/target/test-classes
[INFO] /Users/yogierka/Documents/nbds/casa-service/src/test/java/id/co/bankmandiri/nbds/casaservice/adaptor/nbds/NBDSAdaptorTest.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/yogierka/Documents/nbds/casa-service/src/test/java/id/co/bankmandiri/nbds/casaservice/adaptor/nbds/NBDSAdaptorTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ casa-service ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running id.co.bankmandiri.nbds.casaservice.repository.CardImageRepositoryTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 s - in id.co.bankmandiri.nbds.casaservice.repository.CardImageRepositoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.repository.CardProductRepositoryTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in id.co.bankmandiri.nbds.casaservice.repository.CardProductRepositoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.repository.CasaProductRepositoryTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in id.co.bankmandiri.nbds.casaservice.repository.CasaProductRepositoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptorTest
11:25:00.221 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptor - Get user operation by userId error = 500 - 
11:25:00.461 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptor - Get data customer by customerId error = 500 - 
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.804 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptorTest
[ERROR] shouldSuccessGetCustomerById  Time elapsed: 0.208 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <CustomerResponse(cif=cif_12, fullname=null, customerType=null, branchCode=null, accountNumber=null, customerId=123, email=null, phoneNumber=null, gender=null, address=null, identityType=null, nik=null)> but was: <null>
        at id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptorTest.shouldSuccessGetCustomerById(NBDSAdaptorTest.java:91)

[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAllDebitCardListAdaptorTest
11:25:00.646 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifdebitcardlist.CifAllDebitCardListAdaptor - Bad Response From eMas System
11:25:00.652 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifdebitcardlist.CifAllDebitCardListAdaptor - CifAllDebitCardListAdaptor.error = null
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.183 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAllDebitCardListAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.CreditCardCustomerListingAdaptorTest
11:25:00.715 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.ics.CreditCardCustomerListingAdaptor - Bad Response From ics System
11:25:00.719 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.ics.CreditCardCustomerListingAdaptor - CreditCardCustomerListingAdaptor.error = null
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.CreditCardCustomerListingAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.TimeDepositInquiryAdaptorTest
11:25:00.805 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.timedepositinquiry.TimeDepositInquiryAdaptor - Bad Response From eMas System
11:25:00.808 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.timedepositinquiry.TimeDepositInquiryAdaptor - TimeDepositInquiryAdaptor.error = null
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.TimeDepositInquiryAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAccountInquirySimpleAdaptorTest
11:25:00.876 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifaccountinquirysimple.CifAccountInquirySimpleAdaptor - Bad Response From eMas System
11:25:00.880 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifaccountinquirysimple.CifAccountInquirySimpleAdaptor - CifAccountInquirySimpleAdaptor.error = null
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAccountInquirySimpleAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptorTest
11:25:00.898 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptor - Iris Adaptor Error error 
11:25:00.903 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptor - Iris Adaptor Error 500 INTERNAL_SERVER_ERROR - 
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptorTest
11:25:00.925 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - Bad Response from API400 system
11:25:00.928 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - Failed Response get CIF by NIK = {responseSender=MBASE - API400, responseTimestamp=2022-03-30T12:35:56Z, messageIdentifier=1122334455, responseMessage=[{errorMessage=DATA TIDAK ADA DI DATABASE.(MBFCF01020), errorCode=MBM2001}], responseCode=2}
11:25:00.935 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - Failed Response get CIF by NIK = {responseTimestamp=2021-11-19T03:21:32Z, payload=[{customerNumber=0000000001003742119}], responseMessage=[{errorMessage=IP ADDRESS TIDAK VALID, errorCode=2}], responseCode=2}
11:25:00.943 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - CifInquiryByNikAdaptor.error = 500 - 
11:25:00.946 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - CifInquiryByNikAdaptor.error = Masalah Koneksi dengan BDS
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s - in id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptorTest
11:25:00.972 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - Bad Response from API400 system
11:25:00.976 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - Account Inquiry Details response: 2 - NOT FOUND in account number: 0000001150006392619
11:25:00.980 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - AccountDetailInquiryAdaptor.error = 500 - 
11:25:00.985 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - AccountDetailInquiryAdaptor.error = Masalah Koneksi dengan BDS
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptorTest
11:25:00.996 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - Error = null
11:25:01.007 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - AccountInquiryAdaptor.error = 404 - 
11:25:01.012 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - Bad Response from API400 system
11:25:01.018 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - AccountInquiryAdaptor.error = null
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 s - in id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.controller.CardControllerTest

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/credit-card/accounts
       Parameters = {cif=[1003742151]}
          Headers = [Authorization:"12345"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CardController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CardController#getListCreditCards(String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"creditCards":[{"supplementaryCards":[{"cardId":"12345"}]}]}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/card/inquiry
       Parameters = {}
          Headers = [Authorization:"12345"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CardController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CardController#getCards(Integer, String, String, Boolean, String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = POST
      Request URI = /casa/v1/card/status
       Parameters = {}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json", Content-Length:"35"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CardController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CardController#listAccounts(CardStatusRequest)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accountName":"account_name","accountNumber":"8888xxxx","currencyCode":"currency_code"}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.809 s - in id.co.bankmandiri.nbds.casaservice.controller.CardControllerTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.controller.ImageControllerTest

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/image/eddb687e-cec5-4876-91b7-e8e62d528c15.png
       Parameters = {}
          Headers = [Authorization:"12345"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.ImageController
           Method = id.co.bankmandiri.nbds.casaservice.controller.ImageController#getContentImage(String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"image/eddb687e-cec5-4876-91b7-e8e62d528c15"]
     Content type = image/eddb687e-cec5-4876-91b7-e8e62d528c15
             Body = 
    Forwarded URL = null
   Redirected URL = null
          Cookies = []
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in id.co.bankmandiri.nbds.casaservice.controller.ImageControllerTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.controller.CasaControllerTest

MockHttpServletRequest:
      HTTP Method = POST
      Request URI = /casa/v1/accounts
       Parameters = {}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json", Content-Length:"166"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#listAccounts(GetCasaAccountsRequest)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accounts":[{"accountNumber":"1150006389516"}]}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = POST
      Request URI = /casa/v1/validate-account
       Parameters = {}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json", Content-Length:"116"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#validateAccount(ValidateAccountRequest)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accountNumber":"1150006389516","currencyCode":"IDR"}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/casa-detail
       Parameters = {productCode=[112233]}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#getCasaDetail(String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"productName":"product_name"}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/account/transaction-history
       Parameters = {accountNumber=[1150006389516]}
          Headers = [Content-Type:"application/json", Accept:"application/json"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#transactionHistory(String, String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accountBalance":100000,"transactionHistory":[{"postingDate":"111111111"}]}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.295 s - in id.co.bankmandiri.nbds.casaservice.controller.CasaControllerTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.CommonServiceTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s - in id.co.bankmandiri.nbds.casaservice.service.CommonServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryTest
11:25:03.390 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryService - Iris header code : 01
11:25:03.393 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryService - User isn't eligible to access transaction history
11:25:03.398 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryService - time deposit error 2 - null
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.179 s - in id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCasaDetailServiceTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.16 s - in id.co.bankmandiri.nbds.casaservice.service.GetCasaDetailServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCasaImageServiceTest
11:25:03.611 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.GetCasaImageService - Error 40103: Image Content card/1.png not found
11:25:03.613 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.GetCasaImageService - Error 40103: Image card/1.png not found
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s - in id.co.bankmandiri.nbds.casaservice.service.GetCasaImageServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.ValidateAccountServiceTest
11:25:03.668 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.ValidateAccountService - Casa Product is not found, Product Code = [77777]
11:25:03.672 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.ValidateAccountService - Casa Product is not allowed credit, Product Code = [77777]
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 s - in id.co.bankmandiri.nbds.casaservice.service.ValidateAccountServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest
[ERROR] Tests run: 17, Failures: 3, Errors: 3, Skipped: 0, Time elapsed: 0.043 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest
[ERROR] shouldSuccessExecuteCardDetailCommonServiceGetCardInfo  Time elapsed: 0.003 s  <<< ERROR!
id.co.bankmandiri.nbds.common.exception.BusinessException: 
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfo(CardDetailCommonServiceTest.java:119)

[ERROR] shouldReturnNullCardsList  Time elapsed: 0.002 s  <<< ERROR!
id.co.bankmandiri.nbds.common.exception.BusinessException: 
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldReturnNullCardsList(CardDetailCommonServiceTest.java:170)

[ERROR] shouldSuccessExecuteCardDetailCommonServiceGetCardInfoButAccountNumberNot13  Time elapsed: 0.002 s  <<< ERROR!
id.co.bankmandiri.nbds.common.exception.BusinessException: 
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfoButAccountNumberNot13(CardDetailCommonServiceTest.java:129)

[ERROR] shouldSuccessGetCardInfoAndCardStatusPermblock  Time elapsed: 0.003 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <EXPIRED> but was: <PERMBLOCK>
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessGetCardInfoAndCardStatusPermblock(CardDetailCommonServiceTest.java:232)

[ERROR] shouldFailedGetCardInfoFromESB  Time elapsed: 0.002 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <30096> but was: <40099>
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldFailedGetCardInfoFromESB(CardDetailCommonServiceTest.java:144)

[ERROR] shouldSuccessGetCardInfoFromAccountNumber  Time elapsed: 0.002 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: not <null>
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessGetCardInfoFromAccountNumber(CardDetailCommonServiceTest.java:316)

[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest
[ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.056 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest
[ERROR] shouldSuccess  Time elapsed: 0.03 s  <<< ERROR!
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest.shouldSuccess(GetListCreditCardServiceTest.java:112)

[ERROR] shouldSuccessSupplemenaryCardOnly  Time elapsed: 0.004 s  <<< ERROR!
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest.shouldSuccessSupplemenaryCardOnly(GetListCreditCardServiceTest.java:143)

[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCasaAccountServiceTest
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.094 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.service.GetCasaAccountServiceTest
[ERROR] shouldSuccessExecuteGetCasaAccountServiceWithTransactionTypeTransfer  Time elapsed: 0.015 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
        at id.co.bankmandiri.nbds.casaservice.service.GetCasaAccountServiceTest.shouldSuccessExecuteGetCasaAccountServiceWithTransactionTypeTransfer(GetCasaAccountServiceTest.java:193)

[INFO] Running id.co.bankmandiri.nbds.casaservice.service.CardStatusServiceTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s - in id.co.bankmandiri.nbds.casaservice.service.CardStatusServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCardsServiceTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in id.co.bankmandiri.nbds.casaservice.service.GetCardsServiceTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   NBDSAdaptorTest.shouldSuccessGetCustomerById:91 expected: <CustomerResponse(cif=cif_12, fullname=null, customerType=null, branchCode=null, accountNumber=null, customerId=123, email=null, phoneNumber=null, gender=null, address=null, identityType=null, nik=null)> but was: <null>
[ERROR]   CardDetailCommonServiceTest.shouldFailedGetCardInfoFromESB:144 expected: <30096> but was: <40099>
[ERROR]   CardDetailCommonServiceTest.shouldSuccessGetCardInfoAndCardStatusPermblock:232 expected: <EXPIRED> but was: <PERMBLOCK>
[ERROR]   CardDetailCommonServiceTest.shouldSuccessGetCardInfoFromAccountNumber:316 expected: not <null>
[ERROR]   GetCasaAccountServiceTest.shouldSuccessExecuteGetCasaAccountServiceWithTransactionTypeTransfer:193 expected: <true> but was: <false>
[ERROR] Errors: 
[ERROR]   CardDetailCommonServiceTest.shouldReturnNullCardsList:170 » Business 
[ERROR]   CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfo:119 » Business
[ERROR]   CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfoButAccountNumberNot13:129 » Business
[ERROR]   GetListCreditCardServiceTest.shouldSuccess:112 » IndexOutOfBounds Index 0 out ...
[ERROR]   GetListCreditCardServiceTest.shouldSuccessSupplemenaryCardOnly:143 » IndexOutOfBounds
[INFO] 
[ERROR] Tests run: 109, Failures: 5, Errors: 5, Skipped: 3
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  28.474 s
[INFO] Finished at: 2022-12-26T11:25:04+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project casa-service: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/yogierka/Documents/nbds/casa-service/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
yogierka@MacBook-Pro-Yogi casa-service % mvn clean install
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for id.co.bankmandiri.nbds:casa-service:jar:0.1.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ id.co.bankmandiri.nbds:casa-service:${version}, /Users/yogierka/Documents/nbds/casa-service/pom.xml, line 15, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ----------------< id.co.bankmandiri.nbds:casa-service >-----------------
[INFO] Building casa-service 0.1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ casa-service ---
[INFO] Deleting /Users/yogierka/Documents/nbds/casa-service/target
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.4:prepare-agent (jacoco-initialize) @ casa-service ---
[INFO] argLine set to -javaagent:/Users/yogierka/.m2/repository/org/jacoco/org.jacoco.agent/0.8.4/org.jacoco.agent-0.8.4-runtime.jar=destfile=/Users/yogierka/Documents/nbds/casa-service/target/jacoco.exec,append=true,excludes=**/util/**:**/configuration/**:**/model/**,output=file
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ casa-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ casa-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 121 source files to /Users/yogierka/Documents/nbds/casa-service/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ casa-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/yogierka/Documents/nbds/casa-service/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ casa-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to /Users/yogierka/Documents/nbds/casa-service/target/test-classes
[INFO] /Users/yogierka/Documents/nbds/casa-service/src/test/java/id/co/bankmandiri/nbds/casaservice/adaptor/nbds/NBDSAdaptorTest.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/yogierka/Documents/nbds/casa-service/src/test/java/id/co/bankmandiri/nbds/casaservice/adaptor/nbds/NBDSAdaptorTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ casa-service ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running id.co.bankmandiri.nbds.casaservice.repository.CardImageRepositoryTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.004 s - in id.co.bankmandiri.nbds.casaservice.repository.CardImageRepositoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.repository.CardProductRepositoryTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in id.co.bankmandiri.nbds.casaservice.repository.CardProductRepositoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.repository.CasaProductRepositoryTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in id.co.bankmandiri.nbds.casaservice.repository.CasaProductRepositoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptorTest
11:29:54.436 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptor - Get user operation by userId error = 500 - 
11:29:54.664 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptor - Get data customer by customerId error = 500 - 
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.712 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptorTest
[ERROR] shouldSuccessGetCustomerById  Time elapsed: 0.197 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <CustomerResponse(cif=cif_12, fullname=null, customerType=null, branchCode=null, accountNumber=null, customerId=123, email=null, phoneNumber=null, gender=null, address=null, identityType=null, nik=null)> but was: <null>
        at id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptorTest.shouldSuccessGetCustomerById(NBDSAdaptorTest.java:91)

[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAllDebitCardListAdaptorTest
11:29:54.829 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifdebitcardlist.CifAllDebitCardListAdaptor - Bad Response From eMas System
11:29:54.832 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifdebitcardlist.CifAllDebitCardListAdaptor - CifAllDebitCardListAdaptor.error = null
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.162 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAllDebitCardListAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.CreditCardCustomerListingAdaptorTest
11:29:54.885 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.ics.CreditCardCustomerListingAdaptor - Bad Response From ics System
11:29:54.888 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.ics.CreditCardCustomerListingAdaptor - CreditCardCustomerListingAdaptor.error = null
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.CreditCardCustomerListingAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.TimeDepositInquiryAdaptorTest
11:29:54.974 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.timedepositinquiry.TimeDepositInquiryAdaptor - Bad Response From eMas System
11:29:54.978 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.timedepositinquiry.TimeDepositInquiryAdaptor - TimeDepositInquiryAdaptor.error = null
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.TimeDepositInquiryAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAccountInquirySimpleAdaptorTest
11:29:55.042 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifaccountinquirysimple.CifAccountInquirySimpleAdaptor - Bad Response From eMas System
11:29:55.045 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifaccountinquirysimple.CifAccountInquirySimpleAdaptor - CifAccountInquirySimpleAdaptor.error = null
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAccountInquirySimpleAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptorTest
11:29:55.063 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptor - Iris Adaptor Error error 
11:29:55.066 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptor - Iris Adaptor Error 500 INTERNAL_SERVER_ERROR - 
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptorTest
11:29:55.083 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - Bad Response from API400 system
11:29:55.085 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - Failed Response get CIF by NIK = {responseSender=MBASE - API400, responseTimestamp=2022-03-30T12:35:56Z, messageIdentifier=1122334455, responseMessage=[{errorMessage=DATA TIDAK ADA DI DATABASE.(MBFCF01020), errorCode=MBM2001}], responseCode=2}
11:29:55.091 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - Failed Response get CIF by NIK = {responseTimestamp=2021-11-19T03:21:32Z, payload=[{customerNumber=0000000001003742119}], responseMessage=[{errorMessage=IP ADDRESS TIDAK VALID, errorCode=2}], responseCode=2}
11:29:55.098 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - CifInquiryByNikAdaptor.error = 500 - 
11:29:55.100 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - CifInquiryByNikAdaptor.error = Masalah Koneksi dengan BDS
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptorTest
11:29:55.120 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - Bad Response from API400 system
11:29:55.124 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - Account Inquiry Details response: 2 - NOT FOUND in account number: 0000001150006392619
11:29:55.126 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - AccountDetailInquiryAdaptor.error = 500 - 
11:29:55.129 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - AccountDetailInquiryAdaptor.error = Masalah Koneksi dengan BDS
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 s - in id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptorTest
11:29:55.138 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - Error = null
11:29:55.145 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - AccountInquiryAdaptor.error = 404 - 
11:29:55.148 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - Bad Response from API400 system
11:29:55.151 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - AccountInquiryAdaptor.error = null
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s - in id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.controller.CardControllerTest

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/credit-card/accounts
       Parameters = {cif=[1003742151]}
          Headers = [Authorization:"12345"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CardController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CardController#getListCreditCards(String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"creditCards":[{"supplementaryCards":[{"cardId":"12345"}]}]}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/card/inquiry
       Parameters = {}
          Headers = [Authorization:"12345"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CardController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CardController#getCards(Integer, String, String, Boolean, String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = POST
      Request URI = /casa/v1/card/status
       Parameters = {}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json", Content-Length:"35"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CardController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CardController#listAccounts(CardStatusRequest)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accountName":"account_name","accountNumber":"8888xxxx","currencyCode":"currency_code"}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.57 s - in id.co.bankmandiri.nbds.casaservice.controller.CardControllerTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.controller.ImageControllerTest

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/image/eddb687e-cec5-4876-91b7-e8e62d528c15.png
       Parameters = {}
          Headers = [Authorization:"12345"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.ImageController
           Method = id.co.bankmandiri.nbds.casaservice.controller.ImageController#getContentImage(String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"image/eddb687e-cec5-4876-91b7-e8e62d528c15"]
     Content type = image/eddb687e-cec5-4876-91b7-e8e62d528c15
             Body = 
    Forwarded URL = null
   Redirected URL = null
          Cookies = []
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s - in id.co.bankmandiri.nbds.casaservice.controller.ImageControllerTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.controller.CasaControllerTest

MockHttpServletRequest:
      HTTP Method = POST
      Request URI = /casa/v1/accounts
       Parameters = {}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json", Content-Length:"166"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#listAccounts(GetCasaAccountsRequest)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accounts":[{"accountNumber":"1150006389516"}]}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = POST
      Request URI = /casa/v1/validate-account
       Parameters = {}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json", Content-Length:"116"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#validateAccount(ValidateAccountRequest)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accountNumber":"1150006389516","currencyCode":"IDR"}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/casa-detail
       Parameters = {productCode=[112233]}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#getCasaDetail(String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"productName":"product_name"}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/account/transaction-history
       Parameters = {accountNumber=[1150006389516]}
          Headers = [Content-Type:"application/json", Accept:"application/json"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#transactionHistory(String, String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accountBalance":100000,"transactionHistory":[{"postingDate":"111111111"}]}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.264 s - in id.co.bankmandiri.nbds.casaservice.controller.CasaControllerTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.CommonServiceTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 s - in id.co.bankmandiri.nbds.casaservice.service.CommonServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryTest
11:29:57.268 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryService - Iris header code : 01
11:29:57.271 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryService - User isn't eligible to access transaction history
11:29:57.276 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryService - time deposit error 2 - null
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 s - in id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCasaDetailServiceTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 s - in id.co.bankmandiri.nbds.casaservice.service.GetCasaDetailServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCasaImageServiceTest
11:29:57.504 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.GetCasaImageService - Error 40103: Image Content card/1.png not found
11:29:57.505 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.GetCasaImageService - Error 40103: Image card/1.png not found
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s - in id.co.bankmandiri.nbds.casaservice.service.GetCasaImageServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.ValidateAccountServiceTest
11:29:57.560 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.ValidateAccountService - Casa Product is not found, Product Code = [77777]
11:29:57.563 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.ValidateAccountService - Casa Product is not allowed credit, Product Code = [77777]
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 s - in id.co.bankmandiri.nbds.casaservice.service.ValidateAccountServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest
[ERROR] Tests run: 17, Failures: 3, Errors: 3, Skipped: 0, Time elapsed: 0.05 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest
[ERROR] shouldSuccessExecuteCardDetailCommonServiceGetCardInfo  Time elapsed: 0.004 s  <<< ERROR!
id.co.bankmandiri.nbds.common.exception.BusinessException: 
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfo(CardDetailCommonServiceTest.java:119)

[ERROR] shouldReturnNullCardsList  Time elapsed: 0.003 s  <<< ERROR!
id.co.bankmandiri.nbds.common.exception.BusinessException: 
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldReturnNullCardsList(CardDetailCommonServiceTest.java:170)

[ERROR] shouldSuccessExecuteCardDetailCommonServiceGetCardInfoButAccountNumberNot13  Time elapsed: 0.002 s  <<< ERROR!
id.co.bankmandiri.nbds.common.exception.BusinessException: 
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfoButAccountNumberNot13(CardDetailCommonServiceTest.java:129)

[ERROR] shouldSuccessGetCardInfoAndCardStatusPermblock  Time elapsed: 0.002 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <EXPIRED> but was: <PERMBLOCK>
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessGetCardInfoAndCardStatusPermblock(CardDetailCommonServiceTest.java:232)

[ERROR] shouldFailedGetCardInfoFromESB  Time elapsed: 0.003 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <30096> but was: <40099>
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldFailedGetCardInfoFromESB(CardDetailCommonServiceTest.java:144)

[ERROR] shouldSuccessGetCardInfoFromAccountNumber  Time elapsed: 0.002 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: not <null>
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessGetCardInfoFromAccountNumber(CardDetailCommonServiceTest.java:316)

[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest
[ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.062 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest
[ERROR] shouldSuccess  Time elapsed: 0.041 s  <<< ERROR!
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest.shouldSuccess(GetListCreditCardServiceTest.java:112)

[ERROR] shouldSuccessSupplemenaryCardOnly  Time elapsed: 0.002 s  <<< ERROR!
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest.shouldSuccessSupplemenaryCardOnly(GetListCreditCardServiceTest.java:143)

[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCasaAccountServiceTest
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.083 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.service.GetCasaAccountServiceTest
[ERROR] shouldSuccessExecuteGetCasaAccountServiceWithTransactionTypeTransfer  Time elapsed: 0.012 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
        at id.co.bankmandiri.nbds.casaservice.service.GetCasaAccountServiceTest.shouldSuccessExecuteGetCasaAccountServiceWithTransactionTypeTransfer(GetCasaAccountServiceTest.java:193)

[INFO] Running id.co.bankmandiri.nbds.casaservice.service.CardStatusServiceTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s - in id.co.bankmandiri.nbds.casaservice.service.CardStatusServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCardsServiceTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in id.co.bankmandiri.nbds.casaservice.service.GetCardsServiceTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   NBDSAdaptorTest.shouldSuccessGetCustomerById:91 expected: <CustomerResponse(cif=cif_12, fullname=null, customerType=null, branchCode=null, accountNumber=null, customerId=123, email=null, phoneNumber=null, gender=null, address=null, identityType=null, nik=null)> but was: <null>
[ERROR]   CardDetailCommonServiceTest.shouldFailedGetCardInfoFromESB:144 expected: <30096> but was: <40099>
[ERROR]   CardDetailCommonServiceTest.shouldSuccessGetCardInfoAndCardStatusPermblock:232 expected: <EXPIRED> but was: <PERMBLOCK>
[ERROR]   CardDetailCommonServiceTest.shouldSuccessGetCardInfoFromAccountNumber:316 expected: not <null>
[ERROR]   GetCasaAccountServiceTest.shouldSuccessExecuteGetCasaAccountServiceWithTransactionTypeTransfer:193 expected: <true> but was: <false>
[ERROR] Errors: 
[ERROR]   CardDetailCommonServiceTest.shouldReturnNullCardsList:170 » Business 
[ERROR]   CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfo:119 » Business
[ERROR]   CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfoButAccountNumberNot13:129 » Business
[ERROR]   GetListCreditCardServiceTest.shouldSuccess:112 » IndexOutOfBounds Index 0 out ...
[ERROR]   GetListCreditCardServiceTest.shouldSuccessSupplemenaryCardOnly:143 » IndexOutOfBounds
[INFO] 
[ERROR] Tests run: 109, Failures: 5, Errors: 5, Skipped: 3
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  15.029 s
[INFO] Finished at: 2022-12-26T11:29:58+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project casa-service: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/yogierka/Documents/nbds/casa-service/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
yogierka@MacBook-Pro-Yogi casa-service % clear
yogierka@MacBook-Pro-Yogi casa-service % mvn clean install
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for id.co.bankmandiri.nbds:casa-service:jar:0.1.0-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ id.co.bankmandiri.nbds:casa-service:${version}, /Users/yogierka/Documents/nbds/casa-service/pom.xml, line 15, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ----------------< id.co.bankmandiri.nbds:casa-service >-----------------
[INFO] Building casa-service 0.1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ casa-service ---
[INFO] Deleting /Users/yogierka/Documents/nbds/casa-service/target
[INFO] 
[INFO] --- jacoco-maven-plugin:0.8.4:prepare-agent (jacoco-initialize) @ casa-service ---
[INFO] argLine set to -javaagent:/Users/yogierka/.m2/repository/org/jacoco/org.jacoco.agent/0.8.4/org.jacoco.agent-0.8.4-runtime.jar=destfile=/Users/yogierka/Documents/nbds/casa-service/target/jacoco.exec,append=true,excludes=**/util/**:**/configuration/**:**/model/**,output=file
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ casa-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ casa-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 121 source files to /Users/yogierka/Documents/nbds/casa-service/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ casa-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/yogierka/Documents/nbds/casa-service/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ casa-service ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 25 source files to /Users/yogierka/Documents/nbds/casa-service/target/test-classes
[INFO] /Users/yogierka/Documents/nbds/casa-service/src/test/java/id/co/bankmandiri/nbds/casaservice/adaptor/nbds/NBDSAdaptorTest.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/yogierka/Documents/nbds/casa-service/src/test/java/id/co/bankmandiri/nbds/casaservice/adaptor/nbds/NBDSAdaptorTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ casa-service ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running id.co.bankmandiri.nbds.casaservice.repository.CardImageRepositoryTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.005 s - in id.co.bankmandiri.nbds.casaservice.repository.CardImageRepositoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.repository.CardProductRepositoryTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in id.co.bankmandiri.nbds.casaservice.repository.CardProductRepositoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.repository.CasaProductRepositoryTest
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in id.co.bankmandiri.nbds.casaservice.repository.CasaProductRepositoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptorTest
13:10:51.106 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptor - Get user operation by userId error = 500 - 
13:10:51.428 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptor - Get data customer by customerId error = 500 - 
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.121 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptorTest
[ERROR] shouldSuccessGetCustomerById  Time elapsed: 0.27 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <CustomerResponse(cif=cif_12, fullname=null, customerType=null, branchCode=null, accountNumber=null, customerId=123, email=null, phoneNumber=null, gender=null, address=null, identityType=null, nik=null)> but was: <null>
        at id.co.bankmandiri.nbds.casaservice.adaptor.nbds.NBDSAdaptorTest.shouldSuccessGetCustomerById(NBDSAdaptorTest.java:91)

[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAllDebitCardListAdaptorTest
13:10:51.637 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifdebitcardlist.CifAllDebitCardListAdaptor - Bad Response From eMas System
13:10:51.643 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifdebitcardlist.CifAllDebitCardListAdaptor - CifAllDebitCardListAdaptor.error = null
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAllDebitCardListAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.CreditCardCustomerListingAdaptorTest
13:10:51.711 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.ics.CreditCardCustomerListingAdaptor - Bad Response From ics System
13:10:51.717 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.ics.CreditCardCustomerListingAdaptor - CreditCardCustomerListingAdaptor.error = null
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.CreditCardCustomerListingAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.TimeDepositInquiryAdaptorTest
13:10:51.826 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.timedepositinquiry.TimeDepositInquiryAdaptor - Bad Response From eMas System
13:10:51.829 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.timedepositinquiry.TimeDepositInquiryAdaptor - TimeDepositInquiryAdaptor.error = null
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.TimeDepositInquiryAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAccountInquirySimpleAdaptorTest
13:10:51.900 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifaccountinquirysimple.CifAccountInquirySimpleAdaptor - Bad Response From eMas System
13:10:51.904 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.esb.cifaccountinquirysimple.CifAccountInquirySimpleAdaptor - CifAccountInquirySimpleAdaptor.error = null
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 s - in id.co.bankmandiri.nbds.casaservice.adaptor.esb.CifAccountInquirySimpleAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptorTest
13:10:51.920 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptor - Iris Adaptor Error error 
13:10:51.923 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptor - Iris Adaptor Error 500 INTERNAL_SERVER_ERROR - 
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in id.co.bankmandiri.nbds.casaservice.adaptor.iris.IrisAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptorTest
13:10:51.946 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - Bad Response from API400 system
13:10:51.950 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - Failed Response get CIF by NIK = {responseSender=MBASE - API400, responseTimestamp=2022-03-30T12:35:56Z, messageIdentifier=1122334455, responseMessage=[{errorMessage=DATA TIDAK ADA DI DATABASE.(MBFCF01020), errorCode=MBM2001}], responseCode=2}
13:10:51.960 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - Failed Response get CIF by NIK = {responseTimestamp=2021-11-19T03:21:32Z, payload=[{customerNumber=0000000001003742119}], responseMessage=[{errorMessage=IP ADDRESS TIDAK VALID, errorCode=2}], responseCode=2}
13:10:51.970 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - CifInquiryByNikAdaptor.error = 500 - 
13:10:51.976 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptor - CifInquiryByNikAdaptor.error = Masalah Koneksi dengan BDS
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in id.co.bankmandiri.nbds.casaservice.adaptor.api400.CifInquiryByNikAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptorTest
13:10:52.003 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - Bad Response from API400 system
13:10:52.007 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - Account Inquiry Details response: 2 - NOT FOUND in account number: 0000001150006392619
13:10:52.010 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - AccountDetailInquiryAdaptor.error = 500 - 
13:10:52.015 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptor - AccountDetailInquiryAdaptor.error = Masalah Koneksi dengan BDS
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s - in id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountDetailInquiryAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptorTest
13:10:52.026 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - Error = null
13:10:52.035 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - AccountInquiryAdaptor.error = 404 - 
13:10:52.038 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - Bad Response from API400 system
13:10:52.046 [main] ERROR id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptor - AccountInquiryAdaptor.error = null
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s - in id.co.bankmandiri.nbds.casaservice.adaptor.api400.AccountInquiryAdaptorTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.controller.CardControllerTest

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/credit-card/accounts
       Parameters = {cif=[1003742151]}
          Headers = [Authorization:"12345"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CardController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CardController#getListCreditCards(String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"creditCards":[{"supplementaryCards":[{"cardId":"12345"}]}]}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/card/inquiry
       Parameters = {}
          Headers = [Authorization:"12345"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CardController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CardController#getCards(Integer, String, String, Boolean, String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = POST
      Request URI = /casa/v1/card/status
       Parameters = {}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json", Content-Length:"35"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CardController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CardController#listAccounts(CardStatusRequest)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accountName":"account_name","accountNumber":"8888xxxx","currencyCode":"currency_code"}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.878 s - in id.co.bankmandiri.nbds.casaservice.controller.CardControllerTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.controller.ImageControllerTest

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/image/eddb687e-cec5-4876-91b7-e8e62d528c15.png
       Parameters = {}
          Headers = [Authorization:"12345"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.ImageController
           Method = id.co.bankmandiri.nbds.casaservice.controller.ImageController#getContentImage(String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"image/eddb687e-cec5-4876-91b7-e8e62d528c15"]
     Content type = image/eddb687e-cec5-4876-91b7-e8e62d528c15
             Body = 
    Forwarded URL = null
   Redirected URL = null
          Cookies = []
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s - in id.co.bankmandiri.nbds.casaservice.controller.ImageControllerTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.controller.CasaControllerTest

MockHttpServletRequest:
      HTTP Method = POST
      Request URI = /casa/v1/accounts
       Parameters = {}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json", Content-Length:"166"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#listAccounts(GetCasaAccountsRequest)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accounts":[{"accountNumber":"1150006389516"}]}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = POST
      Request URI = /casa/v1/validate-account
       Parameters = {}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json", Content-Length:"116"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#validateAccount(ValidateAccountRequest)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accountNumber":"1150006389516","currencyCode":"IDR"}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/casa-detail
       Parameters = {productCode=[112233]}
          Headers = [Content-Type:"application/json", Authorization:"12345", Accept:"application/json"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#getCasaDetail(String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"productName":"product_name"}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []

MockHttpServletRequest:
      HTTP Method = GET
      Request URI = /casa/v1/account/transaction-history
       Parameters = {accountNumber=[1150006389516]}
          Headers = [Content-Type:"application/json", Accept:"application/json"]
             Body = <no character encoding set>
    Session Attrs = {}

Handler:
             Type = id.co.bankmandiri.nbds.casaservice.controller.CasaController
           Method = id.co.bankmandiri.nbds.casaservice.controller.CasaController#transactionHistory(String, String)

Async:
    Async started = false
     Async result = null

Resolved Exception:
             Type = null

ModelAndView:
        View name = null
             View = null
            Model = null

FlashMap:
       Attributes = null

MockHttpServletResponse:
           Status = 200
    Error message = null
          Headers = [Content-Type:"application/json"]
     Content type = application/json
             Body = {"accountBalance":100000,"transactionHistory":[{"postingDate":"111111111"}]}
    Forwarded URL = null
   Redirected URL = null
          Cookies = []
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.26 s - in id.co.bankmandiri.nbds.casaservice.controller.CasaControllerTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.CommonServiceTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in id.co.bankmandiri.nbds.casaservice.service.CommonServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryTest
13:10:54.500 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryService - Iris header code : 01
13:10:54.504 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryService - User isn't eligible to access transaction history
13:10:54.509 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryService - time deposit error 2 - null
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.219 s - in id.co.bankmandiri.nbds.casaservice.service.TransactionHistoryTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCasaDetailServiceTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.166 s - in id.co.bankmandiri.nbds.casaservice.service.GetCasaDetailServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCasaImageServiceTest
13:10:54.737 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.GetCasaImageService - Error 40103: Image Content card/1.png not found
13:10:54.739 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.GetCasaImageService - Error 40103: Image card/1.png not found
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s - in id.co.bankmandiri.nbds.casaservice.service.GetCasaImageServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.ValidateAccountServiceTest
13:10:54.806 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.ValidateAccountService - Casa Product is not found, Product Code = [77777]
13:10:54.809 [main] ERROR id.co.bankmandiri.nbds.casaservice.service.ValidateAccountService - Casa Product is not allowed credit, Product Code = [77777]
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 s - in id.co.bankmandiri.nbds.casaservice.service.ValidateAccountServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest
[ERROR] Tests run: 17, Failures: 3, Errors: 3, Skipped: 0, Time elapsed: 0.044 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest
[ERROR] shouldSuccessExecuteCardDetailCommonServiceGetCardInfo  Time elapsed: 0.002 s  <<< ERROR!
id.co.bankmandiri.nbds.common.exception.BusinessException: 
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfo(CardDetailCommonServiceTest.java:119)

[ERROR] shouldReturnNullCardsList  Time elapsed: 0.002 s  <<< ERROR!
id.co.bankmandiri.nbds.common.exception.BusinessException: 
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldReturnNullCardsList(CardDetailCommonServiceTest.java:170)

[ERROR] shouldSuccessExecuteCardDetailCommonServiceGetCardInfoButAccountNumberNot13  Time elapsed: 0.001 s  <<< ERROR!
id.co.bankmandiri.nbds.common.exception.BusinessException: 
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfoButAccountNumberNot13(CardDetailCommonServiceTest.java:129)

[ERROR] shouldSuccessGetCardInfoAndCardStatusPermblock  Time elapsed: 0.002 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <EXPIRED> but was: <PERMBLOCK>
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessGetCardInfoAndCardStatusPermblock(CardDetailCommonServiceTest.java:232)

[ERROR] shouldFailedGetCardInfoFromESB  Time elapsed: 0.002 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <30096> but was: <40099>
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldFailedGetCardInfoFromESB(CardDetailCommonServiceTest.java:144)

[ERROR] shouldSuccessGetCardInfoFromAccountNumber  Time elapsed: 0.002 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: not <null>
        at id.co.bankmandiri.nbds.casaservice.service.CardDetailCommonServiceTest.shouldSuccessGetCardInfoFromAccountNumber(CardDetailCommonServiceTest.java:316)

[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest
[ERROR] Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.048 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest
[ERROR] shouldSuccess  Time elapsed: 0.026 s  <<< ERROR!
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest.shouldSuccess(GetListCreditCardServiceTest.java:112)

[ERROR] shouldSuccessSupplemenaryCardOnly  Time elapsed: 0.003 s  <<< ERROR!
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
        at id.co.bankmandiri.nbds.casaservice.service.GetListCreditCardServiceTest.shouldSuccessSupplemenaryCardOnly(GetListCreditCardServiceTest.java:143)

[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCasaAccountServiceTest
[ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.085 s <<< FAILURE! - in id.co.bankmandiri.nbds.casaservice.service.GetCasaAccountServiceTest
[ERROR] shouldSuccessExecuteGetCasaAccountServiceWithTransactionTypeTransfer  Time elapsed: 0.013 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
        at id.co.bankmandiri.nbds.casaservice.service.GetCasaAccountServiceTest.shouldSuccessExecuteGetCasaAccountServiceWithTransactionTypeTransfer(GetCasaAccountServiceTest.java:193)

[INFO] Running id.co.bankmandiri.nbds.casaservice.service.CardStatusServiceTest
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in id.co.bankmandiri.nbds.casaservice.service.CardStatusServiceTest
[INFO] Running id.co.bankmandiri.nbds.casaservice.service.GetCardsServiceTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in id.co.bankmandiri.nbds.casaservice.service.GetCardsServiceTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   NBDSAdaptorTest.shouldSuccessGetCustomerById:91 expected: <CustomerResponse(cif=cif_12, fullname=null, customerType=null, branchCode=null, accountNumber=null, customerId=123, email=null, phoneNumber=null, gender=null, address=null, identityType=null, nik=null)> but was: <null>
[ERROR]   CardDetailCommonServiceTest.shouldFailedGetCardInfoFromESB:144 expected: <30096> but was: <40099>
[ERROR]   CardDetailCommonServiceTest.shouldSuccessGetCardInfoAndCardStatusPermblock:232 expected: <EXPIRED> but was: <PERMBLOCK>
[ERROR]   CardDetailCommonServiceTest.shouldSuccessGetCardInfoFromAccountNumber:316 expected: not <null>
[ERROR]   GetCasaAccountServiceTest.shouldSuccessExecuteGetCasaAccountServiceWithTransactionTypeTransfer:193 expected: <true> but was: <false>
[ERROR] Errors: 
[ERROR]   CardDetailCommonServiceTest.shouldReturnNullCardsList:170 » Business 
[ERROR]   CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfo:119 » Business
[ERROR]   CardDetailCommonServiceTest.shouldSuccessExecuteCardDetailCommonServiceGetCardInfoButAccountNumberNot13:129 » Business
[ERROR]   GetListCreditCardServiceTest.shouldSuccess:112 » IndexOutOfBounds Index 0 out ...
[ERROR]   GetListCreditCardServiceTest.shouldSuccessSupplemenaryCardOnly:143 » IndexOutOfBounds
[INFO] 
[ERROR] Tests run: 109, Failures: 5, Errors: 5, Skipped: 3
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.971 s
[INFO] Finished at: 2022-12-26T13:10:55+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project casa-service: There are test failures.
[ERROR] 
[ERROR] Please refer to /Users/yogierka/Documents/nbds/casa-service/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException