Last post Feb 02, 2016 08:15 AM by Yohann Lu
Feb 01, 2016 10:35 AM|nideeshm|LINK
I have a web api service, which i wish to perform performance testing.
My webapi uses Dependency injection using castle windsor.
I used nunit framework to do the testing. As my jenkins server which does the build do not have visual studio, hence did not go for MS test. MS test by default comes up with some load test runner.
I wanted to do load / performance testing on the test project.
My webapi uses token based owin authorization, hence testing the webapi directly is bit tough through recorder or something.
I thought of testing the controller directly by calling the methods directly, by passing the need for authorization.
How can i do the performance test on my nunit project, as load test wizard is not picking up nunit test cases.
Feb 02, 2016 08:15 AM|Yohann Lu|LINK
According to your description, you want to do load/performance testing on NUnit project. I give you some information for your reference.
1: The following sample is accessible from MSDN'S code contains ASP.NET Web API application and NUnit test cases.
2: The following tutorial introduces performance benchmarks using NUnit Addin. You can refer it and build your NUnit test project.
Feel free to let me know if I have any misunderstanding.