Test results
1 suite, 1 failed test
com.kinective.testscripts.Deposits.DepositsTest
premierCoTimeDepositSearch_CDA ({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Get Accounts SDA - Status: Success, Get Party Account Relationship - Status: Success, Get Beneficiary - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC186 Search for a time deposit account, accountBase=, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, TEST ID=premierCoTimeDepositSearch_CDA, VERIFY ARRAY SIZE=content[0].accountDetail.customerRelationships[1].phoneNumbers:1, accountServices=, timeDeposit=, VERIFY NO EMPTY OBJECTS=TRUE, accountDetail=, DepositSearchBody=, VERIFY FIELDS=content[0].accountDetail.customerRelationships[3].phoneNumbers,content[0].accountDetail.customerRelationships[1].email,content[0].accountDetail.taxID,content[0].accountDetail.customerRelationships, beneficiaries,content[0].accountDetail,content[0].accountDetail.email.emailType,content[0].accountDetail.taxIDType,content[0].accountDetail.planCode, BODY={ "assetID": "Kinective_PremierCO_API_Sandbox", "content": { "accountNumber": "290001702", "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:290001702,statusFlag:true, order=})
java.lang.AssertionError: content[0].accountDetail.customerRelationships[3].phoneNumbers Field is not present in Response Body at org.testng.Assert.fail(Assert.java:99) at com.generics.utils.Log.fail(Log.java:596) at com.generics.utils.Utils.verifyFieldPresent(Utils.java:751) at com.generics.utils.Utils.verifyFieldPresent(Utils.java:729) at com.kinective.sapi.DepositsTimeDepositSearch.depositSearch(DepositsTimeDepositSearch.java:50) at com.kinective.sapi.DepositsTimeDepositSearch.depositSearch(DepositsTimeDepositSearch.java:19) at com.kinective.testscripts.Deposits.DepositsTest.premierCoTimeDepositSearch_CDA(DepositsTest.java:1124) 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-1949859519\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_CDA"/>
        </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
csiMeridianTimeDepositSearch
premierCoTimeDepositSearch_CDA
premierCo
premierCoTimeDepositSearch_CDA
premierCoDeposits
premierCoTimeDepositSearch_CDA
Times for Rest Assured Api Suites
Total running time: 14 seconds
Reporter output for Rest Assured Api Suites
premierCoTimeDepositSearch_CDA({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Get Accounts SDA - Status: Succes...)
#TC186 Search for a time deposit account
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 8681 milli second

content[0].accountDetail.customerRelationships[3].phoneNumbers Field is not present in Response Body
38 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
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_CDA({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Get Accounts SDA - Status: Succes...) 662 ms