Hi
I was hoping to get some direction or advice with regards to some trouble I'm having with trying to do some stress testing against a Web API for a client. It is a RESTful WEB API that I'm testing against. I've been creating a list of Tasks that run asynchronously that all call the WEB API but they take a very long time to execute and some just time out. I don't believe that it's throttling the service because I can still call the service in Fiddler on the same machine the test code is running on and it successfully calls the service while the asynchronous tasks are failing so it seems to be an issue with my testing code. Each task creates its own HttpClient and HttpRequestMessage.
Any advice would be appreciated.
โ05-23-2022 04:33 AM