Wednesday 28 September 2011

Performance Testing API(s)





Functional Performance Testing - Single user access API over a period of time and captures response time during each attempt. Average response time during the time period is taken as baseline for rest of the tests.

Load Testing - Web API(s) is loaded with certain number of users to achieve targeted TPS (Transactions per sec). Typically this test is done after establishing a baseline for each transaction, and finally load testing the entire group of transactions.

Stress Testing - Users are ramped up until a failure occurs. This helps us identify breaking point of the application and to establish margin between expected traffic and failure point.

Soak (Endurance) Testing - API(s) are subjected to typical user load over a extended time with occasional spikes. The intend here is to identify problems that may occur only after a extended uptime.

Scalability TestingAPI(s) are subjected to varying user load over a period of time. The intend here is to identify the optimum user load. Here users are being varied. Scalability test can be performed even by varying any system configuration or hardware.

No comments:

Post a Comment