#TC187 Search for a time deposit account and verify additional fields Steps: Generating Access Token End Point URI:deposits/deposit-timedeposit-search Sending POST Publish command Executed URL
{} Status Code
200 Time taken to get response is
16464 milli second === Starting Comprehensive JSON Verification === --- Running Field Presence Verification --- Field 'content[0].accountDetail.customerRelationships[0].residence.addressID' is present in Response Body Field 'content[0].accountDetail.customerRelationships[0].residence.censusTractNumber' is present in Response Body Field 'content[0].accountDetail.customerRelationships[0].residence.countryCode' is present in Response Body Field 'content[0].accountDetail.customerRelationships[0].residence.isPrimary' is present in Response Body Field 'content[0].accountDetail.customerRelationships[0].residence.countryCode' is present in Response Body Field 'content[0].accountDetail.customerRelationships' is present in Response Body Field 'content[0].accountDetail.customerRelationships[0].residence.msaCode' is present in Response Body Field 'content[0].residence.isForeign' is not present in Response Body Response Body is: [{accountInformation:{additionalDescription:CDA,nickName:MAX,accountType:CD,subAccountType:0,description:1-5 MONTH,accountNumber:19005390},accountDetail:{statementFrequency:Cycle,balanceTotalAvailable:0,phoneNumbers:[{number:2190451,areaCode:402,phoneType:Home,countryCode:1,isPrimary:true},{number:2190452,areaCode:402,phoneType:Mobile,countryCode:1,isPrimary:false}],productName:1-5 MONTH,accountStatus:Active,customerType:Unknown,balance:0,oedCode:5,taxID:503123840,taxIDType:SSN,beneficiaries:[{address:{city:FALLS CITY,addressType:Primary,countryCode:10,isPrimary:true,address1:2221 MILLER,postalCode:68361-1234,state:CA,addressID:2106202},dob:1929-09-14,taxID:988125678,name:{fullName:JOSEPH N HOWARD},distribution:35.0,accountOwnerRelationship:Primary}],customerRelationships:[{otherRelationshipDescription:Second,customerType:Partnership,taxReporting:true,taxID:988125678,customerID:3243943,name:{firstName:HOWARD,lastName:JOSEPH,fullName:JOSEPH N HOWARD,middleName:N},taxIDType:SSN,dateOfBirth:1929-09-14,relationshipCode:Owner,residence:{msaCode:1002,city:FALLS CITY,addressType:Primary,address1:2221 MILLER,countryCode:10,isPrimary:true,isForeign:true,postalCode:68361,subType:Business,state:CA,addressID:2106252,censusTractNumber:9},percent:0},{otherRelationshipDescription:Third,customerType:Corporate,taxReporting:false,taxID:999881111,customerID:3310127,name:{legalName:BIZARRE MAGIC, INC.,businessName:SCAM SCHOOL},taxIDType:EIN,relationshipCode:Owner,residence:{country:United States of America,msaCode:0,city:Austin,addressType:Primary,address1:14308 Terisu Ln,countryCode:00,isPrimary:true,isForeign:false,subType:Business,state:TX,addressID:2210600,censusTractNumber:0},percent:0},{otherRelationshipDescription:Other,customerType:Partnership,taxReporting:false,taxID:988125678,customerID:3243931,name:{firstName:HOWARD,lastName:JOSEPH,fullName:JOSEPH N HOWARD,middleName:N},taxIDType:SSN,dateOfBirth:1929-09-14,relationshipCode:Beneficiary,residence:{msaCode:1002,city:FALLS CITY,addressType:Primary,address1:2221 MILLER,countryCode:10,isPrimary:true,isForeign:true,postalCode:68361,subType:Business,state:CA,addressID:2106202,censusTractNumber:9},percent:0,phoneNumbers:[{number:2190001,areaCode:402,phoneType:Mobile,countryCode:00001,isPrimary:true},{number:2190002,areaCode:402,phoneType:Work,countryCode:00001,isPrimary:false},{number:2190003,areaCode:402,phoneType:Home,countryCode:00001,isPrimary:false},{number:2190004,areaCode:402,phoneType:Fax,countryCode:00001,isPrimary:false}]}],email:{emailAddress:X_EMAIL2@HOTMAIL1.COM,emailType:Home},productType:10351,accountClassCode:51,naicsCode:1,interestRate:1,branchNumber:2,costCenter:0,balanceAvailable:0,dateOfBirth:1986-07-12,relationshipCode:Owner,planCode:0,accountStatusCode:Active,customerID:3242482,name:{legalName:JAMES P JAMES,firstName:JAMES,lastName:JAMES,fullName:JAMES P JAMES,middleName:P},taxReportingOwner:false,interestDisposition:Check,openDate:2025-07-24},accountBase:{accountType:CD}}]
|
java.lang.AssertionError: Field 'content[0].residence.isForeign' is not present in Response Body Response Body is: [{accountInformation:{additionalDescription:CDA,nickName:MAX,accountType:CD,subAccountType:0,description:1-5 MONTH,accountNumber:19005390},accountDetail:{statementFrequency:Cycle,balanceTotalAvailable:0,phoneNumbers:[{number:2190451,areaCode:402,phoneType:Home,countryCode:1,isPrimary:true},{number:2190452,areaCode:402,phoneType:Mobile,countryCode:1,isPrimary:false}],productName:1-5 MONTH,accountStatus:Active,customerType:Unknown,balance:0,oedCode:5,taxID:503123840,taxIDType:SSN,beneficiaries:[{address:{city:FALLS CITY,addressType:Primary,countryCode:10,isPrimary:true,address1:2221 MILLER,postalCode:68361-1234,state:CA,addressID:2106202},dob:1929-09-14,taxID:988125678,name:{fullName:JOSEPH N HOWARD},distribution:35.0,accountOwnerRelationship:Primary}],customerRelationships:[{otherRelationshipDescription:Second,customerType:Partnership,taxReporting:true,taxID:988125678,customerID:3243943,name:{firstName:HOWARD,lastName:JOSEPH,fullName:JOSEPH N HOWARD,middleName:N},taxIDType:SSN,dateOfBirth:1929-09-14,relationshipCode:Owner,residence:{msaCode:1002,city:FALLS CITY,addressType:Primary,address1:2221 MILLER,countryCode:10,isPrimary:true,isForeign:true,postalCode:68361,subType:Business,state:CA,addressID:2106252,censusTractNumber:9},percent:0},{otherRelationshipDescription:Third,customerType:Corporate,taxReporting:false,taxID:999881111,customerID:3310127,name:{legalName:BIZARRE MAGIC, INC.,businessName:SCAM SCHOOL},taxIDType:EIN,relationshipCode:Owner,residence:{country:United States of America,msaCode:0,city:Austin,addressType:Primary,address1:14308 Terisu Ln,countryCode:00,isPrimary:true,isForeign:false,subType:Business,state:TX,addressID:2210600,censusTractNumber:0},percent:0},{otherRelationshipDescription:Other,customerType:Partnership,taxReporting:false,taxID:988125678,customerID:3243931,name:{firstName:HOWARD,lastName:JOSEPH,fullName:JOSEPH N HOWARD,middleName:N},taxIDType:SSN,dateOfBirth:1929-09-14,relationshipCode:Beneficiary,residence:{msaCode:1002,city:FALLS CITY,addressType:Primary,address1:2221 MILLER,countryCode:10,isPrimary:true,isForeign:true,postalCode:68361,subType:Business,state:CA,addressID:2106202,censusTractNumber:9},percent:0,phoneNumbers:[{number:2190001,areaCode:402,phoneType:Mobile,countryCode:00001,isPrimary:true},{number:2190002,areaCode:402,phoneType:Work,countryCode:00001,isPrimary:false},{number:2190003,areaCode:402,phoneType:Home,countryCode:00001,isPrimary:false},{number:2190004,areaCode:402,phoneType:Fax,countryCode:00001,isPrimary:false}]}],email:{emailAddress:X_EMAIL2@HOTMAIL1.COM,emailType:Home},productType:10351,accountClassCode:51,naicsCode:1,interestRate:1,branchNumber:2,costCenter:0,balanceAvailable:0,dateOfBirth:1986-07-12,relationshipCode:Owner,planCode:0,accountStatusCode:Active,customerID:3242482,name:{legalName:JAMES P JAMES,firstName:JAMES,lastName:JAMES,fullName:JAMES P JAMES,middleName:P},taxReportingOwner:false,interestDisposition:Check,openDate:2025-07-24},accountBase:{accountType:CD}}]
at org.testng.Assert.fail(Assert.java:99)
at com.generics.utils.Log.fail(Log.java:596)
at com.generics.utils.JsonVerificationUtils.verifyFieldPresent(JsonVerificationUtils.java:71)
at com.generics.utils.JsonVerificationUtils.verifyAllJsonData(JsonVerificationUtils.java:750)
at com.generics.utils.Utils.verifyFieldPresent(Utils.java:739)
at com.kinective.sapi.DepositsTimeDepositSearch.depositSearch(DepositsTimeDepositSearch.java:51)
at com.kinective.testscripts.Deposits.DepositsTest.premierCoTimeDepositSearch_verifyFields(DepositsTest.java:1157)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng.TestRunner.privateRun(TestRunner.java:794)
at org.testng.TestRunner.run(TestRunner.java:596)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:377)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:371)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:332)
at org.testng.SuiteRunner.run(SuiteRunner.java:276)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1134)
at org.testng.TestNG.runSuites(TestNG.java:1063)
at org.testng.TestNG.run(TestNG.java:1031)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:293)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:91)
|