| PASSED TESTS |
| Test method |
Exception |
Time (seconds) |
Instance |
premierCoQueryCustomer Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC154 Search with a Business Customer with customerID and verify that subType=Business and verify "tinCertification", "passwordClue", "taxIDType" field in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=content[0].customerBase.residences:2, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].customerBase.tinCertification,content[0].customerBase.passwordClue,content[0].customerBase.taxIDType, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"taxID": "",
"customerID": "3243931"
},
"uuid": "123636"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=content[0].customerBase.residences[0].subType:Business}
Show output
Show all outputs
#TC154 Search with a Business Customer with customerID and verify that subType=Business and verify "tinCertification", "passwordClue", "taxIDType" field in the response body Steps:
Generating Access Token
End Point URI:customer/customer-search
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
3540 milli second
=== Starting Comprehensive JSON Verification ===
--- Running Field Presence Verification ---
Field 'content[0].customerBase.tinCertification' is present in Response Body
Field 'content[0].customerBase.passwordClue' is present in Response Body
Field 'content[0].customerBase.taxIDType' is present in Response Body
--- Running Field Value Verification ---
Field 'content[0].customerBase.residences[0].subType' has expected value 'Business'
--- Running Array Size Verification ---
Array 'content[0].customerBase.residences' has expected size 2
--- Running Empty Objects Verification ---
No empty objects found in JSON
Verification types detected: Fields, Values, Array Sizes, No Empty Objects
=== JSON Verification Complete - 4 verification type(s) executed ===
Status code is matching correctly! (Expected : 200 Actual : 200 )
Message: GetPartyApi - Status: Success.
Customer search has been successful.
Content is : [{"userFields":[{"searchFlag":false,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"},{"searchFlag":true,"dataType":"Currency","description":"Saranda","value":"110102","key":"89901","requiredFlag":false,"expirationDate":"2024-10-11"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"gender":"Male","phones":[{"number":"2190001","areaCode":"402","phoneType":"Mobile","countryCode":"00001","isPrimary":true,"unformattedPhone":"+00001-402-2190001"},{"number":"2190002","areaCode":"402","phoneType":"Work","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190002"},{"number":"2190003","areaCode":"402","phoneType":"Home","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190003"},{"number":"2190004","areaCode":"402","phoneType":"Fax","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190004"}],"idList":[{"issueDate":"2016-12-29","type":"1","value":"DEF8789","issuer":"22","expirationDate":"2017-01-01"}],"riskRating":"Medium","employeeCode":"9","passwordClue":"New York City,NY","alienStatus":{"citizenCountry":"IN","chapter3Status":"0","w8Type":"W8-BEN-E","chapter4Status":"0","residentCountry":"IN","w8ExpirationDate":"2019-12-28","chapter3ExemptCode":"0","w8CertificationDate":"2014-12-28"},"customerType":"Partnership","dob":"1929-09-14","taxID":"988125678","customerID":"3243931","name":{"firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","tinCertification":"Certified","residences":[{"msaCode":1002,"city":"FALLS CITY","address1":"2221 MILLER","countryCode":"10","isPrimary":true,"isForeign":true,"postalCode":"683611234","subType":"Business","state":"CA","addressID":"2106202","censusTractNumber":"9"},{"msaCode":1002,"city":"MILFORD","address1":"1129 G ST","countryCode":"10","isPrimary":false,"isForeign":true,"postalCode":"688031234","subType":"Business","state":"NJ","addressID":"2106203","censusTractNumber":"9"}],"crmSmsa":"1002","createDate":"2021-01-09"}}] statusMessage is: GetPartyApi - Status: Success. statusFlag is: true UUID is: 123636
|
|
4 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoQueryCustomer Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC156 Search with a Business Customer with Business Name and verify userFields and "msaCode" are getting returned as expected, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].userFields,content[0].customerBase.crmSmsa,content[0].customerBase.residences[0].msaCode, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"taxID": "",
"customerID": "3243931"
},
"uuid": "123636"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=}
Show output
Show all outputs
#TC156 Search with a Business Customer with Business Name and verify userFields and "msaCode" are getting returned as expected Steps:
Generating Access Token
End Point URI:customer/customer-search
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
3766 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
|
|
4 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoCreateCust_verifyBySearchCust Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC158 #TC159 #TC160 #TC161 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC161 Create a customer with person record with foreign=true and verify the fields in the response body.
Also verify phone number fields [countryCode, areaCode, number, and extension] are included in the response correctly.
Verify multiple phone numbers with same PhoneType is allowed by searching for the same customer we've created, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones={
"areaCode": "402",
"countryCode": "1",
"extension": "005678",
"isPrimary": true,
"number": "2190004",
"phoneType": "Work"
},
{
"areaCode": "101",
"countryCode": "1",
"extension": "987654",
"isPrimary": true,
"number": "908787",
"phoneType": "Work"
}, TEST ID=premierCoCreateCust_verifyBySearchCust, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase={
"alienStatus": {
"chapter3Status": "0",
"chapter4Status": "0",
"giin": "0",
"w8Type": "W8-BEN-E"
},
"createDate": "2021-01-09",
"crmSmsa": "1002",
"customerType": "Person",
"dob": "1988-01-07",
"email": {
"emailAddress": "EMAIL8@ZOOHO.COM",
"emailType": "PERSON"
},
"employeeCode": "9",
"gender": "Male",
"idList": [
{
"expirationDate": "2025-12-30",
"issueDate": "2020-12-30",
"issuer": "US",
"type": "A",
"value": "21301002543894127"
}
],
"isUSCitizen": true,
"naicsCode": 1,
"name": {
"firstName": "HOWARD",
"fullName": "JOSEPH N HOWARD",
"lastName": "JOSEPH",
"legalName": "JOSEPH N HOWARD",
"middleName": "N",
"suffix": "JR"
},
"phones": [
{{phones}}
],
"residences": [
{{residences}}
],
"taxID": "988125678",
"taxIDType": "P",
"tinCertification": "Certified"
}, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody={
"assetID": "{{assetID}}",
"content": {
"taxID": "",
"customerID": "3309990"
},
"uuid": ""
}, residences={
"address1": "2221 MILLER",
"address2": "STE 123",
"addressType": "Current",
"city": "FALLS CITY",
"isPrimary": true,
"postalCode": "68361",
"postalExtension": "1234",
"seasonBeginDate": "2019-08-17",
"seasonEndDate": "2027-08-17",
"state": "CA",
"streetName": "MILLER",
"streetNumber": "2221",
"subType": "Personal",
"suite": "STE 123"
}, BODY={
"assetID": "{{assetID}}",
"content": {
"branchNumber": "2",
"customerBase": {{customerBase}},
"officerCode": "99",
"originatingBranch": "2",
"userFields": [
{
"dataLength": 40,
"dataType": "Alpha",
"description": "GoldTier ID",
"expirationDate": "2022-12-12",
"groupNumber": "0",
"key": "700",
"requiredFlag": false,
"searchFlag": true,
"value": "100002"
}
]
},
"uuid": "12345"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=}
Show output
Show all outputs
#TC161 Create a customer with person record with foreign=true and verify the fields in the response body.
Also verify phone number fields [countryCode, areaCode, number, and extension] are included in the response correctly.
Verify multiple phone numbers with same PhoneType is allowed by searching for the same customer we've created Steps:
Generating Access Token
End Point URI:customer/customer-create
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
4017 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":"3321769"} statusMessage is: AddPartyApi - Status: Success statusFlag is: true UUID is: 12345
Customer Search test Data are:
{VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=, ERROR MESSAGE=, TEST SCENARIO=#TC161 Create a customer with person record with foreign=true and verify the fields in the response body.
Also verify phone number fields [countryCode, areaCode, number, and extension] are included in the response correctly.
Verify multiple phone numbers with same PhoneType is allowed by searching for the same customer we've created, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones={
"areaCode": "402",
"countryCode": "1",
"extension": "005678",
"isPrimary": true,
"number": "2190004",
"phoneType": "Work"
},
{
"areaCode": "101",
"countryCode": "1",
"extension": "987654",
"isPrimary": true,
"number": "908787",
"phoneType": "Work"
}, TEST ID=premierCoCreateCust_verifyBySearchCust, idList=, VERIFY ARRAY SIZE=content[0].customerBase.phones:2, accessToken=Bearer eyJraWQiOiJyVk1SeUtqelBpRll5eWJWZFFIRmE2b1oxa1E3MlJhVENvSW9ENWdZSGJrPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MjAzNTAyLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgyMDcxMDIsImlhdCI6MTc1ODIwMzUwMiwidmVyc2lvbiI6MiwianRpIjoiMzgyN2M5MTktMjQ4OS00YjhiLThkNTgtMDM5MGIyYTA5YWMwIiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.GDbJiW3oejItQYe_OIBcxzpJefTFYi3epz1gMEkQQW37CA5tD77I6CjnZ4ZVr6trVm7AVxMqQwqihLcEdFHKpmGD4i7erYrTK0Om8osR45vkj-QgwlXqX6zjpF5iPVRi-074cEi6bEHhyDqCxLWKDGp-VsPkI7iUMjgFlodnWgKrGDmsDsh1oIkjNY6Zf9o7kXx_-vPraiwYyWQnicBX53CBzQcGcjoRC8pgFg6NyMLaWEYK1pkjq9_nVrradRTqVeQEo_eSa0EIXIAkacvbrCYNoZWpLvrzH21w8ZAfqjsEUycSYCK_Lmr-NsldPyCYtC2qfzp1U21hkvlw0aVbkg, 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":"3321769"}}, 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
3400 milli second
=== Starting Comprehensive JSON Verification ===
--- Running Field Presence Verification ---
Field 'content[0].customerBase.phones[0].areaCode' is present in Response Body
Field 'content[0].customerBase.phones[0].countryCode' is present in Response Body
Field 'content[0].customerBase.phones[0].extension' is present in Response Body
Field 'content[0].customerBase.phones[0].isPrimary' is present in Response Body
Field 'content[0].customerBase.phones[0].number' is present in Response Body
Field 'content[0].customerBase.phones[0].phoneType' is present in Response Body
--- Running Array Size Verification ---
Array 'content[0].customerBase.phones' has expected size 2
--- Running Empty Objects Verification ---
No empty objects found in JSON
Verification types detected: Fields, Array Sizes, No Empty Objects
=== JSON Verification Complete - 3 verification type(s) executed ===
Status code is matching correctly! (Expected : 200 Actual : 200 )
Message: GetPartyApi - Status: Success.
Customer search has been successful.
Content is : [{"userFields":[{"searchFlag":true,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"gender":"Male","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"0908787","areaCode":"101","extension":"987654","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-101-0908787+987654"}],"idList":[{"issueDate":"2020-12-30","type":"A","value":"21301002543894127","issuer":"US","expirationDate":"2025-12-30"}],"riskRating":"None","employeeCode":"9","alienStatus":{"chapter3Status":"0","w8Type":"None","giin":"0","chapter4Status":"0","chapter3ExemptCode":"0"},"customerType":"Person","dob":"1988-01-07","taxID":"403477614","customerID":"3321769","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","tinCertification":"Certified","residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Personal","state":"CA","addressID":"2221451","censusTractNumber":"0"}],"crmSmsa":"1002","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"},"createDate":"2025-09-18"}}] statusMessage is: GetPartyApi - Status: Success. statusFlag is: true UUID is: c1c05629-9ebe-4bc1-94a5-2a6a8b9d2e21
|
|
9 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoQueryCustomer Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC155 Search with a Person Customer and verify that addressID, tinCertification field is getting returned in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].customerBase.residences[0].addressID,content[0].customerBase.tinCertification, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"taxID": "",
"customerID": "3309526"
},
"uuid": "123636"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=}
Show output
Show all outputs
#TC155 Search with a Person Customer and verify that addressID, tinCertification field is getting returned in the response body Steps:
Generating Access Token
End Point URI:customer/customer-search
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
3307 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
|
|
3 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoQueryCustomer Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyListApi - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC153 Search for customer by tax ID and verify fields in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].customerBase.residences[0].isForeign,content[1].customerBase.phones[0].countryCode,content[0].customerBase.residences[0].msaCode, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"taxID": "988125678",
"customerID": ""
},
"uuid": "123636"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=}
Show output
Show all outputs
#TC153 Search for customer by tax ID and verify fields in the response body Steps:
Generating Access Token
End Point URI:customer/customer-search
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
4261 milli second
=== Starting Comprehensive JSON Verification ===
--- Running Field Presence Verification ---
Field 'content[0].customerBase.residences[0].isForeign' is present in Response Body
Field 'content[1].customerBase.phones[0].countryCode' is present in Response Body
Field 'content[0].customerBase.residences[0].msaCode' is present in Response Body
--- Running Empty Objects Verification ---
No empty objects found in JSON
Verification types detected: Fields, No Empty Objects
=== JSON Verification Complete - 2 verification type(s) executed ===
Status code is matching correctly! (Expected : 200 Actual : 200 )
Message: GetPartyListApi - Status: Success.
Customer search has been successful.
Content is : [{"originatingBranch":"2","customerBase":{"customerType":"Partnership","dob":"1929-09-14","taxID":"988125678","customerID":"3321653","name":{"firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","residences":[{"postalExtension":"1234","msaCode":1002,"city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":true,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221224","censusTractNumber":"9"},{"postalExtension":"1234","msaCode":1002,"city":"MILFORD","addressType":"Secondary","address1":"1129 G ST","isPrimary":false,"isForeign":true,"postalCode":"68803","subType":"Business","state":"NJ","addressID":"2221225","censusTractNumber":"9"}],"crmSmsa":"1002"}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3321687","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH JR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2221299","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"9109"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3321696","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221310","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3321695","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221309","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3321694","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2221308","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3321693","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"0908787","areaCode":"101","extension":"987654","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-101-0908787+987654"}],"residences":[{"postalExtension":"68361","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2221307","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309898","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"403","extension":"005679","phoneType":"Work","countryCode":"00002","isPrimary":false,"unformattedPhone":"+00002-403-2190005+005679"},{"number":"2190009","areaCode":"407","extension":"005681","phoneType":"Work","countryCode":"00008","isPrimary":false,"unformattedPhone":"+00008-407-2190009+005681"}],"residences":[{"postalExtension":"1234","address2":"suite2","city":"FALLS CITY","addressType":"Primary","address1":"111 street1","isForeign":false,"postalCode":"68361","addressID":"2210010","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","city":"FALLS CITY","addressType":"Seasonal","address1":"STE 123","isForeign":false,"postalCode":"68361","addressID":"2210010","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"postalExtension":"1234","address2":"Suite 123","city":"FALLS CITY","addressType":"Secondary","address1":"addr1 sec","isForeign":false,"postalCode":"68363","addressID":"2210011","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"1561","isForeign":false,"postalCode":"68361","addressID":"2210011","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309381","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2208220","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309855","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Fax","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190005+005678"},{"number":"2190006","areaCode":"402","extension":"005678","phoneType":"Home","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190006+005678"}],"residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209894","censusTractNumber":"0"},{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Secondary","address1":"addr1","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209895","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3309982","name":{"legalName":"SUNLIFE CORP","businessName":"SUN PVT LTD."},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","msaCode":1002,"address2":"STREET 123 STREET 123","city":"FALLS CITY","address1":"111 mill creek","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2210253","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309939","name":{"legalName":"JOSEPH B HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD B JOSEPH","middleName":"B"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"68361","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210158","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310061","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"403","extension":"005679","phoneType":"Work","countryCode":"00002","isPrimary":false,"unformattedPhone":"+00002-403-2190005+005679"},{"number":"2190006","areaCode":"404","extension":"005680","phoneType":"Work","countryCode":"00003","isPrimary":false,"unformattedPhone":"+00003-404-2190006+005680"},{"number":"2190007","areaCode":"405","extension":"005681","phoneType":"Work","countryCode":"00004","isPrimary":false,"unformattedPhone":"+00004-405-2190007+005681"},{"number":"2190008","areaCode":"406","extension":"005681","phoneType":"Work","countryCode":"00005","isPrimary":false,"unformattedPhone":"+00005-406-2190008+005681"},{"number":"2190009","areaCode":"407","extension":"005681","phoneType":"Work","countryCode":"00008","isPrimary":false,"unformattedPhone":"+00008-407-2190009+005681"}],"residences":[{"postalExtension":"68361","address2":"STE 1235","city":"FALLS CITY","addressType":"Primary","address1":"22251 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210413","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"68361","address2":"addr2 sec","city":"FALLS CITY","addressType":"Seasonal","address1":"addr1 sec","isForeign":false,"postalCode":"68361","addressID":"2210413","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"postalExtension":"123","address2":"STE 123","city":"FALLS CITY","addressType":"Secondary","address1":"2221","isForeign":false,"postalCode":"68361","addressID":"2210414","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"123","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"2221","isForeign":false,"postalCode":"68361","addressID":"2210414","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309542","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Primary","address1":"addr1","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209060","censusTractNumber":"0"},{"msaCode":0,"address2":"STE 123","city":"FALLS","addressType":"Secondary","address1":"2221 MILLER","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209061","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3310006","name":{"legalName":"LIF","businessName":"LIFE SAVERS INC"},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","msaCode":1002,"address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2210305","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210305","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Business","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310036","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210367","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"121 redmond","isForeign":false,"postalCode":"68361","addressID":"2210367","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","taxID":"988125678","customerID":"3310113","name":{"firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD JOSEPH"},"taxIDType":"P","residences":[],"crmSmsa":"1002"}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310099","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH JR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[]}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309905","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"403","extension":"005679","phoneType":"Work","countryCode":"00002","isPrimary":false,"unformattedPhone":"+00002-403-2190005+005679"},{"number":"2190006","areaCode":"404","extension":"005680","phoneType":"Work","countryCode":"00003","isPrimary":false,"unformattedPhone":"+00003-404-2190006+005680"},{"number":"2190007","areaCode":"405","extension":"005681","phoneType":"Work","countryCode":"00004","isPrimary":false,"unformattedPhone":"+00004-405-2190007+005681"},{"number":"2190008","areaCode":"406","extension":"005681","phoneType":"Work","countryCode":"00005","isPrimary":false,"unformattedPhone":"+00005-406-2190008+005681"},{"number":"2190009","areaCode":"407","extension":"005681","phoneType":"Work","countryCode":"00008","isPrimary":false,"unformattedPhone":"+00008-407-2190009+005681"}],"residences":[{"msaCode":1002,"address2":"STE 1235","city":"FALLS","addressType":"Primary","address1":"22251 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2210023","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","msaCode":0,"city":"FALLS","addressType":"Seasonal","address1":"STE 123","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2210023","censusTractNumber":"0","seasonEndDate":"9999-08-17"},{"msaCode":0,"address2":"addr2 sec","city":"FALLS","addressType":"Secondary","address1":"addr1 sec","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2210024","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","address2":"Redmond","city":"FALLS","addressType":"Seasonal","address1":"1561","isForeign":false,"addressID":"2210024","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CITY","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309498","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Fax","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190005+005678"},{"number":"2190006","areaCode":"402","extension":"005678","phoneType":"Home","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190006+005678"}],"residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2208967","censusTractNumber":"0"},{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Secondary","address1":"addr1","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2208968","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Business","taxID":"988125678","customerID":"3309968","name":{"legalName":"LIFE CORP","businessName":"SAN MATEO PVT LTD."},"taxIDType":"B","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","msaCode":1002,"city":"FALLS CITY","address1":"111 mill creek","isPrimary":true,"isForeign":false,"postalCode":"68361","subType":"Business","state":"CA","addressID":"2210215","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310009","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH SR.","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"403","extension":"005679","phoneType":"Work","countryCode":"00002","isPrimary":false,"unformattedPhone":"+00002-403-2190005+005679"},{"number":"2190006","areaCode":"404","extension":"005680","phoneType":"Work","countryCode":"00003","isPrimary":false,"unformattedPhone":"+00003-404-2190006+005680"},{"number":"2190007","areaCode":"405","extension":"005681","phoneType":"Work","countryCode":"00004","isPrimary":false,"unformattedPhone":"+00004-405-2190007+005681"},{"number":"2190008","areaCode":"406","extension":"005681","phoneType":"Work","countryCode":"00005","isPrimary":false,"unformattedPhone":"+00005-406-2190008+005681"},{"number":"2190009","areaCode":"407","extension":"005681","phoneType":"Work","countryCode":"00008","isPrimary":false,"unformattedPhone":"+00008-407-2190009+005681"}],"residences":[{"postalExtension":"68361","address2":"addr2 sec","city":"FALLS CITY","addressType":"Primary","address1":"addr1 sec","isForeign":false,"postalCode":"68361","addressID":"2210309","msaCode":0,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"postalExtension":"123","address2":"Redmond","city":"FALLS CITY","addressType":"Secondary","address1":"1561","isForeign":false,"postalCode":"68361","addressID":"2210310","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"123","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"2221","isForeign":false,"postalCode":"68361","addressID":"2210310","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3310058","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"HOWARD N JOSEPH","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2210409","msaCode":1002,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Seasonal","address1":"121 redmond","isForeign":false,"postalCode":"68361","addressID":"2210409","seasonEndDate":"9999-08-17","msaCode":0,"isPrimary":false,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309574","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190005+005678"},{"number":"2190006","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190006+005678"},{"number":"2190007","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190007+005678"},{"number":"2190008","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190008+005678"},{"number":"2190009","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190009+005678"}],"residences":[{"msaCode":0,"address2":"STE 123","city":"FALLS","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209124","censusTractNumber":"0"},{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Secondary","address1":"addr1","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2209125","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309493","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Fax","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190004+005678"},{"number":"2190005","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190005+005678"},{"number":"2190006","areaCode":"402","extension":"005678","phoneType":"Home","countryCode":"1","isPrimary":false,"unformattedPhone":"+1-402-2190006+005678"}],"residences":[{"msaCode":1002,"address2":"STE 123","city":"FALLS","addressType":"Primary","address1":"2221 MILLER","isPrimary":true,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2208957","censusTractNumber":"0"},{"msaCode":0,"address2":"addr2","city":"FALLS","addressType":"Secondary","address1":"MILLER ST.","isPrimary":false,"isForeign":false,"subType":"Personal","state":"CITY","addressID":"2208958","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}},{"originatingBranch":"2","customerBase":{"customerType":"Person","dob":"1988-01-07","taxID":"988125678","customerID":"3309741","name":{"legalName":"JOSEPH N HOWARD","firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","phones":[{"number":"2190004","areaCode":"402","extension":"005678","phoneType":"Work","countryCode":"1","isPrimary":true,"unformattedPhone":"+1-402-2190004+005678"}],"residences":[{"postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","addressType":"Primary","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2209604","msaCode":0,"isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"0"}],"email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"}}}] statusMessage is: GetPartyListApi - Status: Success. statusFlag is: true UUID is: 123636
|
|
5 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoRelatioshipCreate Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Relationship Must be Unique, ERROR MESSAGE=, TEST SCENARIO=#TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipCreate, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusCode,statusMessage, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"relatedToCustomerInformation": {
"relatedToCustomerID": "3310691"
},
"relationshipInformation": [
{
"beneficialOwner": {
"percent": 100,
"type": "Beneficial Owner"
},
"customerID": "3310653"
}
]
},
"uuid": "12345"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=statusFlag:false}
Show output
Show all outputs
#TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner Steps:
Generating Access Token
End Point URI:customer/customer-relationship-create
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
3427 milli second
=== Starting Comprehensive JSON Verification ===
--- Running Field Presence Verification ---
Field 'statusCode' is present in Response Body
Field 'statusMessage' is present in Response Body
--- Running Field Value Verification ---
Field 'statusFlag' has expected value 'false'
Verification types detected: Fields, Values
=== JSON Verification Complete - 2 verification type(s) executed ===
Status code is matching correctly! (Expected : 200 Actual : 200 )
Customer relationship creation has been successful.
Content is : null statusMessage is: AddBeneficialOwnerApi - Status: Error: AddBeneficialOwner - Status: Error - No Name On File statusFlag is: false UUID is: 12345
|
|
3 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoRelatioshipCreate Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Relationship Must be Unique, ERROR MESSAGE=, TEST SCENARIO=#TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipCreate, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusCode,statusMessage, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"relatedToCustomerInformation": {
"relatedToCustomerID": "3310691"
},
"relationshipInformation": [
{
"beneficialOwner": {
"percent": 100,
"type": "Beneficial Owner"
},
"customerID": "3310653"
}
]
},
"uuid": "12345"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=statusFlag:false}
Show output
Show all outputs
#TC165 Try to create a relationship with the same person added as Benefial owner and controlling owner Steps:
Generating Access Token
End Point URI:customer/customer-relationship-create
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
3385 milli second
=== Starting Comprehensive JSON Verification ===
--- Running Field Presence Verification ---
Field 'statusCode' is present in Response Body
Field 'statusMessage' is present in Response Body
--- Running Field Value Verification ---
Field 'statusFlag' has expected value 'false'
Verification types detected: Fields, Values
=== JSON Verification Complete - 2 verification type(s) executed ===
Status code is matching correctly! (Expected : 200 Actual : 200 )
Customer relationship creation has been successful.
Content is : null statusMessage is: AddBeneficialOwnerApi - Status: Error: AddBeneficialOwner - Status: Error - No Name On File statusFlag is: false UUID is: 12345
|
|
4 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoQueryCustomer Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC153 #TC154 #TC155 #TC156 #TC157 Search for customer by tax ID and verify fields in the response body Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC157 Search a customer with Customer ID and verify there is no blank object "{}" present in the Response Json, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=premierCoQueryCustomer, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"taxID": "",
"customerID": "3243931"
},
"uuid": "123636"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=}
Show output
Show all outputs
#TC157 Search a customer with Customer ID and verify there is no blank object "{}" present in the Response Json Steps:
Generating Access Token
End Point URI:customer/customer-search
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
3616 milli second
=== Starting Comprehensive JSON Verification ===
--- Running Empty Objects Verification ---
No empty objects found in JSON
Verification types detected: No Empty Objects
=== JSON Verification Complete - 1 verification type(s) executed ===
Status code is matching correctly! (Expected : 200 Actual : 200 )
Message: GetPartyApi - Status: Success.
Customer search has been successful.
Content is : [{"userFields":[{"searchFlag":false,"dataType":"Alpha","description":"GoldTier ID","value":"100002","key":"700","requiredFlag":false,"expirationDate":"2022-12-12"},{"searchFlag":true,"dataType":"Currency","description":"Saranda","value":"110102","key":"89901","requiredFlag":false,"expirationDate":"2024-10-11"}],"branchNumber":"2","officerCode":"99","originatingBranch":"2","customerBase":{"gender":"Male","phones":[{"number":"2190001","areaCode":"402","phoneType":"Mobile","countryCode":"00001","isPrimary":true,"unformattedPhone":"+00001-402-2190001"},{"number":"2190002","areaCode":"402","phoneType":"Work","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190002"},{"number":"2190003","areaCode":"402","phoneType":"Home","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190003"},{"number":"2190004","areaCode":"402","phoneType":"Fax","countryCode":"00001","isPrimary":false,"unformattedPhone":"+00001-402-2190004"}],"idList":[{"issueDate":"2016-12-29","type":"1","value":"DEF8789","issuer":"22","expirationDate":"2017-01-01"}],"riskRating":"Medium","employeeCode":"9","passwordClue":"New York City,NY","alienStatus":{"citizenCountry":"IN","chapter3Status":"0","w8Type":"W8-BEN-E","chapter4Status":"0","residentCountry":"IN","w8ExpirationDate":"2019-12-28","chapter3ExemptCode":"0","w8CertificationDate":"2014-12-28"},"customerType":"Partnership","dob":"1929-09-14","taxID":"988125678","customerID":"3243931","name":{"firstName":"HOWARD","lastName":"JOSEPH","fullName":"JOSEPH N HOWARD","middleName":"N"},"taxIDType":"P","tinCertification":"Certified","residences":[{"msaCode":1002,"city":"FALLS CITY","address1":"2221 MILLER","countryCode":"10","isPrimary":true,"isForeign":true,"postalCode":"683611234","subType":"Business","state":"CA","addressID":"2106202","censusTractNumber":"9"},{"msaCode":1002,"city":"MILFORD","address1":"1129 G ST","countryCode":"10","isPrimary":false,"isForeign":true,"postalCode":"688031234","subType":"Business","state":"NJ","addressID":"2106203","censusTractNumber":"9"}],"crmSmsa":"1002","createDate":"2021-01-09"}}] statusMessage is: GetPartyApi - Status: Success. statusFlag is: true UUID is: 123636
|
|
4 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoCreateCust_verifyBySearchCust Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC158 #TC159 #TC160 #TC161 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC160 Create a customer with person record with foreign=false and verify the fields in the response body. [Bug - KP-762] Also verify that all the address fields are present in the response body , coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones={
"areaCode": "402",
"countryCode": "1",
"isPrimary": true,
"number": "2190004",
"phoneType": "Work"
}, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={
"expirationDate": "2025-12-30",
"issueDate": "2020-12-30",
"issuer": "US",
"type": "A",
"value": "21301002543894127"
},
{
"expirationDate": "2029-12-30",
"issueDate": "2040-12-30",
"issuer": "US",
"type": "C",
"value": "21301002543899999"
}, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase={
"alienStatus": {
"chapter3Status": "0",
"chapter4Status": "0",
"giin": "0",
"w8Type": "W8-BEN-E"
},
"createDate": "2021-01-09",
"crmSmsa": "1002",
"customerType": "Person",
"dob": "1988-01-07",
"email": {
"emailAddress": "EMAIL8@ZOOHO.COM",
"emailType": "PERSON"
},
"employeeCode": "9",
"gender": "Male",
"idList": [
{{idList}}
],
"isUSCitizen": true,
"naicsCode": 1,
"mothersMaidenName": "Jolly Josh",
"password": "Hjosheph@123",
"passwordClue": "First and Last Name 123",
"name": {
"firstName": "HOWARD",
"fullName": "JOSEPH N HOWARD",
"lastName": "JOSEPH",
"legalName": "JOSEPH N HOWARD",
"middleName": "N",
"suffix": "Jr."
},
"phones": [
{{phones}}
],
"residences": [{{residences}}
],
"taxID": "988125678",
"taxIDType": "P",
"tinCertification": "Certified"
}, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody={
"assetID": "{{assetID}}",
"content": {
"taxID": "",
"customerID": "3309990"
},
"uuid": ""
}, residences={
"address1": "2221 MILLER",
"address2": "STE 123",
"addressType": "Current",
"city": "FALLS CITY",
"isPrimary": true,
"postalCode": "683 61",
"postalExtension": "1234",
"seasonBeginDate": "2019-08-17",
"seasonEndDate": "2027-08-17",
"state": "CA",
"streetName": "MILLER",
"streetNumber": "2221",
"subType": "Personal",
"suite": "STE 123",
"isForeign": false,
"countryCode": "2",
"msaCode": 0,
"censusTractNumber": "009109"
}, BODY={
"assetID": "{{assetID}}",
"content": {
"branchNumber": "2",
"customerBase": {{customerBase}},
"officerCode": "99",
"originatingBranch": "2",
"userFields": [
{
"dataLength": 40,
"dataType": "Alpha",
"description": "GoldTier ID",
"expirationDate": "2022-12-12",
"groupNumber": "0",
"key": "700",
"requiredFlag": false,
"searchFlag": true,
"value": "100002"
}
]
},
"uuid": "12345"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=}
Show output
Show all outputs
#TC160 Create a customer with person record with foreign=false and verify the fields in the response body. [Bug - KP-762] Also verify that all the address fields are present in the response body Steps:
Generating Access Token
End Point URI:customer/customer-create
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
4629 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":"3321768"} 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.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MjAzNDkyLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgyMDcwOTIsImlhdCI6MTc1ODIwMzQ5MiwidmVyc2lvbiI6MiwianRpIjoiZWJiYzFjMTUtNWQ2ZC00NTkwLWE0NzYtYzQzNmUxOTM3ZTNjIiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.q6JAYjfJjQBfmdg_6SIwwTsyD1XpGi2JXkSGlfCK66FFDo3EeLZruyygO8CY_N9PTo0cHoyBTU7liwWO-M2m99RsAED-bgLMaAgpXNscTdTStJahZH1oHFg1R8MvmgQf8Xb1sgHk-8D0zhQTN14phumBQlOWct9i9YZ1mHHwvlkKvnLn5MyJk4l7pnPmITZfK3osWT1NbABEkQXHRiw5aUYp8uuQJFrH9EMNFXBOuNLAjn-KaxGIlxpwVQi7Lskgj_RSjOrDQsd62Kytr6zg-VgO_c8rKKSrAVxxfEG1xTJ0w5h91RE-RshKZuv0Ei4-Sqb3wfAZgdFZEsiW3CEYvQ, 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":"3321768"}}, 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
3917 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":"235253677","customerID":"3321768","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":"2221450","msaCode":1002,"countryCode":"2","isPrimary":true,"subType":"Personal","state":"CA","censusTractNumber":"9109"}],"crmSmsa":"1002","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Home"},"createDate":"2025-09-18"}}] statusMessage is: GetPartyApi - Status: Success. statusFlag is: true UUID is: 66cda5cf-d479-48d0-96e8-dfe4def23387
|
|
10 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoCreateCust_verifyBySearchCust Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC158 #TC159 #TC160 #TC161 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC158 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones={
"areaCode": "402",
"countryCode": "1",
"extension": "005678",
"isPrimary": true,
"number": "2190004",
"phoneType": "Work"
}, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={
"expirationDate": "2025-12-30",
"issueDate": "2020-12-30",
"issuer": "US",
"type": "A",
"value": "21301002543894127"
}, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=TRUE, customerBase={
"alienStatus": {
"chapter3Status": "0",
"chapter4Status": "0",
"giin": "0",
"w8Type": "W8-BEN-E"
},
"createDate": "2021-01-09",
"crmSmsa": "1002",
"customerType": "Business",
"email": {
"emailAddress": "EMAIL8@ZOOHO.COM",
"emailType": "Business"
},
"employeeCode": "9",
"idList": [
{{idList}}
],
"isUSCitizen": true,
"naicsCode": 1,
"name": {
"businessName": "Life savers inc",
"legalName": "Lif"
},
"phones": [
{{phones}}
],
"residences": [
{{residences}}
],
"taxID": "988125678",
"taxIDType": "B",
"tinCertification": "Certified"
}, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody={
"assetID": "{{assetID}}",
"content": {
"taxID": "",
"customerID": "3309990"
},
"uuid": ""
}, residences={
"address1": "2221 MILLER",
"address2": "STE 123",
"addressType": "Current",
"city": "FALLS CITY",
"isPrimary": true,
"postalCode": "68361",
"postalExtension": "1234",
"seasonBeginDate": "2019-08-17",
"seasonEndDate": "2027-08-17",
"state": "CA",
"streetName": "MILLER",
"streetNumber": "2221",
"subType": "Business",
"suite": "STE 123"
}, BODY={
"assetID": "{{assetID}}",
"content": {
"branchNumber": "2",
"customerBase": {{customerBase}},
"officerCode": "99",
"originatingBranch": "2",
"userFields": [
{
"dataLength": 40,
"dataType": "Alpha",
"description": "GoldTier ID",
"expirationDate": "2022-12-12",
"groupNumber": "0",
"key": "700",
"requiredFlag": false,
"searchFlag": true,
"value": "100002"
}
]
},
"uuid": "12345"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=}
Show output
Show all outputs
#TC158 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body Steps:
Generating Access Token
End Point URI:customer/customer-create
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
10910 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":"3321766"} 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.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MjAzNDYwLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgyMDcwNjAsImlhdCI6MTc1ODIwMzQ2MCwidmVyc2lvbiI6MiwianRpIjoiMmI2MGI3MWItMDM5Zi00NDFjLTg4ZDItODk5YWRmNGMxODNhIiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.WNWGmpruINVEo3VptElvpbtxuMRnn6u0dLzeXYhECJZ9AYqYigXlcydPP6z3D7hGD1i0a5p39apwuN66rPrGP2cVzKvZltn0LoDgYLtgy1DTRS09cxW8uyb2iXJj39OHPMHqerh4N3w_kFRDmAbgu8bU5BJCu8Dv8W0t6b9Jc_KCI92I6ZxI_oTfwqjHE74sGw91tIe0VSY2Lyzyulni0RKtgwjOWoYaRwghFjJT6uNoiJ1hLbgcTnuJb8nZJlwuRwHOQVvpEkC6WHyBZrYDV8u2qmJ1oGbbdMs3PA5xtqVCYV0vRVuhauwb3yBtqEWkmm88WFXCxu_QzxIjHWG_Eg, 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":"3321766"}}, 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
3961 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":"241749441","customerID":"3321766","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":"2221447","censusTractNumber":"0"}],"crmSmsa":"1002","email":{"emailAddress":"EMAIL8@ZOOHO.COM","emailType":"Work"}}}] statusMessage is: GetPartyApi - Status: Success. statusFlag is: true UUID is: 1eb8a280-6173-4c20-a929-ec7e90c69eb5
|
|
20 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |
premierCoCreateCust_verifyBySearchCust Test class: com.kinective.testscripts.Customer.CustomerTest Test method: #TC158 #TC159 #TC160 #TC161 Create a customer with addrType=Primary and crmsmsa code and verify in Search Customer isPrimary=true and crmsmsa code is present in the response body Parameters: {VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC159 Create a customer with addrType=Secondary and verify in Search Customer isPrimary=true in the response body. Also veirify the statusCode, statusMessage and uuid fields., coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones={
"areaCode": "906",
"countryCode": "1",
"isPrimary": false,
"number": "8782725",
"phoneType": "Work"
}, TEST ID=premierCoCreateCust_verifyBySearchCust, idList={
"expirationDate": "2026-12-30",
"issueDate": "2020-12-30",
"issuer": "22",
"type": "1",
"value": "21301002543894127"
}, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase={
"alienStatus": {
"chapter3Status": "0",
"chapter4Status": "0",
"giin": "777555",
"w8Type": "W8-BEN"
},
"customerType": "Business",
"email": {
"emailAddress": "ClimbingCastle@gmail.com",
"emailType": "Business"
},
"idList": [
{{idList}}
],
"naicsCode": 71,
"mothersMaidenName": "Molly Moon",
"password": "Password@123",
"passwordClue": "First and Last Name of your mother",
"name": {
"businessName": "Living well",
"legalName": "Living well, Inc."
},
"phones": [
{{phones}}
],
"residences": [ {{residences}}
],
"taxID": "777335555",
"taxIDType": "B",
"tinCertification": "Certified"
}, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody={
"assetID": "{{assetID}}",
"content": {
"taxID": "",
"customerID": "3309990"
},
"uuid": ""
}, residences=
{
"address1": "9528 25 Hwy",
"city": "Halton Hills",
"censusTractNumber": "0011.01",
"countryCode": "10",
"isForeign": true,
"isPrimary": false,
"addressType": "Seasonal",
"msaCode": 12343,
"postalCode": "L9T 2X7",
"state": "ON",
"subType": "Business"
},
{
"address1": "9632 25 Hwy",
"addressType": "Seasonal",
"city": "Duryodhan Hills",
"censusTractNumber": "0011.01",
"countryCode": "11",
"isForeign": false,
"isPrimary": true,
"msaCode": 12344,
"postalCode": "56784",
"postalExtension": "1121",
"state": "ON",
"subType": "Business"
},
{
"address1": "2221 MILLER",
"address2": "STE 123",
"addressType": "Seasonal",
"city": "FALLS CITY",
"isPrimary": false,
"isForeign": false,
"countryCode": "12",
"postalCode": "68361",
"postalExtension": "1234",
"seasonBeginDate": "2019-08-17",
"seasonEndDate": "2027-08-17",
"state": "CA",
"streetName": "MILLER",
"streetNumber": "2221",
"subType": "Business",
"suite": "STE 123"
},
{
"address1": "8548 69 Hwy",
"city": "Mahabali Hills",
"censusTractNumber": "0011.01",
"countryCode": "10",
"isForeign": true,
"isPrimary": false,
"addressType": "Seasonal",
"msaCode": 12343,
"postalCode": "L9T 2X7",
"state": "ON",
"subType": "Business"
},
{
"address1": "9528 25 Hwy",
"city": "Chanakya Hills",
"censusTractNumber": "0011.01",
"countryCode": "10",
"isForeign": true,
"isPrimary": false,
"addressType": "Mailing",
"msaCode": 12343,
"postalCode": "L9T 2X7",
"state": "ON",
"subType": "Business"
}, BODY={
"assetID": "{{assetID}}",
"content": {
"branchNumber": "2",
"customerBase": {{customerBase}},
"officerCode": "160",
"originatingBranch": "2"
},
"uuid": "12345"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=}
Show output
Show all outputs
#TC159 Create a customer with addrType=Secondary and verify in Search Customer isPrimary=true in the response body. Also veirify the statusCode, statusMessage and uuid fields. Steps:
Generating Access Token
End Point URI:customer/customer-create
Sending POST Publish command
Executed URL
{}
Status Code
200
Time taken to get response is
5859 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":"3321767"} 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.eyJzdWIiOiI0cHNtNmJlNWZpaGZ2ZTU5ZGg0dmYwbzVscSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoidHJhbnNhY3Rpb25zXC9wb3N0IiwiYXV0aF90aW1lIjoxNzU4MjAzNDc5LCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtd2VzdC0yLmFtYXpvbmF3cy5jb21cL3VzLXdlc3QtMl91NTY2V21yUEsiLCJleHAiOjE3NTgyMDcwNzksImlhdCI6MTc1ODIwMzQ3OSwidmVyc2lvbiI6MiwianRpIjoiN2RjZmVmZDUtZWFkMC00ZmM2LWIyOWEtNGI3MGNhZTcyZTkwIiwiY2xpZW50X2lkIjoiNHBzbTZiZTVmaWhmdmU1OWRoNHZmMG81bHEifQ.p-shn96I1PsdUEzF-KV_xX3XKEKukqnZAuqGR4NU2BnZotkCCfBYd1VIclHBJuxWhLiBY3FVk3053yjGZnDtHrkJT-PUxqgpxy1GIMjGtU_lR3m7Jex0mvkF0RQbMdPtLpw8mWvKKjdG8TTLurwlm2Mfg5bNvT3WRb78kLh_XAoZTom69GJ1RU7AawThURY7AQfevvl0WtnH2S-_kVeC0fqX1MZ6-ZZKoTBY_QG4PQVXOSgNrLRSDGh6nfJzt7Ywf6x6ofzY3ajkQNrrronYWrjxWSp6jVK86d6FS2kTUgr0jWo-iO96oCKNJ9nPBO3I-kOU05K19qEpUf_XUBSTpw, 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":"3321767"}}, 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
4635 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":"603647038","customerID":"3321767","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":"2221448","censusTractNumber":"11.01"},{"seasonBeginDate":"9999-08-17","postalExtension":"1234","address2":"STE 123","city":"FALLS CITY","address1":"2221 MILLER","isForeign":false,"postalCode":"68361","addressID":"2221448","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":"2221449","censusTractNumber":"11.01"}],"crmSmsa":"12344","email":{"emailAddress":"ClimbingCastle@gmail.com","emailType":"Work"}}}] statusMessage is: GetPartyApi - Status: Success. statusFlag is: true UUID is: 31858e52-9304-422d-98dc-b2728bb3ef99
|
|
12 |
com.kinective.testscripts.Customer.CustomerTest@2a65fe7c |