I need some advice on how to go about doing this.
I have an IIS server that has two asp mvc website applications (desktop and mobile). There is also a web service \ rest api that this website application exposes.
This web application also is a consumer of an external rest api.
As long as this iis server is running, I would like to capture all rest api requests\responses that are initiated by our web application to an outside rest api. The idea being that I would like to dump all these requests\responses somewhere(ideally as csv format so that I can import them into a database) and do some data analysis.
The data analysis is to
1. I want to make sure every rest api request has certain parameters (i.e not blank, 6 digits, etc...).
2. make sure there is a 1 to 1 correspondence for a certain # of rows in a table in our application db with certain calls to the rest api.
etc....
I'm thinking of running fiddler as a service so that captures are always occurring using this reference (http://fiddler.wikidot.com/runasservice)
then use this reference (http://stackoverflow.com/questions/18066687/dumping-fiddler-sessions-automatically) to auto dump all web requests and responses into csv file. I can get by in c#.
Is there a better way to do what I want to achieve?
I have an IIS server that has two asp mvc website applications (desktop and mobile). There is also a web service \ rest api that this website application exposes.
This web application also is a consumer of an external rest api.
As long as this iis server is running, I would like to capture all rest api requests\responses that are initiated by our web application to an outside rest api. The idea being that I would like to dump all these requests\responses somewhere(ideally as csv format so that I can import them into a database) and do some data analysis.
The data analysis is to
1. I want to make sure every rest api request has certain parameters (i.e not blank, 6 digits, etc...).
2. make sure there is a 1 to 1 correspondence for a certain # of rows in a table in our application db with certain calls to the rest api.
etc....
I'm thinking of running fiddler as a service so that captures are always occurring using this reference (http://fiddler.wikidot.com/runasservice)
then use this reference (http://stackoverflow.com/questions/18066687/dumping-fiddler-sessions-automatically) to auto dump all web requests and responses into csv file. I can get by in c#.
Is there a better way to do what I want to achieve?