Test results
1 suite, 1 failed test
com.kinective.testscripts.Deposits.DepositsTest
premierCoTimeDepositSearch_verifyFields ({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=, TEST SCENARIO=, accountBase=, coreSpecificFields=, EXPECTED STATUS=, responseTimeSeconds=, TEST ID=premierCoTimeDepositSearch_verifyFields, VERIFY ARRAY SIZE=, accountServices=, timeDeposit=, VERIFY NO EMPTY OBJECTS=TRUE, accountDetail=, DepositSearchBody=, VERIFY FIELDS=content[0].accountDetail.customerRelationships[0].residence.addressID,content[0].accountDetail.customerRelationships[0].residence.censusTractNumber,content[0].accountDetail.customerRelationships[0].residence.countryCode,content[0].accountDetail.customerRelationships[0].residence.isPrimary,content[0].accountDetail.customerRelationships[0].residence.countryCode,content[0].accountDetail.customerRelationships,content[0].accountDetail.customerRelationships[0].residence.msaCode[0].residence.isForeign,content[0].accountDetail.beneficiaries[0].address.countryCode,content[0].accountDetail.beneficiaries[0].address.isPrimary,content[0].accountDetail.beneficiaries[0].address.addressID, BODY={ "assetID": "Kinective_PremierCO_API_Sandbox", "content": { "accountNumber": "19005390", "accountType": "CDA" }, "uuid": "12345" }, beneficiaries=, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=content[0].accountInformation.accountNumber:19005390,statusFlag:true, order=})
java.lang.AssertionError: Field 'content[0].accountDetail.customerRelationships[0].residence.msaCode[0].residence.isForeign' is not present in Response Body <br> 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)
(#TC141 Search for a time deposit account)
C:\Users\vasudhap\AppData\Local\Temp\testng-eclipse--2120381586\testng-customsuite.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Rest Assured Api Suites" guice-stage="DEVELOPMENT">
  <parameter name="projectKey" value="KP"/>
  <parameter name="environment" value="test"/>
  <parameter name="version" value="v1"/>
  <test thread-count="5" name="Default test" verbose="2">
    <classes>
      <class name="com.kinective.testscripts.Deposits.DepositsTest">
        <methods>
          <include name="premierCoTimeDepositSearch_verifyFields"/>
        </methods>
      </class> <!-- com.kinective.testscripts.Deposits.DepositsTest -->
    </classes>
  </test> <!-- Default test -->
</suite> <!-- Rest Assured Api Suites -->
            
Tests for Rest Assured Api Suites
  • Default test (1 class)
Groups for Rest Assured Api Suites
premierCo
premierCoTimeDepositSearch_verifyFields
premierCoDeposits
premierCoTimeDepositSearch_verifyFields
premierCoTimeDepositSearch
premierCoTimeDepositSearch_verifyFields
Times for Rest Assured Api Suites
Total running time: 28 seconds
Reporter output for Rest Assured Api Suites
premierCoTimeDepositSearch_verifyFields({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=, TEST SCENARIO=,...)

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 23726 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[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"}}]
39 ignored methods
com.kinective.testscripts.Deposits.DepositsTest
premierCoDepositSearch_verifyFields
premierCoTimeDepositSearch_NonexistingAccount
jXchangeSearchDeposit
verifyResponseFieldsDepositSearch
csiMeridianDepositCreate_HSA
premierCoDepositSearch_InvalidAccount
TimeDepositCreate_ExistingAccount
csiMeridianDepositCreate_Checking
csiMeridianDepositSearchInd
csiMeridianTimeDepositCreate_CD_Business
premierCoTimeDepositSearch_InvalidAccountType
csiMeridianDepositSearch_RandomAccount
csiMeridianDepositCreate_ExistingAccount
premierCoDepositSearch_CheckingAccount
csiMeridianTimeDepositCreate_IRA_Person
corelationDepositSearch_ExistingAccount
premierCoCreateDeposit
csiMeridianTimeDepositSearch_RandomAccount
TimeDepositCreate_RandomAccount
premierCoTimeDepositSearch_BlankAccountNumber
csiMeridianTimeDepositSearch
premierCoTimeDepositSearch_InvalidAccount
corelationCreateDeposit
premierCoTimeDepositSearch_CDA
premierCoDepositSearch_BlankAccount
CreateDeposit_NewAccountNumber
csiMeridianDepositSearch2Ind1Bus
premierCoDepositSearch_SavingsAccount
OrderCards
premierCoDepositSearch_VerifyNewAccountBySearch
symXchangeSearchDeposit
CreateSavings_RandomAccount
symXchangeCreateDeposit
TimeDepositSearch_RandomAccount
jXchangeCreateDeposit
premierCoDepositSearch_NonexistingAccount
CreateSavings
csiMeridianTimeDepositCreate_ExistingAccount
TimeDepositSearch_ExistingAccount
Methods in chronological order
com.kinective.testscripts.Deposits.DepositsTest
init(org.testng.TestRunner@3878be7b) 0 ms
premierCoTimeDepositSearch_verifyFields({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=, TEST SCENARIO=,...) 449 ms