Test results
1 suite
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...)
#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:
Generating Access Token
 End Point URI:monetary/transfer-funds
 Sending POST Publish command
 Executed URL {}
 Status Code 200
 Time taken to get response is 4887 milli second
 === Starting Comprehensive JSON Verification ===
 --- Running Field Presence Verification ---

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
 --- Running Field Value Verification ---

Field 'content.isPosted' has expected value 'true'

Field 'content.description' has expected value 'Success'
 --- 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: AddTransferApi - Status: Success
 Transfer Create Successful
Content is : {"isPosted":true,"transactionPostDate":"2025-09-25T14:21:22.496","description":"Success"}
statusMessage is: AddTransferApi - Status: Success
statusFlag is: true
UUID is: 9876
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...)
#TC192 Transfer the funds with effective date as past date and verify the success message in the response body
Steps:
Generating Access Token
 End Point URI:monetary/transfer-funds
 Sending POST Publish command
 Executed URL {}
 Status Code 200
 Time taken to get response is 3818 milli second
 === Starting Comprehensive JSON Verification ===
 --- Running Field Value Verification ---

Field 'content.description' has expected value 'Success'
 --- Running Empty Objects Verification ---

No empty objects found in JSON
 Verification types detected: Values, No Empty Objects
 === JSON Verification Complete - 2 verification type(s) executed ===

Status code is matching correctly! (Expected : 200 Actual : 200 )
 Message: AddTransferApi - Status: Success
 Transfer Create Successful
Content is : {"isPosted":true,"transactionPostDate":"2025-09-25T14:21:27.888","description":"Success"}
statusMessage is: AddTransferApi - Status: Success
statusFlag is: true
UUID is: 9876
6 ignored methods
com.kinective.testscripts.Monetary.MonetaryTest
jXchangeTransferFunds
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