Test results
1 suite
com.kinective.testscripts.Customer.CustomerTest
symXchangeQueryCustomer ({EXPECTED MESSAGE=Successfully performed the customer search process, ERROR MESSAGE=, TEST SCENARIO=#TC46 Search for a customer., coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=symXchangeQueryCustomer, idList=, customerBase=, relatinshipInformation=, alienStatus=, VERIFY FIELDS=preferredContactMethod,addressLastVerify, customerSearchBody=, residences=, BODY={ "assetID": "symxchange_api_test", "content": { "taxID": "", "customerID": "0003700132" }, "uuid": "123" }, AUTHORIZATION=customerId:f2b4kBcTsJO3FqXGVF+imap2upqKmLC9bqpAROTbTxg=; customerSecret:pRQc7noNapzg561TJUtc9c46YYeeLzARlUHVuSsJ8XFQNHHQDN2k+K4LAsE9crqR69lknCDgo+Mr7CzdXbk9OQ==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;}) (#TC46, #TC47 Query Customers)
symXchangeQueryCustomer ({EXPECTED MESSAGE=Validation failed: cvc-length-valid, ERROR MESSAGE=, TEST SCENARIO=#TC47 Search for a Invalid/blank customer, coreSpecificFields=, EXPECTED STATUS=200, responseTimeSeconds=15, phones=, TEST ID=symXchangeQueryCustomer, idList=, customerBase=, relatinshipInformation=, alienStatus=, VERIFY FIELDS=, customerSearchBody=, residences=, BODY={ "assetID": "symxchange_api_test", "content": { "taxID": "", "customerID": "" }, "uuid": "123" }, AUTHORIZATION=customerId:f2b4kBcTsJO3FqXGVF+imap2upqKmLC9bqpAROTbTxg=; customerSecret:pRQc7noNapzg561TJUtc9c46YYeeLzARlUHVuSsJ8XFQNHHQDN2k+K4LAsE9crqR69lknCDgo+Mr7CzdXbk9OQ==; tokenUrl:https://auth.nxtsoft.com/oauth2/token; key:Th!sisOmn!;}) (#TC46, #TC47 Query Customers)
C:\Users\Monil Shah\Documents\qa-automation-standard-api\testxml\symXChange_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="STANDARDAPI"/>
  <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="symXchangeQueryCustomer"/>
        </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
Times for Rest Assured Api Suites
Total running time: 28 seconds
Reporter output for Rest Assured Api Suites
symXchangeQueryCustomer({EXPECTED MESSAGE=Successfully performed the customer search process, ERROR MESSAGE=, TEST SCENARIO=...)
#TC46 Search for a customer.
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 22143 milli second

preferredContactMethod Field is present in Response Body

addressLastVerify Field is present in Response Body

Status code is matching correctly! (Expected : 200 Actual : 200 )
 Message: Successfully performed the customer search process
 Customer search has been successful.
Content is : [{"branchNumber":"10","coreSpecificFields":{"accountType":"0","ssnType":"0","memberGroup":"0","w8OnFile":"0","openDate":"2019-08-24","usPerson":"1","warningCodes":[{"warningCode":"7","entryId":"1"},{"warningCode":"0","entryId":"2"},{"warningCode":"0","entryId":"3"},{"warningCode":"0","entryId":"4"},{"warningCode":"0","entryId":"5"},{"warningCode":"0","entryId":"6"},{"warningCode":"0","entryId":"7"},{"warningCode":"0","entryId":"8"},{"warningCode":"0","entryId":"9"},{"warningCode":"0","entryId":"10"},{"warningCode":"0","entryId":"11"},{"warningCode":"0","entryId":"12"},{"warningCode":"0","entryId":"13"},{"warningCode":"0","entryId":"14"},{"warningCode":"0","entryId":"15"},{"warningCode":"0","entryId":"16"},{"warningCode":"0","entryId":"17"},{"warningCode":"0","entryId":"18"},{"warningCode":"0","entryId":"19"},{"warningCode":"0","entryId":"20"}],"userAmount2":0,"userAmount1":0},"originatingBranch":"1","customerBase":{"customerType":"0","preferredContactMethod":"0","dob":"1962-11-15","taxID":"275999995","customerID":"0003700132","name":{"legalName":"JOE C SMITHERS JR","firstName":"JOE","lastName":"SMITHERS","middleName":"C","suffix":"JR"},"memberStatus":"0","phones":[{"number":"312-555-1234","phoneType":"Work"},{"number":"847-555-4321","phoneType":"Mobile"}],"employments":[{"occupation":"API DEV","phone":{"number":"312-555-1234"},"employerName":"NXTSOFT","salary":0},{},{}],"residences":[{"streetName":"70 OAK ST.","suite":"550","addressLastChanged":"2022-06-22","addressLastVerify":"2002-08-24","city":"CHICAGO","addressType":"0","postalCode":"60601","mailDirectoryCode":"0","state":"IL"}],"email":{"emailAddress":"tcplf@nxtsoft.com"}}}]
statusMessage is: Successfully performed the customer search process
statusFlag is: true
UUID is: 123
symXchangeQueryCustomer({EXPECTED MESSAGE=Validation failed: cvc-length-valid, ERROR MESSAGE=, TEST SCENARIO=#TC47 Search f...)
#TC47 Search for a Invalid/blank customer
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 2747 milli second
 No Fields found to be verified from the Response Body

Status code is matching correctly! (Expected : 200 Actual : 200 )
 Message: An exception occurred while processing customer search transaction: org.apache.cxf.binding.soap.SoapFault: [MessageId=ee36c312-34e3-4ab4-b01a-35cb77070e79] Validation failed: cvc-length-valid: Value '' with length = '0' is not facet-valid with respect to length '9' for type '#AnonType_SSNLookupBySSNRequest'.
 Customer search has been successful.
Content is : []
statusMessage is: An exception occurred while processing customer search transaction: org.apache.cxf.binding.soap.SoapFault: [MessageId=ee36c312-34e3-4ab4-b01a-35cb77070e79] Validation failed: cvc-length-valid: Value '' with length = '0' is not facet-valid with respect to length '9' for type '#AnonType_SSNLookupBySSNRequest'.
statusFlag is: true
UUID is: 123
25 ignored methods
com.kinective.testscripts.Customer.CustomerTest
jh2020CreateCustomer
corelationCreateCustomer
jh2020CreateNewCustomer
CreateCustomer_ForeignAddressDarkMatters
jh2020QueryCustomer
RelatioshipCreateCustToAcct
RelatioshipCreateCustToCust
jh2020CreateNewCustomerVerifyidList
CreateCustomer_SubTypeError
symXchangeRelatioshipSearch
jXchangeCreateCustomer
CreateCustomer_ForeignAddressCorrect
csiQueryCustomer
corelationQueryCustomer
jXchangeQueryCustomer
corelationRelatioshipSearch
corelationRelatioshipCreate
CreateCustomer_AddressNoZipExt
CreateCustomer_Error
jXchangeRelatioshipSearch
CreateCustomer_ForeignAddress
symXChangeCreateCustomer
CreateCustomer_AddressTypeError
CreateCustomer_AllElementsAddress
verifyResponseFieldsRelationShipSearch
Methods in chronological order
com.kinective.testscripts.Customer.CustomerTest
init(org.testng.TestRunner@51cab489) 0 ms
symXchangeQueryCustomer({EXPECTED MESSAGE=Successfully performed the customer search process, ERROR MESSAGE=, TEST SCENARIO=...) 11921 ms
symXchangeQueryCustomer({EXPECTED MESSAGE=Validation failed: cvc-length-valid, ERROR MESSAGE=, TEST SCENARIO=#TC47 Search f...) 36010 ms