| Tests passed/Failed/Skipped: | 8/2/0 |
| Started on: | Tue Sep 16 20:44:41 IST 2025 |
| Total time: | 90 seconds (90782 ms) |
| Included groups: | |
| Excluded groups: |
| FAILED TESTS | |||
| Test method | Exception | Time (seconds) | Instance |
| 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=, TEST ID=premierCoCreateCust_verifyBySearchCust, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, 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: |
java.lang.Exception: Failed to Query the customer at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1310) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) Caused by: com.generics.utils.KinectiveException: Failed Create the customer at com.kinective.sapi.CustomerCreate.customerCreateNew(CustomerCreate.java:112) at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1232) ... 26 more Caused by: org.json.JSONException: Missing value at 122 [character 24 line 5] at org.json.JSONTokener.syntaxError(JSONTokener.java:501) at org.json.JSONTokener.nextValue(JSONTokener.java:451) at org.json.JSONObject.<init>(JSONObject.java:245) at org.json.JSONTokener.nextValue(JSONTokener.java:418) at org.json.JSONObject.<init>(JSONObject.java:245) at org.json.JSONObject.<init>(JSONObject.java:404) at com.kinective.sapi.CustomerCreate.changeTaxId(CustomerCreate.java:124) at com.kinective.sapi.CustomerCreate.customerCreateNew(CustomerCreate.java:93) ... 27 more ... Removed 26 stack frames java.lang.Exception: Failed to Query the customer at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1310) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133) at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598) at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173) at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46) at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824) at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:794) at org.testng.TestRunner.run(TestRunner.java:596) at org.testng.SuiteRunner.runTest(SuiteRunner.java:377) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:371) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:332) at org.testng.SuiteRunner.run(SuiteRunner.java:276) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212) at org.testng.TestNG.runSuitesLocally(TestNG.java:1134) at org.testng.TestNG.runSuites(TestNG.java:1063) at org.testng.TestNG.run(TestNG.java:1031) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:293) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:91) Caused by: com.generics.utils.KinectiveException: Failed Create the customer Exception Chain:<br>org.json.JSONException: Missing value at 122 [character 24 line 5]<br>Exception Stacktrace: <br>at org.json.JSONTokener.syntaxError(JSONTokener.java:501)<br>at org.json.JSONTokener.nextValue(JSONTokener.java:451)<br>at org.json.JSONObject.<init>(JSONObject.java:245)<br>at org.json.JSONTokener.nextValue(JSONTokener.java:418)<br>at org.json.JSONObject.<init>(JSONObject.java:245)<br>at org.json.JSONObject.<init>(JSONObject.java:404)<br>at com.kinective.sapi.CustomerCreate.changeTaxId(CustomerCreate.java:124)<br>at com.kinective.sapi.CustomerCreate.customerCreateNew(CustomerCreate.java:93)<br>at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1232)<br>at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)<br>at java.base/java.lang.reflect.Method.invoke(Method.java:580)<br>at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)<br>at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)<br>at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)<br>at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)<br>at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)<br>at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)<br>at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)<br>at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)<br>at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)<br>at org.testng.TestRunner.privateRun(TestRunner.java:794)<br>at org.testng.TestRunner.run(TestRunner.java:596)<br>at org.testng.SuiteRunner.runTest(SuiteRunner.java:377)<br>at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:371)<br>at org.testng.SuiteRunner.privateRun(SuiteRunner.java:332)<br>at org.testng.SuiteRunner.run(SuiteRunner.java:276)<br>at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)<br>at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)<br>at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212)<br>at org.testng.TestNG.runSuitesLocally(TestNG.java:1134)<br>at org.testng.TestNG.runSuites(TestNG.java:1063)<br>at org.testng.TestNG.run(TestNG.java:1031)<br>at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)<br>at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:293)<br>at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:91)<br> at com.kinective.sapi.CustomerCreate.customerCreateNew(CustomerCreate.java:112) at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1232) ... 26 more Caused by: org.json.JSONException: Missing value at 122 [character 24 line 5] at org.json.JSONTokener.syntaxError(JSONTokener.java:501) at org.json.JSONTokener.nextValue(JSONTokener.java:451) at org.json.JSONObject.<init>(JSONObject.java:245) at org.json.JSONTokener.nextValue(JSONTokener.java:418) at org.json.JSONObject.<init>(JSONObject.java:245) at org.json.JSONObject.<init>(JSONObject.java:404) at com.kinective.sapi.CustomerCreate.changeTaxId(CustomerCreate.java:124) at com.kinective.sapi.CustomerCreate.customerCreateNew(CustomerCreate.java:93) ... 27 more |
1 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 |
| 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=, 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: Status code is matching correctly! (Expected : 200 Actual : 200 ) |
java.lang.Exception: Failed to Query the customer
at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1310)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: org.json.JSONException: A JSONObject text must begin with '{' at 0 [character 1 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java:501)
at org.json.JSONObject.<init>(JSONObject.java:208)
at org.json.JSONObject.<init>(JSONObject.java:404)
at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1248)
... 26 more
... Removed 25 stack framesjava.lang.Exception: Failed to Query the customer
at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1310)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.testng.TestRunner.privateRun(TestRunner.java:794)
at org.testng.TestRunner.run(TestRunner.java:596)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:377)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:371)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:332)
at org.testng.SuiteRunner.run(SuiteRunner.java:276)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1134)
at org.testng.TestNG.runSuites(TestNG.java:1063)
at org.testng.TestNG.run(TestNG.java:1031)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:293)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:91)
Caused by: org.json.JSONException: A JSONObject text must begin with '{' at 0 [character 1 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java:501)
at org.json.JSONObject.<init>(JSONObject.java:208)
at org.json.JSONObject.<init>(JSONObject.java:404)
at com.kinective.testscripts.Customer.CustomerTest.premierCoCreateCust_verifyBySearchCust(CustomerTest.java:1248)
... 26 more
|
6 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 |
| 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=#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: No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) |
4 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 | |
| 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: No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) #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: Field 'content[0].customerBase.residences[0].censusTractNumber' is present in Response Body Field 'content[0].customerBase.residences[0].postalExtension' is present in Response Body Field 'content[0].customerBase.residences[0].isForeign' has expected value 'false' No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) |
9 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 | |
| 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: 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 No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) |
4 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 | |
| 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: Field 'content[0].customerBase.residences[0].addressID' is present in Response Body Field 'content[0].customerBase.tinCertification' is present in Response Body No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) |
4 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 | |
| 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: No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) #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: Field 'content[0].customerBase.crmSmsa' is present in Response Body Field 'content[0].customerBase.phones[0].isPrimary' has expected value 'true' No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) |
23 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 | |
| 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: 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 No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) |
20 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 | |
| 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: 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 Field 'content[0].customerBase.residences[0].subType' has expected value 'Business' Array 'content[0].customerBase.residences' has expected size 2 No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) |
5 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 | |
| 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: Status code is matching correctly! (Expected : 200 Actual : 200 ) #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: Field 'statusCode' is present in Response Body Field 'statusMessage' is present in Response Body Field 'uuid' is present in Response Body Object in array 'content' with customerBase.residences[0].address1='9632 25 Hwy' has customerBase.residences[0].isPrimary='true' No empty objects found in JSON Status code is matching correctly! (Expected : 200 Actual : 200 ) |
11 | com.kinective.testscripts.Customer.CustomerTest@799f10e1 | |