Test results
1 suite, 1 failed test
com.kinective.testscripts.Deposits.DepositsTest
premierDepositSearch_SavingsAccount ({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Get Account Details - Status: Info - Success, Get Party Account Relationship - Status: Info - Success, Get Beneficiary - Status: Error - No records match selection criteria, ERROR MESSAGE=, TEST SCENARIO=Search for a Savings deposit account, accountBase=, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, TEST ID=premierDepositSearch_SavingsAccount, VERIFY ARRAY SIZE=, accountServices=, timeDeposit=, VERIFY NO EMPTY OBJECTS=, accountDetail=, VERIFY FIELDS=content[0].accountDetail.customerRelationships[1].name,content[0].accountDetail.customerRelationships[1].phoneNumbers,content[0].accountDetail.customerRelationships,content[0].accountDetail,content[0].accountInformation,content[0].accountDetail.taxID, BODY={ "assetID": "Kinective_PremierCO_API_Sandbox", "content": { "accountNumber": "302034131", "accountType": "Savings" }, "uuid": "12345" }, beneficiaries=, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=, order=})
java.lang.AssertionError: Field 'content[0].accountDetail.customerRelationships[1].phoneNumbers' is not present in Response Body Response Body is: [{"accountInformation":{"accountType":"Savings","subAccountType":"120","accountNumber":"302034131"},"accountDetail":{"statementFrequency":"Cycle","balanceTotalAvailable":20906.3,"accountStatus":"Active","customerType":"Unknown","balance":20906.3,"oedCode":"0","taxID":"503124646","taxIDType":"SSN","customerRelationships":[{"ownershipType":"Secondary","dateOfBirth":"1985-03-13","relationshipCode":"OwnerSigner","percent":0,"phoneNumbers":[{"number":"2191360","areaCode":"402","phoneType":"Home","countryCode":"1","isPrimary":true}],"otherRelationshipDescription":"Second","customerType":"Unknown","taxReporting":false,"taxID":"503124647","customerID":"3243290","name":{"legalName":"MELISSA O ALVAREZ","firstName":"MELISSA","lastName":"ALVAREZ","fullName":"MELISSA O ALVAREZ","middleName":"O"},"taxIDType":"SSN","email":{"emailAddress":"M_EMAIL5@YAAHOOMAIL.COM","emailType":"Person"}},{"ownershipType":"Secondary","otherRelationshipDescription":"Other","customerType":"Unknown","taxReporting":false,"customerID":"3243291","name":{"legalName":"EDWARD P CASTILLO","firstName":"EDWARD","lastName":"CASTILLO","fullName":"EDWARD P CASTILLO","middleName":"P"},"taxIDType":"None","relationshipCode":"20262","percent":0}],"email":{"emailAddress":"M_EMAIL3@GMAIL1.COM","emailType":"Person"},"productType":"10221000","accountClassCode":"21","naicsCode":"0","interestRate":2.25,"branchNumber":"2","costCenter":"0","balanceAvailable":20906.3,"dateOfBirth":"1971-09-09","relationshipCode":"OwnerSigner","planCode":"0","accountStatusCode":"Active","customerID":"3243289","name":{"legalName":"GEORGE N PRICE","firstName":"GEORGE","lastName":"PRICE","fullName":"GEORGE N PRICE","middleName":"N"},"taxReportingOwner":true,"interestDisposition":"Capitalize","openDate":"2015-08-25","shortName":"GEORGE N PRICE"},"accountBase":{"accountType":"Savings","statementMailingAddress":{"msaCode":0,"city":"SUTTON","addressType":"Primary","countryCode":" ","isPrimary":true,"isForeign":false,"address1":"5146 Y ST.","postalCode":"68873","subType":"Inquiry","state":"FL","addressID":"2105829","censusTractNumber":"0"}}}] 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.DepositsSearch.depositSearch(DepositsSearch.java:53) at com.kinective.testscripts.Deposits.DepositsTest.premierDepositSearch_SavingsAccount(DepositsTest.java:947) 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)
(Search for a savings deposit acsount)
C:\Users\vasudhap\AppData\Local\Temp\testng-eclipse-1288696263\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="premierDepositSearch_SavingsAccount"/>
        </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
