Rest Assured

Tests passed/Failed/Skipped:18/2/0
Started on:Fri Sep 19 17:15:18 IST 2025
Total time:122 seconds (122823 ms)
Included groups:
Excluded groups:

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

FAILED TESTS
Test method Exception Time (seconds) Instance
premierCoRelatioshipSearch
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC166 Search for a newly created relationship
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC169 Search for a relatioship using customerID, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].accountRelationshipStatus.relationshipStatusCode, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "accountType": "LOAN", "customerID": "3242098" }, "uuid": "string" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=content[0].relatedToCustomerInformation.relatedToCustomerID:3242098,content[0].accountInformation.accountType:LOAN}
Show output Show all outputs
#TC169 Search for a relatioship using customerID
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 4144 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'content[0].accountRelationshipStatus.relationshipStatusCode' is present in Response Body

 --- Running Field Value Verification ---


Field 'content[0].relatedToCustomerInformation.relatedToCustomerID' has expected value '3242098'



Field 'content[0].accountInformation.accountType' value mismatch. Expected: 'LOAN', Actual: 'SDA'

java.lang.AssertionError: Field 'content[0].accountInformation.accountType' value mismatch. Expected: 'LOAN', Actual: 'SDA'
	at com.generics.utils.Log.fail(Log.java:596)
	at com.generics.utils.JsonVerificationUtils.verifyFieldValue(JsonVerificationUtils.java:325)
	at com.generics.utils.JsonVerificationUtils.verifyFieldValues(JsonVerificationUtils.java:113)
	at com.generics.utils.JsonVerificationUtils.verifyAllJsonData(JsonVerificationUtils.java:758)
	at com.generics.utils.Utils.verifyFieldPresent(Utils.java:739)
	at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:83)
	at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:49)
	at com.kinective.testscripts.Customer.CustomerTest.premierCoRelatioshipSearch(CustomerTest.java:1378)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
... Removed 26 stack frames
Click to show all stack frames
java.lang.AssertionError: Field 'content[0].accountInformation.accountType' value mismatch. Expected: 'LOAN', Actual: 'SDA'
	at org.testng.Assert.fail(Assert.java:99)
	at com.generics.utils.Log.fail(Log.java:596)
	at com.generics.utils.JsonVerificationUtils.verifyFieldValue(JsonVerificationUtils.java:325)
	at com.generics.utils.JsonVerificationUtils.verifyFieldValues(JsonVerificationUtils.java:113)
	at com.generics.utils.JsonVerificationUtils.verifyAllJsonData(JsonVerificationUtils.java:758)
	at com.generics.utils.Utils.verifyFieldPresent(Utils.java:739)
	at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:83)
	at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:49)
	at com.kinective.testscripts.Customer.CustomerTest.premierCoRelatioshipSearch(CustomerTest.java:1378)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	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:1596)
	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)
5 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoRelatioshipSearch
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC166 Search for a newly created relationship
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Error - No Records Match Selection Criteria, ERROR MESSAGE=, TEST SCENARIO=#TC170 Search for relationship with CustomerID and beneficialOwnerRequest:"Y" when beneficial owner is not found, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusCode,uuid, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "customerID": "3242098", "beneficialOwnerRequest": "Y" }, "uuid": "314636" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=statusFlag:false}
Show output Show all outputs
#TC170 Search for relationship with CustomerID and beneficialOwnerRequest:"Y" when beneficial owner is not found
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3473 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'statusCode' is present in Response Body


Field 'uuid' is present in Response Body

 --- Running Field Value Verification ---



Field 'statusFlag' value mismatch. Expected: 'false', Actual: 'true'

java.lang.AssertionError: Field 'statusFlag' value mismatch. Expected: 'false', Actual: 'true'
	at com.generics.utils.Log.fail(Log.java:596)
	at com.generics.utils.JsonVerificationUtils.verifyFieldValue(JsonVerificationUtils.java:325)
	at com.generics.utils.JsonVerificationUtils.verifyFieldValues(JsonVerificationUtils.java:113)
	at com.generics.utils.JsonVerificationUtils.verifyAllJsonData(JsonVerificationUtils.java:758)
	at com.generics.utils.Utils.verifyFieldPresent(Utils.java:739)
	at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:83)
	at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:49)
	at com.kinective.testscripts.Customer.CustomerTest.premierCoRelatioshipSearch(CustomerTest.java:1378)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
... Removed 26 stack frames
Click to show all stack frames
java.lang.AssertionError: Field 'statusFlag' value mismatch. Expected: 'false', Actual: 'true'
	at org.testng.Assert.fail(Assert.java:99)
	at com.generics.utils.Log.fail(Log.java:596)
	at com.generics.utils.JsonVerificationUtils.verifyFieldValue(JsonVerificationUtils.java:325)
	at com.generics.utils.JsonVerificationUtils.verifyFieldValues(JsonVerificationUtils.java:113)
	at com.generics.utils.JsonVerificationUtils.verifyAllJsonData(JsonVerificationUtils.java:758)
	at com.generics.utils.Utils.verifyFieldPresent(Utils.java:739)
	at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:83)
	at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:49)
	at com.kinective.testscripts.Customer.CustomerTest.premierCoRelatioshipSearch(CustomerTest.java:1378)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	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:1596)
	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)
4 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c

PASSED TESTS
Test method Exception Time (seconds) Instance
premierCoRelatioshipSearch
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC166 Search for a newly created relationship
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - Status: Success,GetPartyToPartyRelationshipApi - Status: Error: GetPartyToPartyRelationship - Status: Error - No Records Match Selection Criteria, ERROR MESSAGE=, TEST SCENARIO=#TC171 Search for relationship with multiple parameters and verify response and assert error in statusMessage, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "accountType": "LOAN", "includeCustomerInformation": true, "taxID": "503123488", "customerID": "3242098", "coreSpecificFields": { "accountNumber": "1082108810" } }, "uuid": "string" }, 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:1082108810}
Show output Show all outputs
#TC171 Search for relationship with multiple parameters and verify response and assert error in statusMessage
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 5555 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Value Verification ---


Field 'content[0].accountInformation.accountNumber' has expected value '1082108810'

 Verification types detected: Values

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


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

 Message: GetPartyAccountRelationshipApi - Status: Success,GetPartyToPartyRelationshipApi - Status: Error: GetPartyToPartyRelationship - Status: Error - No Records Match Selection Criteria

 Customer Relationship Search has been successful.

Content is : [{"accountInformation":{"accountType":"LOAN","subAccountNumber":20,"accountNumber":"1082108810"},"accountRelationshipStatus":{"relationshipStatusCode":"Borrower"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130","relatedToName":"PAUL D ALLEN"}},{"accountInformation":{"accountType":"LOAN","subAccountNumber":20,"accountNumber":"1082108810"},"accountRelationshipStatus":{"relationshipStatusCode":"Borrower"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242129","relatedToName":"STEVEN C YOUNG"}}]
statusMessage is: GetPartyAccountRelationshipApi - Status: Success,GetPartyToPartyRelationshipApi - Status: Error: GetPartyToPartyRelationship - Status: Error - No Records Match Selection Criteria
statusFlag is: true
UUID is: string

6 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoCreateCust_verifyBySearchCust
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC158 #TC159 #TC160 #TC161 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC160 Create a customer with person record with foreign=false and verify the fields in the response body. [Bug - KP-762] Also verify that all the address fields are present in the response body , coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones={ "areaCode": "402", "countryCode": "1", "isPrimary": true, "number": "2190004", "phoneType": "Work" }, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={ "expirationDate": "2025-12-30", "issueDate": "2020-12-30", "issuer": "US", "type": "A", "value": "21301002543894127" }, { "expirationDate": "2029-12-30", "issueDate": "2040-12-30", "issuer": "US", "type": "C", "value": "21301002543899999" }, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase={ "alienStatus": { "chapter3Status": "0", "chapter4Status": "0", "giin": "0", "w8Type": "W8-BEN-E" }, "createDate": "2021-01-09", "crmSmsa": "1002", "customerType": "Person", "dob": "1988-01-07", "email": { "emailAddress": "EMAIL8@ZOOHO.COM", "emailType": "PERSON" }, "employeeCode": "9", "gender": "Male", "idList": [ {{idList}} ], "isUSCitizen": true, "naicsCode": 1, "mothersMaidenName": "Jolly Josh", "password": "Hjosheph@123", "passwordClue": "First and Last Name 123", "name": { "firstName": "HOWARD", "fullName": "JOSEPH N HOWARD", "lastName": "JOSEPH", "legalName": "JOSEPH N HOWARD", "middleName": "N", "suffix": "Jr." }, "phones": [ {{phones}} ], "residences": [{{residences}} ], "taxID": "988125678", "taxIDType": "P", "tinCertification": "Certified" }, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3309990" }, "uuid": "" }, residences={ "address1": "2221 MILLER", "address2": "STE 123", "addressType": "Current", "city": "FALLS CITY", "isPrimary": true, "postalCode": "683 61", "postalExtension": "1234", "seasonBeginDate": "2019-08-17", "seasonEndDate": "2027-08-17", "state": "CA", "streetName": "MILLER", "streetNumber": "2221", "subType": "Personal", "suite": "STE 123", "isForeign": false, "countryCode": "2", "msaCode": 0, "censusTractNumber": "009109" }, BODY={ "assetID": "{{assetID}}", "content": { "branchNumber": "2", "customerBase": {{customerBase}}, "officerCode": "99", "originatingBranch": "2", "userFields": [ { "dataLength": 40, "dataType": "Alpha", "description": "GoldTier ID", "expirationDate": "2022-12-12", "groupNumber": "0", "key": "700", "requiredFlag": false, "searchFlag": true, "value": "100002" } ] }, "uuid": "12345" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC160 Create a customer with person record with foreign=false and verify the fields in the response body. [Bug - KP-762] Also verify that all the address fields are present in the response body
Steps:

Generating Access Token

 End Point URI:customer/customer-create

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 4692 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Empty Objects Verification ---


No empty objects found in JSON

 Verification types detected: No Empty Objects

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


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

 Message: AddPartyApi - Status: Success

 Customer has been created successful.

Content is : {"customerID":"3321822"}
statusMessage is: AddPartyApi - Status: Success
statusFlag is: true
UUID is: 12345

 Customer Search test Data are: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=, TEST SCENARIO=#TC160 Create a customer with person record with foreign=false and verify the fields in the response body. [Bug - KP-762] Also verify that all the address fields are present in the response body , coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones={ "areaCode": "402", "countryCode": "1", "isPrimary": true, "number": "2190004", "phoneType": "Work" }, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={ "expirationDate": "2025-12-30", "issueDate": "2020-12-30", "issuer": "US", "type": "A", "value": "21301002543894127" }, { "expirationDate": "2029-12-30", "issueDate": "2040-12-30", "issuer": "US", "type": "C", "value": "21301002543899999" }, VERIFY ARRAY SIZE=, accessToken=Bearer eyJraWQiOiJyVk1SeUtqelBpRll5eWJWZFFIRmE2b1oxa1E3MlJhVENvSW9ENWdZSGJrPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MjgyMzQ1LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgyODU5NDUsImlhdCI6MTc1ODI4MjM0NSwidmVyc2lvbiI6MiwianRpIjoiMTljNTA0ZjYtMjc4OC00YjYxLTk0ODMtNjUxNWYxYTMzOTI3IiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.MHn32hu1kA3lhz9Y7WapGi1HGsHPIZWIUnqSt1avpdL8Wu2G75T37WHuvgAW6SltQDcTSaPkHYs2RMO_2QSI_ixVCQtoYMFxHBKxzngi_JiaODhwK_fhKFx7ZKw0EWKcWT013HY39F7Y_8KJDRGssLN-45or9BdNfP2o_zDoZ4jRs_-PA10hI8c0G6EwOJS5MT3nplQczi6r0xurIBjScB3jGqziOsn-IsIp1s8ZXtPO7BIgYp8KCR-XnTGHC8RDU0cZUdwjs60WtWlIXg7KLbSXYgpv4-tyxgFSM3jJNZCI3J4XPq2DtC3g2rkETVMqthd-aNjsi9emGKZHGW2pWA, VERIFY NO EMPTY OBJECTS=TRUE, customerBase={ "alienStatus": { "chapter3Status": "0", "chapter4Status": "0", "giin": "0", "w8Type": "W8-BEN-E" }, "createDate": "2021-01-09", "crmSmsa": "1002", "customerType": "Person", "dob": "1988-01-07", "email": { "emailAddress": "EMAIL8@ZOOHO.COM", "emailType": "PERSON" }, "employeeCode": "9", "gender": "Male", "idList": [ {{idList}} ], "isUSCitizen": true, "naicsCode": 1, "mothersMaidenName": "Jolly Josh", "password": "Hjosheph@123", "passwordClue": "First and Last Name 123", "name": { "firstName": "HOWARD", "fullName": "JOSEPH N HOWARD", "lastName": "JOSEPH", "legalName": "JOSEPH N HOWARD", "middleName": "N", "suffix": "Jr." }, "phones": [ {{phones}} ], "residences": [{{residences}} ], "taxID": "988125678", "taxIDType": "P", "tinCertification": "Certified" }, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].customerBase.residences[0].censusTractNumber,content[0].customerBase.residences[0].postalExtension, customerSearchBody={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3309990" }, "uuid": "" }, residences={ "address1": "2221 MILLER", "address2": "STE 123", "addressType": "Current", "city": "FALLS CITY", "isPrimary": true, "postalCode": "683 61", "postalExtension": "1234", "seasonBeginDate": "2019-08-17", "seasonEndDate": "2027-08-17", "state": "CA", "streetName": "MILLER", "streetNumber": "2221", "subType": "Personal", "suite": "STE 123", "isForeign": false, "countryCode": "2", "msaCode": 0, "censusTractNumber": "009109" }, BODY={"assetID":"{{assetID}}","uuid":"","content":{"taxID":"","customerID":"3321822"}}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=content[0].customerBase.residences[0].isForeign:false}

#TC160 Create a customer with person record with foreign=false and verify the fields in the response body. [Bug - KP-762] Also verify that all the address fields are present in the response body
Steps:

Generating Access Token

 End Point URI:customer/customer-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3482 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'content[0].customerBase.residences[0].censusTractNumber' is present in Response Body


Field 'content[0].customerBase.residences[0].postalExtension' is present in Response Body

 --- Running Field Value Verification ---


Field 'content[0].customerBase.residences[0].isForeign' 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: GetPartyApi - Status: Success.

 Customer search has been successful.

