How to get success count, failure count and failure reason when testing rest webservices in c#
i'm working with rest api and i have a query
count the number of times success runs, failure runs and if code fails then send a email.