csiMeridian
premierDepositSearch_SavingsAccount
csiMeridianDepositSearch
premierDepositSearch_SavingsAccount
csiMeridianDeposits
premierDepositSearch_SavingsAccount
Times for Rest Assured Api Suites
Total running time: 21 seconds
Reporter output for Rest Assured Api Suites
premierDepositSearch_SavingsAccount({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Get Account Details - Status: Inf...)
Search for a Savings deposit account
Steps:
Generating Access Token
 End Point URI:deposits/deposit-search
 Sending POST Publish command
 Executed URL {}
 Status Code 200
 Time taken to get response is 16636 milli second
 === Starting Comprehensive JSON Verification ===
 --- Running Field Presence Verification ---

Field 'content[0].accountDetail.customerRelationships[1].name' is present in Response Body

Field 'content[0].accountDetail.customerRelationships[1].phoneNumbers' is not present in Response Body Response Body is: [{"accountInformation":{"accountType":"Savings","subAccountType":"120","accountNumber":"302034131"},"accountDetail":{"statementFrequency":"Cycle","balanceTotalAvailable":20906.3,"accountStatus":"Active","customerType":"Unknown","balance":20906.3,"oedCode":"0","taxID":"503124646","taxIDType":"SSN","customerRelationships":[{"ownershipType":"Secondary","dateOfBirth":"1985-03-13","relationshipCode":"OwnerSigner","percent":0,"phoneNumbers":[{"number":"2191360","areaCode":"402","phoneType":"Home","countryCode":"1","isPrimary":true}],"otherRelationshipDescription":"Second","customerType":"Unknown","taxReporting":false,"taxID":"503124647","customerID":"3243290","name":{"legalName":"MELISSA O ALVAREZ","firstName":"MELISSA","lastName":"ALVAREZ","fullName":"MELISSA O ALVAREZ","middleName":"O"},"taxIDType":"SSN","email":{"emailAddress":"M_EMAIL5@YAAHOOMAIL.COM","emailType":"Person"}},{"ownershipType":"Secondary","otherRelationshipDescription":"Other","customerType":"Unknown","taxReporting":false,"customerID":"3243291","name":{"legalName":"EDWARD P CASTILLO","firstName":"EDWARD","lastName":"CASTILLO","fullName":"EDWARD P CASTILLO","middleName":"P"},"taxIDType":"None","relationshipCode":"20262","percent":0}],"email":{"emailAddress":"M_EMAIL3@GMAIL1.COM","emailType":"Person"},"productType":"10221000","accountClassCode":"21","naicsCode":"0","interestRate":2.25,"branchNumber":"2","costCenter":"0","balanceAvailable":20906.3,"dateOfBirth":"1971-09-09","relationshipCode":"OwnerSigner","planCode":"0","accountStatusCode":"Active","customerID":"3243289","name":{"legalName":"GEORGE N PRICE","firstName":"GEORGE","lastName":"PRICE","fullName":"GEORGE N PRICE","middleName":"N"},"taxReportingOwner":true,"interestDisposition":"Capitalize","openDate":"2015-08-25","shortName":"GEORGE N PRICE"},"accountBase":{"accountType":"Savings","statementMailingAddress":{"msaCode":0,"city":"SUTTON","addressType":"Primary","countryCode":" ","isPrimary":true,"isForeign":false,"address1":"5146 Y ST.","postalCode":"68873","subType":"Inquiry","state":"FL","addressID":"2105829","censusTractNumber":"0"}}}]
36 ignored methods
com.kinective.testscripts.Deposits.DepositsTest
jXchangeSearchDeposit
premierDepositSearch_InvalidAccount
verifyResponseFieldsDepositSearch
csiMeridianDepositCreate_HSA
premierDepositSearch_NonexistingAccount
premierDepositSearch_verifyFields
premierTimeDepositSearch_InvalidAccountType
TimeDepositCreate_ExistingAccount
csiMeridianDepositCreate_Checking
csiMeridianDepositSearchInd
csiMeridianTimeDepositCreate_CD_Business
premierTimeDepositSearch_CDA
csiMeridianDepositSearch_RandomAccount
csiMeridianDepositCreate_ExistingAccount
csiMeridianTimeDepositCreate_IRA_Person
corelationDepositSearch_ExistingAccount
csiMeridianTimeDepositSearch_RandomAccount
TimeDepositCreate_RandomAccount
csiMeridianTimeDepositSearch
corelationCreateDeposit
premierTimeDepositSearch_NonexistingAccount
premierTimeDepositSearch_BlankAccountNumber
CreateDeposit_NewAccountNumber
csiMeridianDepositSearch2Ind1Bus
premierDepositSearch_CheckingAccount
OrderCards
symXchangeSearchDeposit
CreateSavings_RandomAccount
symXchangeCreateDeposit
TimeDepositSearch_RandomAccount
jXchangeCreateDeposit
premierTimeDepositSearch_InvalidAccount
premierDepositSearch_BlankAccount
CreateSavings
csiMeridianTimeDepositCreate_ExistingAccount
TimeDepositSearch_ExistingAccount
Methods in chronological order
com.kinective.testscripts.Deposits.DepositsTest
init(org.testng.TestRunner@3850e90c) 0 ms
premierDepositSearch_SavingsAccount({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Get Account Details - Status: Inf...) 1306 ms