Content is : [{"userFields":[{"searchFlag":true,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"gender":"Male","phones":[{"number":"2190004","areaCode":"402","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004"}],"idList":[{"issueDate":"2020-12-30","type":"A","value":"21301002543894127","issuer":"US","expirationDate":"2025-12-30"},{"issueDate":"2040-12-30","type":"C","value":"21301002543899999","issuer":"US","expirationDate":"2029-12-30"}],"mothersMaidenName":"Jolly Josh","riskRating":"None","employeeCode":"9","passwordClue":"First and Last Name 123","alienStatus":{"chapter3Status":"0","w8Type":"None","giin":"0","chapter4Status":"0","chapter3ExemptCode":"0"},"customerType":"Person","password":"Hjosheph@123","dob":"1988-01-07","taxID":"894154387","customerID":"3321822","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH JR.","middleName":"N","suffix":"Jr."},"taxIDType":"P","tinCertification":"Certified","residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2221532","msaCode":1002,"countryCode":"2","isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"9109"}],"crmSmsa":"1002","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"},"createDate":"2025-09-19"}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: d1eb4c01-5134-48b5-8799-f7e8ef8fa435

9 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoQueryCustomer
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC154 Search with a Business Customer with customerID and verify that subType=Business and verify "tinCertification", "passwordClue", "taxIDType" field in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=content[0].customerBase.residences:2, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].customerBase.tinCertification,content[0].customerBase.passwordClue,content[0].customerBase.taxIDType, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3243931" }, "uuid": "123636" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=content[0].customerBase.residences[0].subType:Business}
Show output Show all outputs
#TC154 Search with a Business Customer with customerID and verify that subType=Business and verify "tinCertification", "passwordClue", "taxIDType" field in the response body
Steps:

Generating Access Token

 End Point URI:customer/customer-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3447 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'content[0].customerBase.tinCertification' is present in Response Body


Field 'content[0].customerBase.passwordClue' is present in Response Body


Field 'content[0].customerBase.taxIDType' is present in Response Body

 --- Running Field Value Verification ---


Field 'content[0].customerBase.residences[0].subType' has expected value 'Business'

 --- Running Array Size Verification ---


Array 'content[0].customerBase.residences' has expected size 2

 --- Running Empty Objects Verification ---


No empty objects found in JSON

 Verification types detected: Fields, Values, Array Sizes, No Empty Objects

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


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

 Message: GetPartyApi - Status: Success.

 Customer search has been successful.

Content is : [{"userFields":[{"searchFlag":false,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"},{"searchFlag":true,"dataType":"Currency","description":"Saranda","value":"110102","key":"89901","requiredFlag":false,"expirationDate":"2024-10-11"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"gender":"Male","phones":[{"number":"2190001","areaCode":"402","phoneType":"Mobile","countryCode":"00001","isPrimary":true,"unformattedPhone":"+00001-402-2190001"},{"number":"2190002","areaCode":"402","phoneType":"Work","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190002"},{"number":"2190003","areaCode":"402","phoneType":"Home","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190003"},{"number":"2190004","areaCode":"402","phoneType":"Fax","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190004"}],"idList":[{"issueDate":"2016-12-29","type":"1","value":"DEF8789","issuer":"22","expirationDate":"2017-01-01"}],"riskRating":"Medium","employeeCode":"9","passwordClue":"New York City,NY","alienStatus":{"citizenCountry":"IN","chapter3Status":"0","w8Type":"W8-BEN-E","chapter4Status":"0","residentCountry":"IN","w8ExpirationDate":"2019-12-28","chapter3ExemptCode":"0","w8CertificationDate":"2014-12-28"},"customerType":"Partnership","dob":"1929-09-14","taxID":"988125678","customerID":"3243931","name":{"firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","tinCertification":"Certified","residences":[{"msaCode":1002,"city":"FALLS CITY","address1":"2221 MILLER","countryCode":"10","isPrimary":true,"isForeign":true,"postalCode":"683611234","subType":"Business","state":"CA","addressID":"2106202","censusTractNumber":"9"},{"msaCode":1002,"city":"MILFORD","address1":"1129 G ST","countryCode":"10","isPrimary":false,"isForeign":true,"postalCode":"688031234","subType":"Business","state":"NJ","addressID":"2106203","censusTractNumber":"9"}],"crmSmsa":"1002","createDate":"2021-01-09"}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: 123636

4 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoRelatioshipSearch
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC166 Search for a newly created relationship
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyToPartyRelationshipApi - Status: Error: GetPartyToPartyRelationship - Status: Error - No Records Match Selection Criteria,GetBeneficialOwnerApi - Status: Error: GetBeneficialOwner - Status: Error - No Records Match Selection Criteria, ERROR MESSAGE=, TEST SCENARIO=#TC172 Search for relationship with CustomerID and includeCustomerInformation:true when no data is returned, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusMessage,statusFlag, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "accountType": "LOAN", "includeCustomerInformation": true, "customerID": "3242098", "beneficialOwnerRequest": "Y" }, "uuid": "string" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC172 Search for relationship with CustomerID and includeCustomerInformation:true when no data is returned
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 5515 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'statusMessage' is present in Response Body


Field 'statusFlag' is present in Response Body

 Verification types detected: Fields

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


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

 Message: ,GetPartyToPartyRelationshipApi - Status: Error: GetPartyToPartyRelationship - Status: Error - No Records Match Selection Criteria,GetBeneficialOwnerApi - Status: Error: GetBeneficialOwner - Status: Error - No Records Match Selection Criteria

 Customer Relationship Search has been successful.

Content is : []
statusMessage is: ,GetPartyToPartyRelationshipApi - Status: Error: GetPartyToPartyRelationship - Status: Error - No Records Match Selection Criteria,GetBeneficialOwnerApi - Status: Error: GetBeneficialOwner - Status: Error - No Records Match Selection Criteria
statusFlag is: true
UUID is: string

6 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoCreateCust_verifyBySearchCust
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC158 #TC159 #TC160 #TC161 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC158 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones={ "areaCode": "402", "countryCode": "1", "extension": "005678", "isPrimary": true, "number": "2190004", "phoneType": "Work" }, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={ "expirationDate": "2025-12-30", "issueDate": "2020-12-30", "issuer": "US", "type": "A", "value": "21301002543894127" }, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase={ "alienStatus": { "chapter3Status": "0", "chapter4Status": "0", "giin": "0", "w8Type": "W8-BEN-E" }, "createDate": "2021-01-09", "crmSmsa": "1002", "customerType": "Business", "email": { "emailAddress": "EMAIL8@ZOOHO.COM", "emailType": "Business" }, "employeeCode": "9", "idList": [ {{idList}} ], "isUSCitizen": true, "naicsCode": 1, "name": { "businessName": "Life savers inc", "legalName": "Lif" }, "phones": [ {{phones}} ], "residences": [ {{residences}} ], "taxID": "988125678", "taxIDType": "B", "tinCertification": "Certified" }, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3309990" }, "uuid": "" }, residences={ "address1": "2221 MILLER", "address2": "STE 123", "addressType": "Current", "city": "FALLS CITY", "isPrimary": true, "postalCode": "68361", "postalExtension": "1234", "seasonBeginDate": "2019-08-17", "seasonEndDate": "2027-08-17", "state": "CA", "streetName": "MILLER", "streetNumber": "2221", "subType": "Business", "suite": "STE 123" }, BODY={ "assetID": "{{assetID}}", "content": { "branchNumber": "2", "customerBase": {{customerBase}}, "officerCode": "99", "originatingBranch": "2", "userFields": [ { "dataLength": 40, "dataType": "Alpha", "description": "GoldTier ID", "expirationDate": "2022-12-12", "groupNumber": "0", "key": "700", "requiredFlag": false, "searchFlag": true, "value": "100002" } ] }, "uuid": "12345" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC158 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body
Steps:

Generating Access Token

 End Point URI:customer/customer-create

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 5837 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Empty Objects Verification ---


No empty objects found in JSON

 Verification types detected: No Empty Objects

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


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

 Message: AddPartyApi - Status: Success

 Customer has been created successful.

Content is : {"customerID":"3321820"}
statusMessage is: AddPartyApi - Status: Success
statusFlag is: true
UUID is: 12345

 Customer Search test Data are: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=, TEST SCENARIO=#TC158 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones={ "areaCode": "402", "countryCode": "1", "extension": "005678", "isPrimary": true, "number": "2190004", "phoneType": "Work" }, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={ "expirationDate": "2025-12-30", "issueDate": "2020-12-30", "issuer": "US", "type": "A", "value": "21301002543894127" }, VERIFY ARRAY SIZE=, accessToken=Bearer eyJraWQiOiJyVk1SeUtqelBpRll5eWJWZFFIRmE2b1oxa1E3MlJhVENvSW9ENWdZSGJrPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MjgyMzIxLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgyODU5MjEsImlhdCI6MTc1ODI4MjMyMSwidmVyc2lvbiI6MiwianRpIjoiNTk0MzE1Y2ItOGUxNS00MDNkLThkZWEtZmJiZDk4OGY4ZGM0IiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.hfBaW2TJ1qiqLtD2QwT_3uk5L5-AJ7XPociRT4D40tdMor_hzmhRrNifSS6G5brWieC6y3H5t_crWlk_Da1mP_xnRvIITt35kLHUIbuGf8bv73Ku6MNn22kU1hmCoghkSkdgLyZ0lUUPE9s5cp6XrISl0L4jvhzzTh19UlBw_ucUHhpoWrs9lnIweoyNy1Y4ij-rcW3oLxAt4dYV9ZgKq0hNUOTZrssk-PnIKRy-6h_blC7W0Sd90puoSe4hNKcp9MwQloAVKslNqSz4FfbxLNYKtnxNpheVLg0bfhzHaJ2QJfQXEJOoflBKjTPZwrfoODV6Xm46VMZtTE35pKxsrw, VERIFY NO EMPTY OBJECTS=TRUE, customerBase={ "alienStatus": { "chapter3Status": "0", "chapter4Status": "0", "giin": "0", "w8Type": "W8-BEN-E" }, "createDate": "2021-01-09", "crmSmsa": "1002", "customerType": "Business", "email": { "emailAddress": "EMAIL8@ZOOHO.COM", "emailType": "Business" }, "employeeCode": "9", "idList": [ {{idList}} ], "isUSCitizen": true, "naicsCode": 1, "name": { "businessName": "Life savers inc", "legalName": "Lif" }, "phones": [ {{phones}} ], "residences": [ {{residences}} ], "taxID": "988125678", "taxIDType": "B", "tinCertification": "Certified" }, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].customerBase.crmSmsa, customerSearchBody={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3309990" }, "uuid": "" }, residences={ "address1": "2221 MILLER", "address2": "STE 123", "addressType": "Current", "city": "FALLS CITY", "isPrimary": true, "postalCode": "68361", "postalExtension": "1234", "seasonBeginDate": "2019-08-17", "seasonEndDate": "2027-08-17", "state": "CA", "streetName": "MILLER", "streetNumber": "2221", "subType": "Business", "suite": "STE 123" }, BODY={"assetID":"{{assetID}}","uuid":"","content":{"taxID":"","customerID":"3321820"}}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=content[0].customerBase.phones[0].isPrimary:true}

#TC158 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body
Steps:

Generating Access Token

 End Point URI:customer/customer-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3435 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'content[0].customerBase.crmSmsa' is present in Response Body

 --- Running Field Value Verification ---


Field 'content[0].customerBase.phones[0].isPrimary' has expected value 'true'

 --- 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: GetPartyApi - Status: Success.

 Customer search has been successful.

Content is : [{"userFields":[{"searchFlag":true,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"idList":[{"issueDate":"2020-12-30","type":"A","value":"21301002543894127","issuer":"US","expirationDate":"2025-12-30"}],"riskRating":"None","employeeCode":"9","alienStatus":{"chapter3Status":"0","w8Type":"None","giin":"0","chapter4Status":"0","chapter3ExemptCode":"0"},"customerType":"Business","taxID":"716666634","customerID":"3321820","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","tinCertification":"Certified","residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221529","censusTractNumber":"0"}],"crmSmsa":"1002","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: c5806036-b4ad-4caf-a49c-de46ca5f9d30

14 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoQueryCustomer
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyListApi - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC153 Search for customer by tax ID and verify fields in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].customerBase.residences[0].isForeign,content[1].customerBase.phones[0].countryCode,content[0].customerBase.residences[0].msaCode, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "taxID": "988125678", "customerID": "" }, "uuid": "123636" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC153 Search for customer by tax ID and verify fields in the response body
Steps:

Generating Access Token

 End Point URI:customer/customer-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 4315 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'content[0].customerBase.residences[0].isForeign' is present in Response Body


Field 'content[1].customerBase.phones[0].countryCode' is present in Response Body


Field 'content[0].customerBase.residences[0].msaCode' 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: GetPartyListApi - Status: Success.

 Customer search has been successful.

Content is : [{"originatingBranch":"2","customerBase":{"customerType":"Partnership","dob":"1929-09-14","taxID":"988125678","customerID":"3321653","name":{"firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","residences":[{"postalExtension":"1234","msaCode":1002,"city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":true,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221224","censusTractNumber":"9"},{"postalExtension":"1234","msaCode":1002,"city":"MILFORD","addressType":"Secondary","address1":"1129 G ST","isPrimary":false,"isForeign":true,"postalCode":"68803","subType":"Business","state":"NJ","addressID":"2221225","censusTractNumber":"9"}],"crmSmsa":"1002"}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3321687","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH JR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2221299","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"9109"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3321696","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221310","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3321695","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221309","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3321694","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221308","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3321693","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"0908787","areaCode":"101","extension":"987654","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-101-0908787+987654"}],"residences":[{"postalExtension":"68361","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2221307","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309898","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"403","extension":"005679","phoneType":"Work","countryCode":"00002","isPrimary":false,"unformattedPhone":"+00002-403-2190005+005679"},{"number":"2190009","areaCode":"407","extension":"005681","phoneType":"Work","countryCode":"00008","isPrimary":false,"unformattedPhone":"+00008-407-2190009+005681"}],"residences":[{"postalExtension":"1234","address2":"suite2","city":"FALLS CITY","addressType":"Primary","address1":"111 street1","isForeign":false,"postalCode":"68361","addressID":"2210010","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","city":"FALLS CITY","addressType":"Seasonal","address1":"STE 123","isForeign":false,"postalCode":"68361","addressID":"2210010","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"postalExtension":"1234","address2":"Suite 123","city":"FALLS CITY","addressType":"Secondary","address1":"addr1 sec","isForeign":false,"postalCode":"68363","addressID":"2210011","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"1561","isForeign":false,"postalCode":"68361","addressID":"2210011","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309381","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2208220","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309855","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Fax","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190005+005678"},{"number":"2190006","areaCode":"402","extension":"005678","phoneType":"Home","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190006+005678"}],"residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209894","censusTractNumber":"0"},{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Secondary","address1":"addr1","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209895","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3309982","name":{"legalName":"SUNLIFE CORP","businessName":"SUN PVT LTD."},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","msaCode":1002,"address2":"STREET 123 STREET 123","city":"FALLS CITY","address1":"111 mill creek","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2210253","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309939","name":{"legalName":"JOSEPH B HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD B JOSEPH","middleName":"B"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210158","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310061","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"403","extension":"005679","phoneType":"Work","countryCode":"00002","isPrimary":false,"unformattedPhone":"+00002-403-2190005+005679"},{"number":"2190006","areaCode":"404","extension":"005680","phoneType":"Work","countryCode":"00003","isPrimary":false,"unformattedPhone":"+00003-404-2190006+005680"},{"number":"2190007","areaCode":"405","extension":"005681","phoneType":"Work","countryCode":"00004","isPrimary":false,"unformattedPhone":"+00004-405-2190007+005681"},{"number":"2190008","areaCode":"406","extension":"005681","phoneType":"Work","countryCode":"00005","isPrimary":false,"unformattedPhone":"+00005-406-2190008+005681"},{"number":"2190009","areaCode":"407","extension":"005681","phoneType":"Work","countryCode":"00008","isPrimary":false,"unformattedPhone":"+00008-407-2190009+005681"}],"residences":[{"postalExtension":"68361","address2":"STE 1235","city":"FALLS CITY","addressType":"Primary","address1":"22251 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210413","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"68361","address2":"addr2 sec","city":"FALLS CITY","addressType":"Seasonal","address1":"addr1 sec","isForeign":false,"postalCode":"68361","addressID":"2210413","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"postalExtension":"123","address2":"STE 123","city":"FALLS CITY","addressType":"Secondary","address1":"2221","isForeign":false,"postalCode":"68361","addressID":"2210414","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"123","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"2221","isForeign":false,"postalCode":"68361","addressID":"2210414","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309542","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Primary","address1":"addr1","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209060","censusTractNumber":"0"},{"msaCode":0,"address2":"STE 123","city":"FALLS","addressType":"Secondary","address1":"2221 MILLER","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209061","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3310006","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2210305","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210305","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Business","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310036","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210367","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"121 redmond","isForeign":false,"postalCode":"68361","addressID":"2210367","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","taxID":"988125678","customerID":"3310113","name":{"firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD JOSEPH"},"taxIDType":"P","residences":[],"crmSmsa":"1002"}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310099","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH JR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[]}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309905","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"403","extension":"005679","phoneType":"Work","countryCode":"00002","isPrimary":false,"unformattedPhone":"+00002-403-2190005+005679"},{"number":"2190006","areaCode":"404","extension":"005680","phoneType":"Work","countryCode":"00003","isPrimary":false,"unformattedPhone":"+00003-404-2190006+005680"},{"number":"2190007","areaCode":"405","extension":"005681","phoneType":"Work","countryCode":"00004","isPrimary":false,"unformattedPhone":"+00004-405-2190007+005681"},{"number":"2190008","areaCode":"406","extension":"005681","phoneType":"Work","countryCode":"00005","isPrimary":false,"unformattedPhone":"+00005-406-2190008+005681"},{"number":"2190009","areaCode":"407","extension":"005681","phoneType":"Work","countryCode":"00008","isPrimary":false,"unformattedPhone":"+00008-407-2190009+005681"}],"residences":[{"msaCode":1002,"address2":"STE 1235","city":"FALLS","addressType":"Primary","address1":"22251 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2210023","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","msaCode":0,"city":"FALLS","addressType":"Seasonal","address1":"STE 123","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2210023","censusTractNumber":"0","seasonEndDate":"9999-08-17"},{"msaCode":0,"address2":"addr2 sec","city":"FALLS","addressType":"Secondary","address1":"addr1 sec","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2210024","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","address2":"Redmond","city":"FALLS","addressType":"Seasonal","address1":"1561","isForeign":false,"addressID":"2210024","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CITY","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309498","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Fax","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190005+005678"},{"number":"2190006","areaCode":"402","extension":"005678","phoneType":"Home","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190006+005678"}],"residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2208967","censusTractNumber":"0"},{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Secondary","address1":"addr1","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2208968","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3309968","name":{"legalName":"LIFE CORP","businessName":"SAN MATEO PVT LTD."},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","msaCode":1002,"city":"FALLS CITY","address1":"111 mill creek","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2210215","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310009","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"403","extension":"005679","phoneType":"Work","countryCode":"00002","isPrimary":false,"unformattedPhone":"+00002-403-2190005+005679"},{"number":"2190006","areaCode":"404","extension":"005680","phoneType":"Work","countryCode":"00003","isPrimary":false,"unformattedPhone":"+00003-404-2190006+005680"},{"number":"2190007","areaCode":"405","extension":"005681","phoneType":"Work","countryCode":"00004","isPrimary":false,"unformattedPhone":"+00004-405-2190007+005681"},{"number":"2190008","areaCode":"406","extension":"005681","phoneType":"Work","countryCode":"00005","isPrimary":false,"unformattedPhone":"+00005-406-2190008+005681"},{"number":"2190009","areaCode":"407","extension":"005681","phoneType":"Work","countryCode":"00008","isPrimary":false,"unformattedPhone":"+00008-407-2190009+005681"}],"residences":[{"postalExtension":"68361","address2":"addr2 sec","city":"FALLS CITY","addressType":"Primary","address1":"addr1 sec","isForeign":false,"postalCode":"68361","addressID":"2210309","msaCode":0,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"postalExtension":"123","address2":"Redmond","city":"FALLS CITY","addressType":"Secondary","address1":"1561","isForeign":false,"postalCode":"68361","addressID":"2210310","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"123","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"2221","isForeign":false,"postalCode":"68361","addressID":"2210310","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310058","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210409","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"121 redmond","isForeign":false,"postalCode":"68361","addressID":"2210409","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309574","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190005+005678"},{"number":"2190006","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190006+005678"},{"number":"2190007","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190007+005678"},{"number":"2190008","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190008+005678"},{"number":"2190009","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190009+005678"}],"residences":[{"msaCode":0,"address2":"STE 123","city":"FALLS","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209124","censusTractNumber":"0"},{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Secondary","address1":"addr1","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209125","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309493","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Fax","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190005+005678"},{"number":"2190006","areaCode":"402","extension":"005678","phoneType":"Home","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190006+005678"}],"residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2208957","censusTractNumber":"0"},{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Secondary","address1":"MILLER ST.","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2208958","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309741","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2209604","msaCode":0,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}}]
statusMessage is: GetPartyListApi - Status: Success.
statusFlag is: true
UUID is: 123636

5 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoQueryCustomer
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC155 Search with a Person Customer and verify that addressID, tinCertification field is getting returned in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].customerBase.residences[0].addressID,content[0].customerBase.tinCertification, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3309526" }, "uuid": "123636" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC155 Search with a Person Customer and verify that addressID, tinCertification field is getting returned in the response body
Steps:

Generating Access Token

 End Point URI:customer/customer-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3584 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'content[0].customerBase.residences[0].addressID' is present in Response Body


Field 'content[0].customerBase.tinCertification' 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: GetPartyApi - Status: Success.

 Customer search has been successful.

Content is : [{"userFields":[{"searchFlag":true,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"}],"branchNumber":"2","officerCode":"0","originatingBranch":"2","customerBase":{"gender":"Male","phones":[{"number":"2190004","areaCode":"402","phoneType":"Fax","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004"},{"number":"2190005","areaCode":"402","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190005"},{"number":"2190006","areaCode":"402","phoneType":"Home","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190006"}],"riskRating":"None","employeeCode":"9","alienStatus":{"chapter3Status":"0","w8Type":"None","giin":"0","chapter4Status":"0","chapter3ExemptCode":"0"},"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309526","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","tinCertification":"Certified","residences":[{"msaCode":0,"address2":"addr2","city":"FALLS","address1":"addr1","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209025","censusTractNumber":"0"},{"msaCode":0,"address2":"STE 123","city":"FALLS","address1":"2221 MILLER","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209026","censusTractNumber":"0"}],"crmSmsa":"0","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"},"createDate":"2025-06-11"}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: 123636

4 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoRelatioshipCreate
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC163 #TC164 #TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Relationship Must be Unique, ERROR MESSAGE=, TEST SCENARIO=#TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipCreate, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusCode,statusMessage, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "relatedToCustomerInformation": { "relatedToCustomerID": "3310691" }, "relationshipInformation": [ { "beneficialOwner": { "percent": 100, "type": "Beneficial Owner" }, "customerID": "3310653" } ] }, "uuid": "12345" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=statusFlag:false}
Show output Show all outputs
#TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-create

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3625 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'

 Verification types detected: Fields, Values

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


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

 Customer relationship creation has been successful.

Content is : null
statusMessage is: AddBeneficialOwnerApi - Status: Error: AddBeneficialOwner - Status: Error - No Name On File
statusFlag is: false
UUID is: 12345

4 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoCreateCust_verifyBySearchCust
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC158 #TC159 #TC160 #TC161 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC159 Create a customer with addrType=Secondary and verify in Search Customer isPrimary=true in the response body. Also veirify the statusCode, statusMessage and uuid fields., coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones={ "areaCode": "906", "countryCode": "1", "isPrimary": false, "number": "8782725", "phoneType": "Work" }, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={ "expirationDate": "2026-12-30", "issueDate": "2020-12-30", "issuer": "22", "type": "1", "value": "21301002543894127" }, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase={ "alienStatus": { "chapter3Status": "0", "chapter4Status": "0", "giin": "777555", "w8Type": "W8-BEN" }, "customerType": "Business", "email": { "emailAddress": "ClimbingCastle@gmail.com", "emailType": "Business" }, "idList": [ {{idList}} ], "naicsCode": 71, "mothersMaidenName": "Molly Moon", "password": "Password@123", "passwordClue": "First and Last Name of your mother", "name": { "businessName": "Living well", "legalName": "Living well, Inc." }, "phones": [ {{phones}} ], "residences": [ {{residences}} ], "taxID": "777335555", "taxIDType": "B", "tinCertification": "Certified" }, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3309990" }, "uuid": "" }, residences= { "address1": "9528 25 Hwy", "city": "Halton Hills", "censusTractNumber": "0011.01", "countryCode": "10", "isForeign": true, "isPrimary": false, "addressType": "Seasonal", "msaCode": 12343, "postalCode": "L9T 2X7", "state": "ON", "subType": "Business" }, { "address1": "9632 25 Hwy", "addressType": "Seasonal", "city": "Duryodhan Hills", "censusTractNumber": "0011.01", "countryCode": "11", "isForeign": false, "isPrimary": true, "msaCode": 12344, "postalCode": "56784", "postalExtension": "1121", "state": "ON", "subType": "Business" }, { "address1": "2221 MILLER", "address2": "STE 123", "addressType": "Seasonal", "city": "FALLS CITY", "isPrimary": false, "isForeign": false, "countryCode": "12", "postalCode": "68361", "postalExtension": "1234", "seasonBeginDate": "2019-08-17", "seasonEndDate": "2027-08-17", "state": "CA", "streetName": "MILLER", "streetNumber": "2221", "subType": "Business", "suite": "STE 123" }, { "address1": "8548 69 Hwy", "city": "Mahabali Hills", "censusTractNumber": "0011.01", "countryCode": "10", "isForeign": true, "isPrimary": false, "addressType": "Seasonal", "msaCode": 12343, "postalCode": "L9T 2X7", "state": "ON", "subType": "Business" }, { "address1": "9528 25 Hwy", "city": "Chanakya Hills", "censusTractNumber": "0011.01", "countryCode": "10", "isForeign": true, "isPrimary": false, "addressType": "Mailing", "msaCode": 12343, "postalCode": "L9T 2X7", "state": "ON", "subType": "Business" }, BODY={ "assetID": "{{assetID}}", "content": { "branchNumber": "2", "customerBase": {{customerBase}}, "officerCode": "160", "originatingBranch": "2" }, "uuid": "12345" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC159 Create a customer with addrType=Secondary and verify in Search Customer isPrimary=true in the response body. Also veirify the statusCode, statusMessage and uuid fields.
Steps:

Generating Access Token

 End Point URI:customer/customer-create

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 4964 milli second

 === Starting Comprehensive JSON Verification ===

 Verification types detected:

 No verification instructions found in testData. Available keys:

 - VERIFY FIELDS: for field presence verification

 - VERIFY VALUES: for field value verification

 - VERIFY ARRAY SIZE: for array size verification

 - VERIFY ARRAY CONTAINS: for array content verification

 - VERIFY OBJECT IN ARRAY: for specific object verification


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

 Message: AddPartyApi - Status: Success

 Customer has been created successful.

Content is : {"customerID":"3321821"}
statusMessage is: AddPartyApi - Status: Success
statusFlag is: true
UUID is: 12345

 Customer Search test Data are: {VERIFY OBJECT IN ARRAY=content|customerBase.residences[0].address1=9632 25 Hwy|customerBase.residences[0].isPrimary:true, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=, TEST SCENARIO=#TC159 Create a customer with addrType=Secondary and verify in Search Customer isPrimary=true in the response body. Also veirify the statusCode, statusMessage and uuid fields., coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones={ "areaCode": "906", "countryCode": "1", "isPrimary": false, "number": "8782725", "phoneType": "Work" }, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={ "expirationDate": "2026-12-30", "issueDate": "2020-12-30", "issuer": "22", "type": "1", "value": "21301002543894127" }, VERIFY ARRAY SIZE=, accessToken=Bearer eyJraWQiOiJyVk1SeUtqelBpRll5eWJWZFFIRmE2b1oxa1E3MlJhVENvSW9ENWdZSGJrPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MjgyMzM0LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgyODU5MzQsImlhdCI6MTc1ODI4MjMzNCwidmVyc2lvbiI6MiwianRpIjoiYzdjZDY4ZjEtNmQwMS00YmFkLTliM2UtYjRjNWYzZTIzYjVkIiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.MBkZLPeMb_dRK7HqOyEUr3066SYc6AloU219YYa5VMQu2vIcGPAOuvbZKC_dMMtirCyoo1Ql0eN3Q6omfk-UDOAsf6Dh3zj0z-EEjirOnV_KO8M7f9ry7-AtrUmlbsRbtqqVttjyfpaJrNhL17HmRnu8CkA1OTL0tsZ4_MpkHRY_PMfX9xeDyU3a1NyQywakVLJ6eRDQ6DurYpn8JOpKl-i0n7p8mCNtXCQGH500O6VzQ_dbrwBXMGn4qfNgFJXQbJ5yUx_6o3Rd63OiEHLyzz8zhu4BMxah4hJIiKFAaBnmoQ3Pk6_oGyJ-LtGmTPxMZ7xKNDbRSfpvhflIdmdkJA, VERIFY NO EMPTY OBJECTS=TRUE, customerBase={ "alienStatus": { "chapter3Status": "0", "chapter4Status": "0", "giin": "777555", "w8Type": "W8-BEN" }, "customerType": "Business", "email": { "emailAddress": "ClimbingCastle@gmail.com", "emailType": "Business" }, "idList": [ {{idList}} ], "naicsCode": 71, "mothersMaidenName": "Molly Moon", "password": "Password@123", "passwordClue": "First and Last Name of your mother", "name": { "businessName": "Living well", "legalName": "Living well, Inc." }, "phones": [ {{phones}} ], "residences": [ {{residences}} ], "taxID": "777335555", "taxIDType": "B", "tinCertification": "Certified" }, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusCode,statusMessage,uuid, customerSearchBody={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3309990" }, "uuid": "" }, residences= { "address1": "9528 25 Hwy", "city": "Halton Hills", "censusTractNumber": "0011.01", "countryCode": "10", "isForeign": true, "isPrimary": false, "addressType": "Seasonal", "msaCode": 12343, "postalCode": "L9T 2X7", "state": "ON", "subType": "Business" }, { "address1": "9632 25 Hwy", "addressType": "Seasonal", "city": "Duryodhan Hills", "censusTractNumber": "0011.01", "countryCode": "11", "isForeign": false, "isPrimary": true, "msaCode": 12344, "postalCode": "56784", "postalExtension": "1121", "state": "ON", "subType": "Business" }, { "address1": "2221 MILLER", "address2": "STE 123", "addressType": "Seasonal", "city": "FALLS CITY", "isPrimary": false, "isForeign": false, "countryCode": "12", "postalCode": "68361", "postalExtension": "1234", "seasonBeginDate": "2019-08-17", "seasonEndDate": "2027-08-17", "state": "CA", "streetName": "MILLER", "streetNumber": "2221", "subType": "Business", "suite": "STE 123" }, { "address1": "8548 69 Hwy", "city": "Mahabali Hills", "censusTractNumber": "0011.01", "countryCode": "10", "isForeign": true, "isPrimary": false, "addressType": "Seasonal", "msaCode": 12343, "postalCode": "L9T 2X7", "state": "ON", "subType": "Business" }, { "address1": "9528 25 Hwy", "city": "Chanakya Hills", "censusTractNumber": "0011.01", "countryCode": "10", "isForeign": true, "isPrimary": false, "addressType": "Mailing", "msaCode": 12343, "postalCode": "L9T 2X7", "state": "ON", "subType": "Business" }, BODY={"assetID":"{{assetID}}","uuid":"","content":{"taxID":"","customerID":"3321821"}}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}

#TC159 Create a customer with addrType=Secondary and verify in Search Customer isPrimary=true in the response body. Also veirify the statusCode, statusMessage and uuid fields.
Steps:

Generating Access Token

 End Point URI:customer/customer-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 4041 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'statusCode' is present in Response Body


Field 'statusMessage' is present in Response Body


Field 'uuid' is present in Response Body

 --- Running Object In Array Verification ---


Object in array 'content' with customerBase.residences[0].address1='9632 25 Hwy' has customerBase.residences[0].isPrimary='true'

 --- Running Empty Objects Verification ---


No empty objects found in JSON

 Verification types detected: Fields, Object In Array, No Empty Objects

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


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

 Message: GetPartyApi - Status: Success.

 Customer search has been successful.

Content is : [{"branchNumber":"2","officerCode":"160","originatingBranch":"2","customerBase":{"phones":[{"number":"8782725","areaCode":"906","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-906-8782725"}],"idList":[{"issueDate":"2020-12-30","type":"1","value":"21301002543894127","issuer":"22","expirationDate":"2026-12-30"}],"mothersMaidenName":"Molly Moon","riskRating":"None","employeeCode":"0","passwordClue":"First and Last Name of your mother","alienStatus":{"chapter3Status":"0","w8Type":"W8-BEN","giin":"777555","chapter4Status":"0","chapter3ExemptCode":"0"},"customerType":"Business","password":"Password@123","taxID":"13166004","customerID":"3321821","name":{"legalName":"LIVING WELL, INC.","businessName":"LIVING WELL"},"taxIDType":"B","tinCertification":"Certified","residences":[{"postalExtension":"1121","msaCode":12344,"city":"Duryodhan Hills","address1":"9632 25 Hwy","countryCode":"11","isPrimary":true,"isForeign":false,"postalCode":"56784","subType":"Business","state":"ON","addressID":"2221530","censusTractNumber":"11.01"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2221530","seasonEndDate":"9999-08-17","msaCode":0,"countryCode":"12","isPrimary":false,"subType":"Business","censusTractNumber":"0"},{"msaCode":12343,"city":"Chanakya Hills","address1":"9528 25 Hwy","countryCode":"10","isPrimary":false,"isForeign":true,"postalCode":"L9T2X7","subType":"Business","state":"ON","addressID":"2221531","censusTractNumber":"11.01"}],"crmSmsa":"12344","email":{"emailAddress":"ClimbingCastle@gmail.com","emailType":"Work"}}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: ebff42d2-51aa-4628-8301-18988adf6113

10 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoRelatioshipCreate
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC163 #TC164 #TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=AddBeneficialOwnerApi - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC164 Create a Beneficial owner relationship to a customer ID- KP-844 [PreReq: #TC160], coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipCreate, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusCode,statusMessage, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "relatedToCustomerInformation": { "relatedToCustomerID": "3321741" }, "relationshipInformation": [ { "beneficialOwner": { "percent": 100, "type": "Beneficial Owner" }, "customerID": "3310652" } ] }, "uuid": "12345" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=statusFlag:true}
Show output Show all outputs
#TC164 Create a Beneficial owner relationship to a customer ID- KP-844 [PreReq: #TC160]
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-create

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3710 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 'true'

 Verification types detected: Fields, Values

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


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

 Customer relationship creation has been successful.

Content is : null
statusMessage is: AddBeneficialOwnerApi - Status: Success
statusFlag is: true
UUID is: 12345

4 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoQueryCustomer
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC156 Search with a Business Customer with Business Name and verify userFields and "msaCode" are getting returned as expected, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].userFields,content[0].customerBase.crmSmsa,content[0].customerBase.residences[0].msaCode, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3243931" }, "uuid": "123636" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC156 Search with a Business Customer with Business Name and verify userFields and "msaCode" are getting returned as expected
Steps:

Generating Access Token

 End Point URI:customer/customer-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3358 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'content[0].userFields' is present in Response Body


Field 'content[0].customerBase.crmSmsa' is present in Response Body


Field 'content[0].customerBase.residences[0].msaCode' 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: GetPartyApi - Status: Success.

 Customer search has been successful.

Content is : [{"userFields":[{"searchFlag":false,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"},{"searchFlag":true,"dataType":"Currency","description":"Saranda","value":"110102","key":"89901","requiredFlag":false,"expirationDate":"2024-10-11"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"gender":"Male","phones":[{"number":"2190001","areaCode":"402","phoneType":"Mobile","countryCode":"00001","isPrimary":true,"unformattedPhone":"+00001-402-2190001"},{"number":"2190002","areaCode":"402","phoneType":"Work","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190002"},{"number":"2190003","areaCode":"402","phoneType":"Home","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190003"},{"number":"2190004","areaCode":"402","phoneType":"Fax","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190004"}],"idList":[{"issueDate":"2016-12-29","type":"1","value":"DEF8789","issuer":"22","expirationDate":"2017-01-01"}],"riskRating":"Medium","employeeCode":"9","passwordClue":"New York City,NY","alienStatus":{"citizenCountry":"IN","chapter3Status":"0","w8Type":"W8-BEN-E","chapter4Status":"0","residentCountry":"IN","w8ExpirationDate":"2019-12-28","chapter3ExemptCode":"0","w8CertificationDate":"2014-12-28"},"customerType":"Partnership","dob":"1929-09-14","taxID":"988125678","customerID":"3243931","name":{"firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","tinCertification":"Certified","residences":[{"msaCode":1002,"city":"FALLS CITY","address1":"2221 MILLER","countryCode":"10","isPrimary":true,"isForeign":true,"postalCode":"683611234","subType":"Business","state":"CA","addressID":"2106202","censusTractNumber":"9"},{"msaCode":1002,"city":"MILFORD","address1":"1129 G ST","countryCode":"10","isPrimary":false,"isForeign":true,"postalCode":"688031234","subType":"Business","state":"NJ","addressID":"2106203","censusTractNumber":"9"}],"crmSmsa":"1002","createDate":"2021-01-09"}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: 123636

3 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoRelatioshipCreate
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC163 #TC164 #TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Relationship Must be Unique, ERROR MESSAGE=, TEST SCENARIO=#TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipCreate, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusCode,statusMessage, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "relatedToCustomerInformation": { "relatedToCustomerID": "3310691" }, "relationshipInformation": [ { "beneficialOwner": { "percent": 100, "type": "Beneficial Owner" }, "customerID": "3310653" } ] }, "uuid": "12345" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=statusFlag:false}
Show output Show all outputs
#TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-create

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3309 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'

 Verification types detected: Fields, Values

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


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

 Customer relationship creation has been successful.

Content is : null
statusMessage is: AddBeneficialOwnerApi - Status: Error: AddBeneficialOwner - Status: Error - No Name On File
statusFlag is: false
UUID is: 12345

3 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoQueryCustomer
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC157 Search a customer with Customer ID and verify there is no blank object "{}" present in the Response Json, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3243931" }, "uuid": "123636" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC157 Search a customer with Customer ID and verify there is no blank object "{}" present in the Response Json
Steps:

Generating Access Token

 End Point URI:customer/customer-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3460 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Empty Objects Verification ---


No empty objects found in JSON

 Verification types detected: No Empty Objects

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


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

 Message: GetPartyApi - Status: Success.

 Customer search has been successful.

Content is : [{"userFields":[{"searchFlag":false,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"},{"searchFlag":true,"dataType":"Currency","description":"Saranda","value":"110102","key":"89901","requiredFlag":false,"expirationDate":"2024-10-11"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"gender":"Male","phones":[{"number":"2190001","areaCode":"402","phoneType":"Mobile","countryCode":"00001","isPrimary":true,"unformattedPhone":"+00001-402-2190001"},{"number":"2190002","areaCode":"402","phoneType":"Work","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190002"},{"number":"2190003","areaCode":"402","phoneType":"Home","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190003"},{"number":"2190004","areaCode":"402","phoneType":"Fax","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190004"}],"idList":[{"issueDate":"2016-12-29","type":"1","value":"DEF8789","issuer":"22","expirationDate":"2017-01-01"}],"riskRating":"Medium","employeeCode":"9","passwordClue":"New York City,NY","alienStatus":{"citizenCountry":"IN","chapter3Status":"0","w8Type":"W8-BEN-E","chapter4Status":"0","residentCountry":"IN","w8ExpirationDate":"2019-12-28","chapter3ExemptCode":"0","w8CertificationDate":"2014-12-28"},"customerType":"Partnership","dob":"1929-09-14","taxID":"988125678","customerID":"3243931","name":{"firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","tinCertification":"Certified","residences":[{"msaCode":1002,"city":"FALLS CITY","address1":"2221 MILLER","countryCode":"10","isPrimary":true,"isForeign":true,"postalCode":"683611234","subType":"Business","state":"CA","addressID":"2106202","censusTractNumber":"9"},{"msaCode":1002,"city":"MILFORD","address1":"1129 G ST","countryCode":"10","isPrimary":false,"isForeign":true,"postalCode":"688031234","subType":"Business","state":"NJ","addressID":"2106203","censusTractNumber":"9"}],"crmSmsa":"1002","createDate":"2021-01-09"}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: 123636

4 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoRelatioshipSearch
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC166 Search for a newly created relationship
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC166 Search for a newly created relationship [PreReq: #TC160], coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "customerID": "3321741", "beneficialOwnerRequest": "Y" }, "uuid": "314636" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC166 Search for a newly created relationship [PreReq: #TC160]
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3135 milli second

 === Starting Comprehensive JSON Verification ===

 Verification types detected:

 No verification instructions found in testData. Available keys:

 - VERIFY FIELDS: for field presence verification

 - VERIFY VALUES: for field value verification

 - VERIFY ARRAY SIZE: for array size verification

 - VERIFY ARRAY CONTAINS: for array content verification

 - VERIFY OBJECT IN ARRAY: for specific object verification


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

 Message: ,GetBeneficialOwnerApi - Status: Success

 Customer Relationship Search has been successful.

Content is : [{"relatedToCustomerInformation":{"beneficialOwners":[]}}]
statusMessage is: ,GetBeneficialOwnerApi - Status: Success
statusFlag is: true
UUID is: 314636

3 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoCreateCust_verifyBySearchCust
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC158 #TC159 #TC160 #TC161 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC161 Create a customer with person record with foreign=true and verify the fields in the response body. Also verify phone number fields [countryCode, areaCode, number, and extension] are included in the response correctly. Verify multiple phone numbers with same PhoneType is allowed by searching for the same customer we've created, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones={ "areaCode": "402", "countryCode": "1", "extension": "005678", "isPrimary": true, "number": "2190004", "phoneType": "Work" }, { "areaCode": "101", "countryCode": "1", "extension": "987654", "isPrimary": true, "number": "908787", "phoneType": "Work" }, TEST ID=premierCoCreateCust_verifyBySearchCust, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase={ "alienStatus": { "chapter3Status": "0", "chapter4Status": "0", "giin": "0", "w8Type": "W8-BEN-E" }, "createDate": "2021-01-09", "crmSmsa": "1002", "customerType": "Person", "dob": "1988-01-07", "email": { "emailAddress": "EMAIL8@ZOOHO.COM", "emailType": "PERSON" }, "employeeCode": "9", "gender": "Male", "idList": [ { "expirationDate": "2025-12-30", "issueDate": "2020-12-30", "issuer": "US", "type": "A", "value": "21301002543894127" } ], "isUSCitizen": true, "naicsCode": 1, "name": { "firstName": "HOWARD", "fullName": "JOSEPH N HOWARD", "lastName": "JOSEPH", "legalName": "JOSEPH N HOWARD", "middleName": "N", "suffix": "JR" }, "phones": [ {{phones}} ], "residences": [ {{residences}} ], "taxID": "988125678", "taxIDType": "P", "tinCertification": "Certified" }, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3309990" }, "uuid": "" }, residences={ "address1": "2221 MILLER", "address2": "STE 123", "addressType": "Current", "city": "FALLS CITY", "isPrimary": true, "postalCode": "68361", "postalExtension": "1234", "seasonBeginDate": "2019-08-17", "seasonEndDate": "2027-08-17", "state": "CA", "streetName": "MILLER", "streetNumber": "2221", "subType": "Personal", "suite": "STE 123" }, BODY={ "assetID": "{{assetID}}", "content": { "branchNumber": "2", "customerBase": {{customerBase}}, "officerCode": "99", "originatingBranch": "2", "userFields": [ { "dataLength": 40, "dataType": "Alpha", "description": "GoldTier ID", "expirationDate": "2022-12-12", "groupNumber": "0", "key": "700", "requiredFlag": false, "searchFlag": true, "value": "100002" } ] }, "uuid": "12345" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC161 Create a customer with person record with foreign=true and verify the fields in the response body. Also verify phone number fields [countryCode, areaCode, number, and extension] are included in the response correctly. Verify multiple phone numbers with same PhoneType is allowed by searching for the same customer we've created
Steps:

Generating Access Token

 End Point URI:customer/customer-create

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 4455 milli second

 === Starting Comprehensive JSON Verification ===

 Verification types detected:

 No verification instructions found in testData. Available keys:

 - VERIFY FIELDS: for field presence verification

 - VERIFY VALUES: for field value verification

 - VERIFY ARRAY SIZE: for array size verification

 - VERIFY ARRAY CONTAINS: for array content verification

 - VERIFY OBJECT IN ARRAY: for specific object verification


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

 Message: AddPartyApi - Status: Success

 Customer has been created successful.

Content is : {"customerID":"3321823"}
statusMessage is: AddPartyApi - Status: Success
statusFlag is: true
UUID is: 12345

 Customer Search test Data are: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=, TEST SCENARIO=#TC161 Create a customer with person record with foreign=true and verify the fields in the response body. Also verify phone number fields [countryCode, areaCode, number, and extension] are included in the response correctly. Verify multiple phone numbers with same PhoneType is allowed by searching for the same customer we've created, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones={ "areaCode": "402", "countryCode": "1", "extension": "005678", "isPrimary": true, "number": "2190004", "phoneType": "Work" }, { "areaCode": "101", "countryCode": "1", "extension": "987654", "isPrimary": true, "number": "908787", "phoneType": "Work" }, TEST ID=premierCoCreateCust_verifyBySearchCust, idList=, VERIFY ARRAY SIZE=content[0].customerBase.phones:2, accessToken=Bearer eyJraWQiOiJyVk1SeUtqelBpRll5eWJWZFFIRmE2b1oxa1E3MlJhVENvSW9ENWdZSGJrPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MjgyMzU0LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgyODU5NTQsImlhdCI6MTc1ODI4MjM1NCwidmVyc2lvbiI6MiwianRpIjoiM2Q4ZTVhYzQtZjJlNi00MjYyLTg4NTItYWIwOGQ5NmFjOTgyIiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.QJw38ebfiJpB_KkfNZlI5zMsckmS_B0gklrE_kyhSPT_4hsB2ioAVY0JHY7SYKgkAb20ssG1Ik4lYNWxowaAdsCfQiQUTvp5sc8ZKRf7B10xKMp89jznGnxe9LrYuJ8B3QC7YLO-zl7fM_KDJ2j70bbSqGHEhEgGKl1g0-TU_tKWlfqUawc-LuoJUolLnGjkE0ulUVpOsL9ObzQigLxiOOsaze6ObYw8x5HEepdBC5jasP8tiMS6hIdrpl7DQYraAiVjgbW38Ln19YliZ7uDmIwOJaDHThYES8W6Pu9SAjuOHMp2KhExSOMQxM-ODqFcfaakOoJSaSf8N75FWPz_wQ, VERIFY NO EMPTY OBJECTS=TRUE, customerBase={ "alienStatus": { "chapter3Status": "0", "chapter4Status": "0", "giin": "0", "w8Type": "W8-BEN-E" }, "createDate": "2021-01-09", "crmSmsa": "1002", "customerType": "Person", "dob": "1988-01-07", "email": { "emailAddress": "EMAIL8@ZOOHO.COM", "emailType": "PERSON" }, "employeeCode": "9", "gender": "Male", "idList": [ { "expirationDate": "2025-12-30", "issueDate": "2020-12-30", "issuer": "US", "type": "A", "value": "21301002543894127" } ], "isUSCitizen": true, "naicsCode": 1, "name": { "firstName": "HOWARD", "fullName": "JOSEPH N HOWARD", "lastName": "JOSEPH", "legalName": "JOSEPH N HOWARD", "middleName": "N", "suffix": "JR" }, "phones": [ {{phones}} ], "residences": [ {{residences}} ], "taxID": "988125678", "taxIDType": "P", "tinCertification": "Certified" }, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].customerBase.phones[0].areaCode,content[0].customerBase.phones[0].countryCode,content[0].customerBase.phones[0].extension,content[0].customerBase.phones[0].isPrimary,content[0].customerBase.phones[0].number,content[0].customerBase.phones[0].phoneType, customerSearchBody={ "assetID": "{{assetID}}", "content": { "taxID": "", "customerID": "3309990" }, "uuid": "" }, residences={ "address1": "2221 MILLER", "address2": "STE 123", "addressType": "Current", "city": "FALLS CITY", "isPrimary": true, "postalCode": "68361", "postalExtension": "1234", "seasonBeginDate": "2019-08-17", "seasonEndDate": "2027-08-17", "state": "CA", "streetName": "MILLER", "streetNumber": "2221", "subType": "Personal", "suite": "STE 123" }, BODY={"assetID":"{{assetID}}","uuid":"","content":{"taxID":"","customerID":"3321823"}}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}

#TC161 Create a customer with person record with foreign=true and verify the fields in the response body. Also verify phone number fields [countryCode, areaCode, number, and extension] are included in the response correctly. Verify multiple phone numbers with same PhoneType is allowed by searching for the same customer we've created
Steps:

Generating Access Token

 End Point URI:customer/customer-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3303 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Presence Verification ---


Field 'content[0].customerBase.phones[0].areaCode' is present in Response Body


Field 'content[0].customerBase.phones[0].countryCode' is present in Response Body


Field 'content[0].customerBase.phones[0].extension' is present in Response Body


Field 'content[0].customerBase.phones[0].isPrimary' is present in Response Body


Field 'content[0].customerBase.phones[0].number' is present in Response Body


Field 'content[0].customerBase.phones[0].phoneType' is present in Response Body

 --- Running Array Size Verification ---


Array 'content[0].customerBase.phones' has expected size 2

 --- Running Empty Objects Verification ---


No empty objects found in JSON

 Verification types detected: Fields, Array Sizes, No Empty Objects

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


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

 Message: GetPartyApi - Status: Success.

 Customer search has been successful.

Content is : [{"userFields":[{"searchFlag":true,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"gender":"Male","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"0908787","areaCode":"101","extension":"987654","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-101-0908787+987654"}],"idList":[{"issueDate":"2020-12-30","type":"A","value":"21301002543894127","issuer":"US","expirationDate":"2025-12-30"}],"riskRating":"None","employeeCode":"9","alienStatus":{"chapter3Status":"0","w8Type":"None","giin":"0","chapter4Status":"0","chapter3ExemptCode":"0"},"customerType":"Person","dob":"1988-01-07","taxID":"101214653","customerID":"3321823","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","tinCertification":"Certified","residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Personal","state":"CA","addressID":"2221533","censusTractNumber":"0"}],"crmSmsa":"1002","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"},"createDate":"2025-09-19"}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: 2449e7fb-d681-4bba-a9e9-26ce9bdd0798

9 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoRelatioshipSearch
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC166 Search for a newly created relationship
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC168 Search for a relationship using taxID- [KP-684], coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "accountType": "LOAN", "taxID": "503123488" }, "uuid": "string" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=}
Show output Show all outputs
#TC168 Search for a relationship using taxID- [KP-684]
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3629 milli second

 === Starting Comprehensive JSON Verification ===

 Verification types detected:

 No verification instructions found in testData. Available keys:

 - VERIFY FIELDS: for field presence verification

 - VERIFY VALUES: for field value verification

 - VERIFY ARRAY SIZE: for array size verification

 - VERIFY ARRAY CONTAINS: for array content verification

 - VERIFY OBJECT IN ARRAY: for specific object verification


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

 Message: GetPartyAccountRelationshipApi - Status: Success

 Customer Relationship Search has been successful.

Content is : [{"accountInformation":{"accountType":"DDA","subAccountNumber":1,"accountNumber":"1082936684"},"accountRelationshipStatus":{"relationshipStatusCode":"OwnerSigner"},"accountSummary":{"productID":"10101000","accountBalance":316.56,"isActive":true,"openDate":"2018-01-02"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130","relatedToName":"PAUL D ALLEN"}},{"accountInformation":{"accountType":"DDA","subAccountNumber":1,"accountNumber":"8282025282"},"accountRelationshipStatus":{"relationshipStatusCode":"OwnerSigner"},"accountSummary":{"productID":"10101000","accountBalance":1163.96,"isActive":true,"openDate":"2009-05-19"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130"}},{"accountInformation":{"accountType":"DDA","subAccountNumber":1,"accountNumber":"8282001359"},"accountRelationshipStatus":{"relationshipStatusCode":"OwnerSigner"},"accountSummary":{"productID":"10101000","accountBalance":7203.49,"isActive":true,"openDate":"1995-10-11"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130"}},{"accountInformation":{"accountType":"SDA","subAccountNumber":21,"accountNumber":"8206175910"},"accountRelationshipStatus":{"relationshipStatusCode":"Owner"},"accountSummary":{"productID":"10221000","accountBalance":94.41,"isActive":true,"openDate":"2005-05-16"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130"}},{"accountInformation":{"accountType":"LOAN","subAccountNumber":20,"accountNumber":"1082108810"},"accountRelationshipStatus":{"relationshipStatusCode":"Borrower"},"accountSummary":{"productID":"10420000","accountBalance":12438.1,"isActive":true,"openDate":"2017-11-24"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130"}},{"accountInformation":{"accountType":"CLOC","subAccountNumber":0,"accountNumber":"82368"},"accountRelationshipStatus":{"relationshipStatusCode":"OwnerSigner"},"accountSummary":{"accountBalance":0,"openDate":"2021-08-13"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130"}},{"accountInformation":{"accountType":"PORT","accountNumber":"82369"},"accountRelationshipStatus":{"relationshipStatusCode":"PrimaryPortfolioName"},"accountSummary":{"openDate":"2021-08-13"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130"}},{"accountInformation":{"accountType":"PORT","accountNumber":"82368"},"accountRelationshipStatus":{"relationshipStatusCode":"PrimaryPortfolioName"},"accountSummary":{"openDate":"2021-08-13"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130"}},{"accountInformation":{"accountType":"PORT","accountNumber":"82014"},"accountRelationshipStatus":{"relationshipStatusCode":"PrimaryPortfolioName"},"accountSummary":{"openDate":"2021-08-13"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130"}}]
statusMessage is: GetPartyAccountRelationshipApi - Status: Success
statusFlag is: true
UUID is: string

4 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoRelatioshipSearch
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC166 Search for a newly created relationship
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC167 Search for a relationship with account number, verify that the same account number is present in response, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "accountType": "LOAN", "coreSpecificFields": { "accountNumber": "1082108810" } }, "uuid": "string" }, 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:1082108810}
Show output Show all outputs
#TC167 Search for a relationship with account number, verify that the same account number is present in response
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-search

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 3471 milli second

 === Starting Comprehensive JSON Verification ===

 --- Running Field Value Verification ---


Field 'content[0].accountInformation.accountNumber' has expected value '1082108810'

 Verification types detected: Values

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


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

 Message: GetPartyAccountRelationshipApi - Status: Success

 Customer Relationship Search has been successful.

Content is : [{"accountInformation":{"accountType":"LOAN","subAccountNumber":20,"accountNumber":"1082108810"},"accountRelationshipStatus":{"relationshipStatusCode":"Borrower"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242130","relatedToName":"PAUL D ALLEN"}},{"accountInformation":{"accountType":"LOAN","subAccountNumber":20,"accountNumber":"1082108810"},"accountRelationshipStatus":{"relationshipStatusCode":"Borrower"},"relatedToCustomerInformation":{"relatedToCustomerID":"3242129","relatedToName":"STEVEN C YOUNG"}}]
statusMessage is: GetPartyAccountRelationshipApi - Status: Success
statusFlag is: true
UUID is: string

4 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c
premierCoRelatioshipCreate
Test class: com.kinective.testscripts.Customer.CustomerTest
Test method: #TC163 #TC164 #TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner
Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC163 Create a Beneficiary relationship to an account, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipCreate, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusCode,statusMessage, customerSearchBody=, residences=, BODY={ "assetID": "{{assetID}}", "content": { "accountInformation": { "accountNumber": "19005170", "accountType": "CD" }, "relationshipInformation": [ { "accountRelationshipType": "Daughter", "addressID":"2212237", "precent":100, "customerID": "3310665" } ] }, "uuid": "12345" }, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=; customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;, VERIFY VALUES=statusFlag:true}
Show output Show all outputs
#TC163 Create a Beneficiary relationship to an account
Steps:

Generating Access Token

 End Point URI:customer/customer-relationship-create

   --- 19 Sept 17:16:26 064 - relatedToCustomerInformation Object not found in the body

 Sending POST Publish command

 Executed URL {}

 Status Code 200

 Time taken to get response is 7329 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 'true'

 Verification types detected: Fields, Values

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


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

 Customer relationship creation has been successful.

Content is : null
statusMessage is: AddBeneficiaryApi - Status: Success
statusFlag is: true
UUID is: 12345

8 com.kinective.testscripts.Customer.CustomerTest@2a65fe7c