What is Performance Testing
It is one of the testing processes that is used to determine whether the server in which the application got hosted is healthy in terms of handling the expected load and expected speed. When we talk about the web application when the user clicks on anything in the application a call will be made to the server and the server will send the requested details to the user. So it is required to check the server speed and its capability of handling load in various intervals.
Why Performance testing is important
Server health is very important in all types of applications because the final output of every business is to satisfy the customer. Even the front end of the application looks impressive users will expect speed of delivering their requested data. Many retail companies like Amazon will offer a sale for a period of time and on that time server needs to handle a large amount of load. So there is a need to analyze the speed, scalability, and Stability of the server.
In many companies, a small duration of downtime may cost more amount. Once the business move on to a certain range performance testing will be essential and places like distribution center it is required frequent testing on their servers
How to do performance testing
By using any performance testing tool various calls will be made to the server. From the server point of view, it will be like multiple users are interacting with the application. The performance monitoring tool will show all data about the speed and load of the calls made. Once all the calls are made we need to analyze the data to whether all values are below the accepted value.
Accepted value in the sense, the value that the server hold by the maximum. This is either set by the client or by running multiple times with different time ranges. This is a very thin outline about doing performance testing
Is it possible to do performance testing for desktop application
The straight forward answer is Yes.
There is a lot of application to do performance testing in web application but there is no tool for doing performance testing in the desktop application. But there is a way to get the data from the server using the performance monitor tool or any other tools like this.
A performance monitor is an inbuilt tool in windows application. To access this application click the Start button -> Performance monitor or CTRL + R -> Perfmon
This will collect all data from the server. We can able to set manual data collectors to get our desired values. To create a new data collector Data Collectors Set -> New -> Data Collector Set.
Once the collector is started it will collect data on your computer and the log was stored in the desired location.
There are various simulators that will perform actual use cases of their requirement and those simulators mostly offered by clients based on the business models. For example, let us take Distribution center servers. There are various servers used to handle data from the distribution center. First product come from warehouse, then check product details, Packing the products, Shipping tag attachment and then handed over to the delivery person. For all these processes there will be separate servers So we need to check server health for all the servers.
Provided simulator will perform all the above tasks on different servers. Testers will add multiple data collectors in the performance monitor of different servers. Before starting the execution, perfmon will be started and started getting the data. Once the execution got over performance monitor will be turned off. So that for the time of execution we can get the performance of all the servers.
After getting those results analysis will be started by comparing the expected with actual.
We will see about this in upcoming articles
Hope this will be helpful
Comments
Post a Comment