com.kinective.testscripts.Monetary.MonetaryTest
premierCoTransferFunds
({VERIFY OBJECT IN ARRAY=, toAccount={
"accountNumber": "1017901",
"accountType": "GL",
"description": "DDA to GLA Transfer to",
"transactionCode": "400"
}, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=AddTransferApi - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC191 Transfer the funds from 'checking' account to 'GL' account and assert the success message as 'AddTransferApi - Status: Success'. Also Veriy the fields in the response - isPosted, transactionPostDate, description:success, creditGLAccount=, EXPECTED STATUS=200, fromAccount={
"accountNumber": "5041733",
"accountType": "Checking",
"description": "DDA to GLA Transfer from",
"transactionCode": "47"
}, responseTimeSeconds=15, TEST ID=premierCoTransferFunds, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, assetID=Kinective_PremierCO_API_Sandbox, debitGLAccount=, VERIFY FIELDS=content.isPosted,content.transactionPostDate,content.description,statusFlag,statusMessage,statusCode,uuid, BODY={
"assetID": "{{assetID}}",
"content": {
"amount": 0.12,
"effectiveDate": "2025-05-20",
"fromAccount": {{fromAccount}},
"toAccount": {{toAccount}},
"transferType": "FundsTransfer"
},
"uuid": "9876"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=content.isPosted:true,content.description:Success})
(#TC25 Transfer the funds - Monetary Transfer)
premierCoTransferFunds
({VERIFY OBJECT IN ARRAY=, toAccount={
"accountNumber": "1017901",
"accountType": "GL",
"description": "DDA to GLA Transfer to",
"transactionCode": "400"
}, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=AddTransferApi - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC192 Transfer the funds with effective date as past date and verify the success message in the response body, creditGLAccount=, EXPECTED STATUS=200, fromAccount={
"accountNumber": "5041733",
"accountType": "Checking",
"description": "DDA to GLA Transfer from",
"transactionCode": "47"
}, responseTimeSeconds=15, TEST ID=premierCoTransferFunds, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, assetID=Kinective_PremierCO_API_Sandbox, debitGLAccount=, VERIFY FIELDS=, BODY={
"assetID": "{{assetID}}",
"content": {
"amount": 0.12,
"effectiveDate": "2025-02-20",
"fromAccount": {{fromAccount}},
"toAccount": {{toAccount}},
"transferType": "FundsTransfer"
},
"uuid": "9876"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=content.description:Success})
(#TC25 Transfer the funds - Monetary Transfer)
C:\Users\Monil Shah\Documents\Gitlab\QA-Automation-Standard-Api\testxml\premierCo_test.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="1" name="Rest Assured">
<classes>
<class name="com.kinective.testscripts.Monetary.MonetaryTest">
<methods>
<include name="premierCoTransferFunds"/>
</methods>
</class> <!-- com.kinective.testscripts.Monetary.MonetaryTest -->
</classes>
</test> <!-- Rest Assured -->
</suite> <!-- Rest Assured Api Suites -->
Tests for Rest Assured Api Suites
- Rest Assured (1 class)
Groups for Rest Assured Api Suites
premierCo
premierCoTransferFunds
premierCoMonetary
premierCoTransferFunds
premierCoTransferFunds
premierCoTransferFunds
Times for Rest Assured Api Suites
Total running time: 13 seconds
Reporter output for Rest Assured Api Suites
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={
"accountNumber": "1017901",
"accountTy...)
Field 'content.isPosted' is present in Response Body
Field 'content.transactionPostDate' is present in Response Body
Field 'content.description' is present in Response Body
Field 'statusFlag' is present in Response Body
Field 'statusMessage' is present in Response Body
Field 'statusCode' is present in Response Body
Field 'uuid' is present in Response Body
Field 'content.isPosted' has expected value 'true'
Field 'content.description' has expected value 'Success'
No empty objects found in JSON
Status code is matching correctly! (Expected : 200 Actual : 200 )
#TC191 Transfer the funds from 'checking' account to 'GL' account and assert the success message as 'AddTransferApi - Status: Success'. Also Veriy the fields in the response - isPosted, transactionPostDate, description:success
Steps:
Field 'content.isPosted' is present in Response Body
Field 'content.transactionPostDate' is present in Response Body
Field 'content.description' is present in Response Body
Field 'statusFlag' is present in Response Body
Field 'statusMessage' is present in Response Body
Field 'statusCode' is present in Response Body
Field 'uuid' is present in Response Body
Field 'content.isPosted' has expected value 'true'
Field 'content.description' has expected value 'Success'
No empty objects found in JSON
Status code is matching correctly! (Expected : 200 Actual : 200 )
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={
"accountNumber": "1017901",
"accountTy...)
Field 'content.description' has expected value 'Success'
No empty objects found in JSON
Status code is matching correctly! (Expected : 200 Actual : 200 )
#TC192 Transfer the funds with effective date as past date and verify the success message in the response body
Steps:
Field 'content.description' has expected value 'Success'
No empty objects found in JSON
Status code is matching correctly! (Expected : 200 Actual : 200 )
6 ignored methods
com.kinective.testscripts.Monetary.MonetaryTest
jXchangeTransferFunds
csiDebitGLAccount
corelationTransferToGLAccount
corelationTransferFunds
creditAndDebitGLAccount
symXchangeTransferFunds
csiDebitGLAccount
corelationTransferToGLAccount
corelationTransferFunds
creditAndDebitGLAccount
symXchangeTransferFunds
Methods in chronological order
com.kinective.testscripts.Monetary.MonetaryTest
init(org.testng.TestRunner@73613ae5)
0 ms
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={
"accountNumber": "1017901",
"accountTy...)
322 ms
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={
"accountNumber": "1017901",
"accountTy...)
8828 ms