Skip to main content

Key performance metrics to monitor

 In performance testing, various key metrics are measured to evaluate the behavior and effectiveness of a system under different loads. The selection of specific metrics may vary depending on the type of application and its intended use. Here are some commonly used performance metrics:

  1. Response Time: The time taken for the system to respond to a user request. It includes the server processing time, network latency, and client-side rendering time.

  2. Throughput: The number of transactions or requests processed by the system within a given time frame. It indicates the system's capacity to handle concurrent user requests.

  3. Concurrent Users: The number of simultaneous users or connections the system can support without significant degradation in performance.

  4. Error Rate: The percentage of failed or erroneous transactions or requests compared to the total number of transactions. It helps identify system stability and reliability.

  5. CPU Usage: The percentage of CPU resources utilized by the system during performance testing. High CPU usage may indicate performance bottlenecks.

  6. Memory Usage: The amount of memory consumed by the system under different load conditions. Excessive memory usage can lead to performance issues.

  7. Network Latency: The time taken for data to travel between the client and server over the network. High latency can impact response time and overall system performance.

  8. Database Performance: Metrics such as database query response time, transaction throughput, and database server resource utilization.

  9. Page Load Time: The time taken to load a complete web page, including all its resources (e.g., HTML, CSS, JavaScript, images). It is crucial for web applications and impacts user experience.

  10. Scalability: The system's ability to handle increased loads by adding more resources (e.g., servers, nodes) without a significant performance drop.

  11. Peak Load Capacity: The maximum number of users or transactions the system can handle before it reaches its limit.

  12. Stress Threshold: The maximum load or stress level the system can sustain without causing critical failures or crashes.

These metrics help identify performance bottlenecks, measure system efficiency, and determine whether the system meets performance goals and requirements. It's important to define relevant metrics based on your application's specific characteristics and user expectations.

Comments

Popular posts from this blog

Pacing Time in LoadRunner

What is Pacing? Where and why to use it? -Pacing is the time which will hold/pause the script before it goes to next iteration. i.e Once the   Action   iteration is completed the script will wait for the specific time(pacing time) before it starts the next one. It works between two actions. eg, if we record a script there will be three default actions generated by the Load Runner:   vuser_init, Action   and   vuser_end,   the pacing will work after the   Action   block and hold the script before it goes to repeat it. The default blocks generated by LoadRunner is shown below: Actions marked in Red Now we know what is pacing and we use it between two iteration. The next question comes to mind is why we use pacing: Pacing is used to: To control the number of TPS generated by an user. To control number of hits on a application under test.     Types of Pacing: There are three options to control the pacing in a script: General Pacing:    1. As soon

Error handling using Text Check

Error handling using if else condition. web_reg_find("Search=All",                      "Text/IC=Home Page",                      "SaveCount=home_count",                       LAST); //then after login block paste this code: if (atoi(lr_eval_string("{home_count}")) > 0)                 {                       lr_output_message("Log on Successful");                 }     else               {                     lr_output_message("Log on failed for the Login ID: %s", lr_eval_string("{pUserName}"));                     lr_exit( LR_EXIT_ACTION_AND_CONTINUE,LR_FAIL );                }

String Comparison in Loadrunner script

How to compare a string in Loadrunner script? -There are various methods to compare a string, in below example we have used "strcmp" to compare two values. We have captured a string in "pComparisonString" parameter and comparing it with ABC. Lets say if you have captured some string using correlation and want to compare if the captured string meets the condition then only pass the transactions else fail the transaction: if (strcmp(lr_eval_string("{pComparisonString}"),"ABC") == 0) { lr_output_message("The parameter value is %s", lr_eval_string("{pComparisonString}")); lr_end_transaction("Transaction_Failed",LR_FAIL); } else { lr_error_message("No parameter value captured."); lr_end_transaction("Transaction_Passed",LR_PASS); } -------------------------------------------------------- strcmp- String comparison function. pComparisonString- String which we have captured for compar