Rest Assured

Tests passed/Failed/Skipped:3/0/1
Started on:Tue Sep 23 10:16:59 PDT 2025
Total time:14 seconds (14704 ms)
Included groups:
Excluded groups:

(Hover the method name to see the test class name)

PASSED TESTS
Test method Exception Time (seconds) Instance
premierCoTimeDepositSearch_InvalidAccountType
Test class: com.kinective.testscripts.Deposits.DepositsTest
Test method: #TC184 Search for a time deposit with a wrong/ non existing account type
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=Status: Error - Invalid Account Type, TEST SCENARIO=#TC184 Search for an invalid time deposit account type, accountBase=, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, TEST ID=premierCoTimeDepositSearch_InvalidAccountType, VERIFY ARRAY SIZE=, accountServices=, timeDeposit=, VERIFY NO EMPTY OBJECTS=TRUE, accountDetail=, DepositSearchBody=, VERIFY FIELDS=statusCode,statusMessage, BODY={ "assetID": "Kinective_PremierCO_API_Sandbox", "content": { "accountNumber": "290001702", "accountType": "MBA" }, "uuid": "12345" }, beneficiaries=, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=statusFlag:false, order=}
Show output Show all outputs
#TC184 Search for an invalid time deposit account type
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 2483 milli second


statusCode Field is present in Response Body


statusMessage Field is present in Response Body


Status code is matching correctly! (Expected : 200 Actual : 200 )

 Message: Time deposit search API failed: GetAccountsSDA - Status: Error - Invalid Account Type

 Time Deposit Search Successful.

Content is : null
statusMessage is: Time deposit search API failed: GetAccountsSDA - Status: Error - Invalid Account Type
statusFlag is: false
UUID is: 12345

3 com.kinective.testscripts.Deposits.DepositsTest@41d477ed
premierCoTimeDepositSearch_InvalidAccount
Test class: com.kinective.testscripts.Deposits.DepositsTest
Test method: #TC182 Search time deposit with an invalid account number
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=GetAccountsSDA - Status: Error - Account not found, TEST SCENARIO=#TC182 Search time deposit with an invalid account number, accountBase=, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, TEST ID=premierCoTimeDepositSearch_InvalidAccount, VERIFY ARRAY SIZE=, accountServices=, timeDeposit=, VERIFY NO EMPTY OBJECTS=TRUE, accountDetail=, DepositSearchBody=, VERIFY FIELDS=statusCode,statusMessage, BODY={ "assetID": "Kinective_PremierCO_API_Sandbox", "content": { "accountNumber": "290AB1702", "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=statusFlag:false, order=}
Show output Show all outputs
#TC182 Search time deposit with an invalid account number
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 3610 milli second


statusCode Field is present in Response Body


statusMessage Field is present in Response Body


Status code is matching correctly! (Expected : 200 Actual : 200 )

 Message: Time deposit search API failed: GetAccountsSDA - Status: Error - Account not found

 Time Deposit Search Successful.

Content is : null
statusMessage is: Time deposit search API failed: GetAccountsSDA - Status: Error - Account not found
statusFlag is: false
UUID is: 12345

8 com.kinective.testscripts.Deposits.DepositsTest@41d477ed
premierCoTimeDepositSearch_BlankAccountNumber
Test class: com.kinective.testscripts.Deposits.DepositsTest
Test method: #TC185 Search for a time deposit account with blank account number
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=Status: Error - Account Identifier is required, TEST SCENARIO=#TC185 Search for time deposit with blank account number field, accountBase=, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, TEST ID=premierCoTimeDepositSearch_BlankAccountNumber, VERIFY ARRAY SIZE=, accountServices=, timeDeposit=, VERIFY NO EMPTY OBJECTS=TRUE, accountDetail=, DepositSearchBody=, VERIFY FIELDS=statusCode,statusMessage, BODY={ "assetID": "Kinective_PremierCO_API_Sandbox", "content": { "accountNumber": "", "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=statusFlag:false, order=}
Show output Show all outputs
#TC185 Search for time deposit with blank account number field
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 2362 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'statusCode' is present in Response Body


Field 'statusMessage' is present in Response Body

 --- Running Field Value Verification ---


Field 'statusFlag' has expected value 'false'

 --- Running Empty Objects Verification ---


No empty objects found in JSON

 Verification types detected: Fields, Values, No Empty Objects

 === JSON Verification Complete - 3 verification type(s) executed ===


Status code is matching correctly! (Expected : 200 Actual : 200 )

 Message: Time deposit search API failed: GetAccountsSDA - Status: Error - Account Identifier is required

 Time Deposit Search Successful.

Content is : null
statusMessage is: Time deposit search API failed: GetAccountsSDA - Status: Error - Account Identifier is required
statusFlag is: false
UUID is: 12345

2 com.kinective.testscripts.Deposits.DepositsTest@41d477ed

SKIPPED TESTS
Test method Exception Time (seconds) Instance
premierCoTimeDepositSearch_NonexistingAccount
Test class: com.kinective.testscripts.Deposits.DepositsTest
Test method: #TC183 Search for a time deposit account which doesnt exist
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
	at java.base/java.util.Objects.checkIndex(Objects.java:385)
	at java.base/java.util.ArrayList.get(ArrayList.java:427)
	at com.generics.utils.DataProviderUtils.multipleTestData(DataProviderUtils.java:127)
	... 25 more
... Removed 30 stack frames
Click to show all stack frames
java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at org.testng.internal.MethodInvocationHelper.invokeMethodNoCheckedException(MethodInvocationHelper.java:50)
	at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodInvocationHelper.java:146)
	at org.testng.internal.Parameters.handleParameters(Parameters.java:798)
	at org.testng.internal.Parameters.handleParameters(Parameters.java:740)
	at org.testng.internal.ParameterHandler.handleParameters(ParameterHandler.java:59)
	at org.testng.internal.ParameterHandler.createParameters(ParameterHandler.java:38)
	at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:791)
	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)
Caused by: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
	at java.base/java.util.Objects.checkIndex(Objects.java:385)
	at java.base/java.util.ArrayList.get(ArrayList.java:427)
	at com.generics.utils.DataProviderUtils.multipleTestData(DataProviderUtils.java:127)
	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.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:77)
	at org.testng.internal.MethodInvocationHelper.invokeMethodNoCheckedException(MethodInvocationHelper.java:46)
	... 25 more
0 com.kinective.testscripts.Deposits.DepositsTest@41d477ed