com.kinective.testscripts.Customer.CustomerTest
premierCoRelatioshipSearch
({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC169 Search for a relatioship using customerID, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=content[0].accountRelationshipStatus.relationshipStatusCode, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"accountType": "LOAN",
"customerID": "3242098"
},
"uuid": "string"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=content[0].relatedToCustomerInformation.relatedToCustomerID:3242098,content[0].accountInformation.accountType:LOAN})
java.lang.AssertionError: content[0].accountRelationshipStatus.relationshipStatusCode Field is not present in Response Body
at com.generics.utils.Log.fail(Log.java:596)
at com.generics.utils.Utils.verifyFieldPresent(Utils.java:751)
at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:83)
at com.kinective.sapi.CustomerRelationshipSearch.customerRelationshipSearch(CustomerRelationshipSearch.java:49)
at com.kinective.testscripts.Customer.CustomerTest.premierCoRelatioshipSearch(CustomerTest.java:1378)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
... Removed 26 stack frames
(#TC166 Search for a newly created relationship)
premierCoRelatioshipSearch
({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC166 Search for a newly created relationship [PreReq: #TC160], coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"customerID": "3321741",
"beneficialOwnerRequest": "Y"
},
"uuid": "314636"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=})
java.lang.AssertionError: Something went Wrong. Status Message : ,GetBeneficialOwnerApi - Status: Error: GetBeneficialOwner - Status: Error - No Records Match Selection Criteria
at com.generics.utils.Log.fail(Log.java:596)
at com.generics.utils.WebserviceTestBaseClass.verifyStatusMessage(WebserviceTestBaseClass.java:88)
at com.kinective.testscripts.Customer.CustomerTest.premierCoRelatioshipSearch(CustomerTest.java:1387)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
... Removed 26 stack frames
(#TC166 Search for a newly created relationship)
com.kinective.testscripts.Customer.CustomerTest
premierCoRelatioshipSearch
({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - Status: Success,GetPartyToPartyRelationshipApi - Status: Error: GetPartyToPartyRelationship - Status: Error - No Records Match Selection Criteria, ERROR MESSAGE=, TEST SCENARIO=#TC171 Search for relationship with multiple parameters and verify response and assert error in statusMessage, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"accountType": "LOAN",
"includeCustomerInformation": true,
"taxID": "503123488",
"customerID": "3242098",
"coreSpecificFields": {
"accountNumber": "1082108810"
}
},
"uuid": "string"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=content[0].accountInformation.accountNumber:1082108810})
(#TC166 Search for a newly created relationship)
premierCoRelatioshipSearch
({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Error - No Records Match Selection Criteria, ERROR MESSAGE=, TEST SCENARIO=#TC170 Search for relationship with CustomerID and beneficialOwnerRequest:"Y" when beneficial owner is not found, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusCode,uuid, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"customerID": "3242098",
"beneficialOwnerRequest": "Y"
},
"uuid": "314636"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=statusFlag:false})
(#TC166 Search for a newly created relationship)
premierCoRelatioshipSearch
({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyToPartyRelationshipApi - Status: Error: GetPartyToPartyRelationship - Status: Error - No Records Match Selection Criteria,GetBeneficialOwnerApi - Status: Error: GetBeneficialOwner - Status: Error - No Records Match Selection Criteria, ERROR MESSAGE=, TEST SCENARIO=#TC172 Search for relationship with CustomerID and includeCustomerInformation:true when no data is returned, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=statusMessage,statusFlag, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"accountType": "LOAN",
"includeCustomerInformation": true,
"customerID": "3242098",
"beneficialOwnerRequest": "Y"
},
"uuid": "string"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=})
(#TC166 Search for a newly created relationship)
premierCoRelatioshipSearch
({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC168 Search for a relationship using taxID- [KP-684], coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"accountType": "LOAN",
"taxID": "503123488"
},
"uuid": "string"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=})
(#TC166 Search for a newly created relationship)
premierCoRelatioshipSearch
({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, TEST SCENARIO=#TC167 Search for a relationship with account number, verify that the same account number is present in response, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=, phones=, TEST ID=premierCoRelatioshipSearch, idList=, VERIFY ARRAY SIZE=, VERIFY NO EMPTY OBJECTS=, customerBase=, relatinshipInformation=, alienStatus=, assetID=Kinective_PremierCO_API_Sandbox, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={
"assetID": "{{assetID}}",
"content": {
"accountType": "LOAN",
"coreSpecificFields": {
"accountNumber": "1082108810"
}
},
"uuid": "string"
}, AUTHORIZATION=customerId:HlWgdjnvRm3Sh55L6DeRiDw930i1LSEDn8MCZ6o/NuU=;
customerSecret:urQ7XxEj1oN/Afp/TCcqRtg4sDzhcDFIUsWa9jcHM1Xt19XaTO7mJISknkI+Y8JXKbdzuMOxeJtNZXrHFSpXFg==;
tokenUrl:https://auth.nxtsoft.com/oauth2/token;
key:Th!sisOmn!;, VERIFY VALUES=content[0].accountInformation.accountNumber:1082108810})
(#TC166 Search for a newly created relationship)
C:\Users\Monil Shah\Documents\qa-automation-standard-api\testxml\premierCo_test.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Rest Assured Api Suites" guice-stage="DEVELOPMENT">
<parameter name="projectKey" value="KP"/>
<parameter name="environment" value="test"/>
<parameter name="version" value="v1"/>
<test thread-count="1" name="Rest Assured">
<classes>
<class name="com.kinective.testscripts.Customer.CustomerTest">
<methods>
<include name="premierCoRelatioshipSearch"/>
</methods>
</class> <!-- com.kinective.testscripts.Customer.CustomerTest -->
</classes>
</test> <!-- Rest Assured -->
</suite> <!-- Rest Assured Api Suites -->
Tests for Rest Assured Api Suites
- Rest Assured (1 class)
Groups for Rest Assured Api Suites
premierCo
premierCoRelatioshipSearch
premierCoCustomer
premierCoRelatioshipSearch
premierCoRelationshipSearch
premierCoRelatioshipSearch
Times for Rest Assured Api Suites
Total running time: 46 seconds
Reporter output for Rest Assured Api Suites
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - ...)
Status code is matching correctly! (Expected : 200 Actual : 200 )
#TC171 Search for relationship with multiple parameters and verify response and assert error in statusMessage
Steps:
Status code is matching correctly! (Expected : 200 Actual : 200 )
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Error - No Records Match ...)
statusCode Field is present in Response Body
uuid Field is present in Response Body
Status code is matching correctly! (Expected : 200 Actual : 200 )
#TC170 Search for relationship with CustomerID and beneficialOwnerRequest:"Y" when beneficial owner is not found
Steps:
statusCode Field is present in Response Body
uuid Field is present in Response Body
Status code is matching correctly! (Expected : 200 Actual : 200 )
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyToPartyRelationshipApi - ...)
statusMessage Field is present in Response Body
statusFlag Field is present in Response Body
Status code is matching correctly! (Expected : 200 Actual : 200 )
#TC172 Search for relationship with CustomerID and includeCustomerInformation:true when no data is returned
Steps:
statusMessage Field is present in Response Body
statusFlag Field is present in Response Body
Status code is matching correctly! (Expected : 200 Actual : 200 )
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - ...)
Status code is matching correctly! (Expected : 200 Actual : 200 )
#TC168 Search for a relationship using taxID- [KP-684]
Steps:
Status code is matching correctly! (Expected : 200 Actual : 200 )
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
Status code is matching correctly! (Expected : 200 Actual : 200 )
#TC167 Search for a relationship with account number, verify that the same account number is present in response
Steps:
Status code is matching correctly! (Expected : 200 Actual : 200 )
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - ...)
content[0].accountRelationshipStatus.relationshipStatusCode Field is not present in Response Body
#TC169 Search for a relatioship using customerID
Steps:
content[0].accountRelationshipStatus.relationshipStatusCode Field is not present in Response Body
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
Status code is matching correctly! (Expected : 200 Actual : 200 )
Something went Wrong. Status Message : ,GetBeneficialOwnerApi - Status: Error: GetBeneficialOwner - Status: Error - No Records Match Selection Criteria
#TC166 Search for a newly created relationship [PreReq: #TC160]
Steps:
Status code is matching correctly! (Expected : 200 Actual : 200 )
Something went Wrong. Status Message : ,GetBeneficialOwnerApi - Status: Error: GetBeneficialOwner - Status: Error - No Records Match Selection Criteria
36 ignored methods
com.kinective.testscripts.Customer.CustomerTest
jh2020CreateCustomer
corelationCreateCustomer
jh2020CreateNewCustomer
symXchangeQueryCustomer
CreateCustomer_ForeignAddressDarkMatters
csiMeridianCreateCustomer_Pers_OnlyCurrentNoForeign
jh2020QueryCustomer
RelatioshipCreateCustToAcct
csiMeridianQueryCustomerByTaxID
RelatioshipCreateCustToCust
csiMeridianQueryCustomerByCustID
jh2020CreateNewCustomerVerifyidList
CreateCustomer_SubTypeError
symXchangeRelatioshipSearch
jXchangeCreateCustomer
CreateCustomer_ForeignAddressCorrect
csiQueryCustomer
corelationQueryCustomer
jXchangeQueryCustomer
corelationRelatioshipSearch
corelationRelatioshipCreate
csiMeridianCreateCustomer_ExistingTaxId
csiMeridianQueryCustomerByGuid
CreateCustomer_AddressNoZipExt
CreateCustomer_Error
jXchangeRelatioshipSearch
premierCoRelatioshipCreate
premierCoQueryCustomer
CreateCustomer_ForeignAddress
symXChangeCreateCustomer
csiMeridianCreateCustomer_Bus_IRSCurrentMailingForeign
CreateCustomer_AddressTypeError
csiMeridianRelatioshipSearch
premierCoCreateCust_verifyBySearchCust
CreateCustomer_AllElementsAddress
verifyResponseFieldsRelationShipSearch
corelationCreateCustomer
jh2020CreateNewCustomer
symXchangeQueryCustomer
CreateCustomer_ForeignAddressDarkMatters
csiMeridianCreateCustomer_Pers_OnlyCurrentNoForeign
jh2020QueryCustomer
RelatioshipCreateCustToAcct
csiMeridianQueryCustomerByTaxID
RelatioshipCreateCustToCust
csiMeridianQueryCustomerByCustID
jh2020CreateNewCustomerVerifyidList
CreateCustomer_SubTypeError
symXchangeRelatioshipSearch
jXchangeCreateCustomer
CreateCustomer_ForeignAddressCorrect
csiQueryCustomer
corelationQueryCustomer
jXchangeQueryCustomer
corelationRelatioshipSearch
corelationRelatioshipCreate
csiMeridianCreateCustomer_ExistingTaxId
csiMeridianQueryCustomerByGuid
CreateCustomer_AddressNoZipExt
CreateCustomer_Error
jXchangeRelatioshipSearch
premierCoRelatioshipCreate
premierCoQueryCustomer
CreateCustomer_ForeignAddress
symXChangeCreateCustomer
csiMeridianCreateCustomer_Bus_IRSCurrentMailingForeign
CreateCustomer_AddressTypeError
csiMeridianRelatioshipSearch
premierCoCreateCust_verifyBySearchCust
CreateCustomer_AllElementsAddress
verifyResponseFieldsRelationShipSearch
Methods in chronological order
com.kinective.testscripts.Customer.CustomerTest
init(org.testng.TestRunner@35d60381)
0 ms
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
617 ms
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Success, ERROR MESSAGE=, ...)
12660 ms
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - ...)
17646 ms
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - ...)
22988 ms
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=Status: Error - No Records Match ...)
28388 ms
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyAccountRelationshipApi - ...)
33141 ms
premierCoRelatioshipSearch({VERIFY OBJECT IN ARRAY=, VERIFY ARRAY CONTAINS=, EXPECTED MESSAGE=GetPartyToPartyRelationshipApi - ...)
40179 ms