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=#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)
premierCoTransferFunds ({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountType": "GL", "description": "DDA to GLA Transfer to", "transactionCode": "400" }, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Unsupported Function Error, ERROR MESSAGE=, TEST SCENARIO=#TC194 Transfer funds with invalid transferType and verify the error message as 'Unsupported Function Error', 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-05-20", "fromAccount": {{fromAccount}}, "toAccount": {{toAccount}}, "transferType": "EscrowOnly" }, "uuid": "9876" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=statusFlag:false}) (#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=Insufficient Funds, ERROR MESSAGE=, TEST SCENARIO=#TC195 Transfer funds with insufficient funds and verify the status message has 'Insufficient Funds' message, 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": 15000, "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=statusFlag:false}) (#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=Account Number Not On File, ERROR MESSAGE=, TEST SCENARIO=#TC193 Transfer funds with wrong account number and assert the error message in response body as 'Account Number Not On File' and statusFlag should be false, creditGLAccount=, EXPECTED STATUS=200, fromAccount={ "accountNumber": "5041733000", "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=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=}) (#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=#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": "", "transactionCode": "400" }, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Missing transfer description, ERROR MESSAGE=, TEST SCENARIO=#TC196 Transfer funds without description and verify the statusMessage has the message as Missing transfer description, 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-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=statusFlag:false}) (#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: 43 seconds
Reporter output for Rest Assured Api Suites
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 4453 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-26T09:48:48.010","description":"Success"}
statusMessage is: AddTransferApi - Status: Success
statusFlag is: true
UUID is: 9876
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...)
#TC194 Transfer funds with invalid transferType and verify the error message as 'Unsupported Function Error'
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 3765 milli second
 === Starting Comprehensive JSON Verification ===
 --- Running Field Value Verification ---

Field 'statusFlag' has expected value 'false'
 --- 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: Error: AddTransfer - Status: Error - Unsupported Function Error
 Transfer Create Successful
Content is : null
statusMessage is: AddTransferApi - Status: Error: AddTransfer - Status: Error - Unsupported Function Error
statusFlag is: false
UUID is: 9876
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...)
#TC195 Transfer funds with insufficient funds and verify the status message has 'Insufficient Funds' message
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 4280 milli second
 === Starting Comprehensive JSON Verification ===
 --- Running Field Value Verification ---

Field 'statusFlag' has expected value 'false'
 --- 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: Error: AddTransfer - Status: Error - Request Denied Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8102, ServerStatusDesc=Teller Alert: [1] OD PROTECTED} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8102, ServerStatusDesc=Teller Alert: [10] NO P/O QUOTE} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8103, ServerStatusDesc=Warning: 20} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8111, ServerStatusDesc=Withholding Code: 2} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8114, ServerStatusDesc=Pledged as Collateral: [2]} Additional status for AddTransfer call: {StatusCode=2940, StatusDesc=Insufficient Funds, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8115, ServerStatusDesc=Insufficient Funds} Additional status for AddTransfer call: {StatusCode=1090, StatusDesc=Invalid Value, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8148, ServerStatusDesc=Transaction Restriction Code: [2] Allow Misc & Auto Trans} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8117, ServerStatusDesc=See Signers} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8147, ServerStatusDesc=Hold on Account}
 Transfer Create Successful
Content is : null
statusMessage is: AddTransferApi - Status: Error: AddTransfer - Status: Error - Request Denied Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8102, ServerStatusDesc=Teller Alert: [1] OD PROTECTED} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8102, ServerStatusDesc=Teller Alert: [10] NO P/O QUOTE} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8103, ServerStatusDesc=Warning: 20} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8111, ServerStatusDesc=Withholding Code: 2} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8114, ServerStatusDesc=Pledged as Collateral: [2]} Additional status for AddTransfer call: {StatusCode=2940, StatusDesc=Insufficient Funds, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8115, ServerStatusDesc=Insufficient Funds} Additional status for AddTransfer call: {StatusCode=1090, StatusDesc=Invalid Value, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8148, ServerStatusDesc=Transaction Restriction Code: [2] Allow Misc & Auto Trans} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8117, ServerStatusDesc=See Signers} Additional status for AddTransfer call: {StatusCode=999, StatusDesc=General Error, Severity=Error, SvcProviderName=Premier, ServerStatusCode=8147, ServerStatusDesc=Hold on Account}
statusFlag is: false
UUID is: 9876
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...)
#TC193 Transfer funds with wrong account number and assert the error message in response body as 'Account Number Not On File' and statusFlag should be false
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 4059 milli second
 === Starting Comprehensive JSON Verification ===
 --- Running Field Presence Verification ---

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 Empty Objects Verification ---

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

Status code is matching correctly! (Expected : 200 Actual : 200 )
 Message: AddTransferApi - Status: Error: AddTransfer - Status: Error - Request Denied Additional status for AddTransfer call: {StatusCode=1121, StatusDesc=No Records Found, Severity=Error, SvcProviderName=Premier, ServerStatusCode=299142, ServerStatusDesc=Account Number Not On File}
 Transfer Create Successful
Content is : null
statusMessage is: AddTransferApi - Status: Error: AddTransfer - Status: Error - Request Denied Additional status for AddTransfer call: {StatusCode=1121, StatusDesc=No Records Found, Severity=Error, SvcProviderName=Premier, ServerStatusCode=299142, ServerStatusDesc=Account Number Not On File}
statusFlag is: false
UUID is: 9876
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 6183 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-26T09:48:41.283","description":"Success"}
statusMessage is: AddTransferApi - Status: Success
statusFlag is: true
UUID is: 9876
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...)
#TC196 Transfer funds without description and verify the statusMessage has the message as Missing transfer description
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 3709 milli second
 === Starting Comprehensive JSON Verification ===
 --- Running Field Value Verification ---

Field 'statusFlag' has expected value 'false'
 --- 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: Error: AddTransfer - Status: Error - Missing transfer description
 Transfer Create Successful
Content is : null
statusMessage is: AddTransferApi - Status: Error: AddTransfer - Status: Error - Missing transfer description
statusFlag is: false
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@72543547) 0 ms
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...) 1346 ms
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...) 18748 ms
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...) 24793 ms
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...) 29943 ms
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...) 34245 ms
premierCoTransferFunds({VERIFY OBJECT IN ARRAY=, toAccount={ "accountNumber": "1017901", "accountTy...) 39774 ms