Test results
1 suite, 1 failed test
com.kinective.testscripts.Customer.CustomerTest
premierCoCreateCust_verifyBySearchCust ({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=})
java.lang.AssertionError: Field 'content.customerBase.phones' is not an array at com.generics.utils.Log.fail(Log.java:596) at com.generics.utils.JsonVerificationUtils.verifyArraySize(JsonVerificationUtils.java:182) at com.generics.utils.JsonVerificationUtils.verifyArrayFields(JsonVerificationUtils.java:141) at com.generics.utils.JsonVerificationUtils.verifyAllJsonData(JsonVerificationUtils.java:767) at com.generics.utils.Utils.verifyFieldPresent(Utils.java:739) at com.kinective.sapi.CustomerSearch.customerSearch(CustomerSearch.java:48) at com.kinective.testscripts.Customer.CustomerTest.premierCoQueryCustomer(CustomerTest.java:1203) at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1322) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ... Removed 26 stack frames
(#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)
com.kinective.testscripts.Customer.CustomerTest
premierCoCreateCust_verifyBySearchCust ({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=}) (#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)
premierCoCreateCust_verifyBySearchCust ({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=}) (#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)
premierCoCreateCust_verifyBySearchCust ({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=}) (#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)
premierCoQueryCustomer ({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=}) (#TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body)
premierCoQueryCustomer ({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=}) (#TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body)
premierCoQueryCustomer ({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}) (#TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body)
premierCoQueryCustomer ({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=}) (#TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body)
premierCoQueryCustomer ({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=}) (#TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body)
C:\Users\Monil Shah\Documents\qa-automation-standard-api\testxml\premierCo_test.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Rest Assured Api Suites" guice-stage="DEVELOPMENT">
  <parameter name="projectKey" value="KP"/>
  <parameter name="environment" value="test"/>
  <parameter name="version" value="v1"/>
  <test thread-count="1" name="Rest Assured">
    <classes>
      <class name="com.kinective.testscripts.Customer.CustomerTest">
        <methods>
          <include name="premierCoQueryCustomer"/>
          <include name="premierCoCreateCust_verifyBySearchCust"/>
        </methods>
      </class> <!-- com.kinective.testscripts.Customer.CustomerTest -->
    </classes>
  </test> <!-- Rest Assured -->
</suite> <!-- Rest Assured Api Suites -->
            
Tests for Rest Assured Api Suites
  • Rest Assured (1 class)
Groups for Rest Assured Api Suites
premierCo
premierCoCreateCust_verifyBySearchCust
premierCoQueryCustomer
premierCoCustomer
premierCoCreateCust_verifyBySearchCust
premierCoQueryCustomer
premierCoCustomerSearch
premierCoCreateCust_verifyBySearchCust
premierCoQueryCustomer
Times for Rest Assured Api Suites
Total running time: 1 minutes
Reporter output for Rest Assured Api Suites
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
#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 3469 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
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyListApi - Status: Success...)
#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 4277 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
premierCoCreateCust_verifyBySearchCust({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
#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 4562 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":"3321732"}
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.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MTE1NTkzLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgxMTkxOTMsImlhdCI6MTc1ODExNTU5MywidmVyc2lvbiI6MiwianRpIjoiM2IwMTE4YjQtMmQyZC00NjEwLTg2NTYtOWUzNDYyN2VmYzg3IiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.b5M6SW_wpwRpuVBxtmDtOs_qZBUttQqIFhIhc_M3_Twep1v1oTbPLq9EdiBok88t6NXyfhVHpljQ4wogHW_cYEC5Z5SeQ8Aj2NBIEvfbAevhx2c6nNENqGRbjL_fhUZZp0boUlpe7vkMIeJW9IrbIcNgiHUGa1stWfZkIMxJVczKIWaUARYcxnXSdvwgZ4ywmkd4QbUboVy4jElPE7RnA3y_PIbTEcyi32Y06sZcOS_akFtfl8CzvGtPBRM148mcV9DUl8PlCqoqnbt0v-wrgTKMzNBabr9nrKpTnd6pGBCXDtHUGyH0V_KmqWsdUZKeToflYZJ71bHrwmCX2MyrwA, 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":"3321732"}}, 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 3335 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":"66898579","customerID":"3321732","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":"2221389","censusTractNumber":"11.01"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2221389","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":"2221390","censusTractNumber":"11.01"}],"crmSmsa":"12344","email":{"emailAddress":"ClimbingCastle@gmail.com","emailType":"Work"}}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: e81f8881-e51d-45f8-bf70-b28cf19de56f
premierCoCreateCust_verifyBySearchCust({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
#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 4563 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":"3321733"}
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.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MTE1NjAzLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgxMTkyMDMsImlhdCI6MTc1ODExNTYwMywidmVyc2lvbiI6MiwianRpIjoiZTRmN2M2ZTktZWUwNy00NGI4LWEzYzItOGI5Y2JiZTc1Yzg3IiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.qXZfe2qAVg5BfEkdTs-fXDNt0Igr9Pv69iCt4B7TEAX-AynAxEBVgta9htj-f0OiKSpqehOecsWN1Y3prDIQYlx8ILNb0rT-Xk3eEw_id0hUcjsL2QZtrc1xBd9r01p2_XImvo14znf6aD4y-pdC6wh4uyEN05yVqlfPqDQIAvmF1TPK-duh_bjKBwqVT2-oUiGxX_tIfpkJSCT0OvsW5Qbl0nQ8cmO3n4m-EyWyXmWq6JPKJGdoyKJh0xWjmzJb_Tjc2OpS7vvIb_EBfVJpbbJEfQi-KbonfL4YTjkmf2drkPg6qrLQ8aOx4Msd0IBiaIJf6VaeXZWWqxFzcIF4ow, 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":"3321733"}}, 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 3272 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":"819309795","customerID":"3321733","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":"2221391","msaCode":1002,"countryCode":"2","isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"9109"}],"crmSmsa":"1002","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"},"createDate":"2025-09-17"}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: 38f4d06c-86c5-49bb-b6cf-b3e7bc5de3ba
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
#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 3290 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
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
#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 3320 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
premierCoCreateCust_verifyBySearchCust({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
#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 5489 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":"3321731"}
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.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MTE1NTgwLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgxMTkxODAsImlhdCI6MTc1ODExNTU4MCwidmVyc2lvbiI6MiwianRpIjoiMzllMTVhMzItYjM4ZS00ZDVmLTg1MjYtMjk1NGM1MWU1YWMyIiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.ZI1NqEa-68d7OK-By-qcVWXG2YH2De5W_TtqCiQwN72R3hq1IQKVWELTG-ux-bCd9keC51bRYPbNERGFhLLHu6EFGheUXf0eCJyBytgpKgDcWiFiTamqw_xMT9vDFiLiWaPvG9RVY4WfpWoY9OuM91OVg_jLeEOKXh1uY-vsYgHrpTSTgQJYxrlHnpw3gTImAkWj3bcsYkuHWbVQI7clsQY457U4abEhtLSByxyC0adF135gesMKcqGoKMm0uXsyhQSsJJi8ws6aKHpc9FPlz1HmY6xoVpiE5oUvVWQxsYJLBIOAGj4cHjwuhbeAixBi4GJ4ZZ1QVRpQIqr8xS5nPA, 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":"3321731"}}, 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 3477 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":"912655916","customerID":"3321731","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":"2221388","censusTractNumber":"0"}],"crmSmsa":"1002","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}}]
statusMessage is: GetPartyApi - Status: Success.
statusFlag is: true
UUID is: dc37619b-98f1-4b40-980e-a8ec9a071569
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
#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 3286 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
premierCoCreateCust_verifyBySearchCust({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
#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 4201 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":"3321734"}
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.customerBase.phones:2, accessToken=Bearer eyJraWQiOiJyVk1SeUtqelBpRll5eWJWZFFIRmE2b1oxa1E3MlJhVENvSW9ENWdZSGJrPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MTE1NjEzLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgxMTkyMTMsImlhdCI6MTc1ODExNTYxMywidmVyc2lvbiI6MiwianRpIjoiMjcxZjFiOWQtNzg0My00YzBhLWFkMzItOWZiNzRlOWViZjFlIiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.YQOHMHKsHAOW3qKzOO6gTLr3O9Frpr9breQN923FNZqDobNmF3VFBSKLT9_nDmo6C2oeI7l0DQp1zjOGLgmKXsgSQacpMzebGNz_BCU7dwdeh806kABRvO2dvEWIysfU7Eu_aoN4xV15qrKSol0C1bH0eCcczhLraVOgfQNCe9FHD4OrWnJVavu29q5u3JYVQqPyXmqsyrZ0gSx-tK-OhGH13iNkRCT6ZtE-uMOqoz70oXyVP0vOQQQJ-JSjBj-btqT-py5CagItQSGak7jPs2KhszfV6U8naZDhUAsfzmUd94MxFr17JgcYYAexlYK2t-sYqPKqzq3G9_PYwyg3Kg, 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":"3321734"}}, 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 3279 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 ---

Field 'content.customerBase.phones' is not an array
33 ignored methods
com.kinective.testscripts.Customer.CustomerTest
jh2020CreateCustomer
corelationCreateCustomer
jh2020CreateNewCustomer
symXchangeQueryCustomer
CreateCustomer_ForeignAddressDarkMatters
csiMeridianCreateCustomer_Pers_OnlyCurrentNoForeign
jh2020QueryCustomer
RelatioshipCreateCustToAcct
csiMeridianQueryCustomerByTaxID
RelatioshipCreateCustToCust
csiMeridianQueryCustomerByCustID
jh2020CreateNewCustomerVerifyidList
CreateCustomer_SubTypeError
symXchangeRelatioshipSearch
jXchangeCreateCustomer
CreateCustomer_ForeignAddressCorrect
csiQueryCustomer
corelationQueryCustomer
jXchangeQueryCustomer
corelationRelatioshipSearch
corelationRelatioshipCreate
csiMeridianCreateCustomer_ExistingTaxId
csiMeridianQueryCustomerByGuid
CreateCustomer_AddressNoZipExt
CreateCustomer_Error
jXchangeRelatioshipSearch
CreateCustomer_ForeignAddress
symXChangeCreateCustomer
csiMeridianCreateCustomer_Bus_IRSCurrentMailingForeign
CreateCustomer_AddressTypeError
csiMeridianRelatioshipSearch
CreateCustomer_AllElementsAddress
verifyResponseFieldsRelationShipSearch
Methods in chronological order
com.kinective.testscripts.Customer.CustomerTest
init(org.testng.TestRunner@2443abd6) 0 ms
premierCoCreateCust_verifyBySearchCust({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...) 439 ms
premierCoCreateCust_verifyBySearchCust({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...) 16032 ms
premierCoCreateCust_verifyBySearchCust({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...) 24997 ms
premierCoCreateCust_verifyBySearchCust({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...) 34814 ms
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyListApi - Status: Success...) 44119 ms
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...) 49530 ms
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...) 53825 ms
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...) 58164 ms
premierCoQueryCustomer({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...) 62504 ms