Web Api load testing.

51 views
Skip to first unread message

Anand Nooli

unread,
Mar 26, 2018, 3:46:12 AM3/26/18
to API Craft
Hi All,


I am looking for some patterns that needed to be followed to facilitate Load & Stress testing in Web Api . Please help.

Some of the thoughts or questions I have are.

1) Should we use Constant Throughput based load or Concurrent Virtual users based load
2) How to define the number of test agents to use for generating the load.
3) If I wanted to do the load testing on production what the patterns to use in service code.
         a. Should we call the third party dependent services for test requests or mock the data.
         b. Using test headers is a way to identify request with test context (Fried from testing)
         c. Should we use a separate storage and queues for test request to avoid data corruption of actual production, to recover quickly from unknown issues  on actual prod storage accounts due to huge load from load tests, to have code hardening.
  
Thanks,
Anand.

Reply all
Reply to author
Forward
0 new messages