Performance and Load Testing Web Applications
A clearly defined set of expectations is essential for meaningful performance testing. We can do performance testing based on following parameters :
1. Expected load in terms of concurrent users or HTTP connections
2. Acceptable response time
The performance testing is done by constantly increasing the load on the system while looking for bottlenecks. To start with we can take a black-box approach in running the load tests against the system under test. Tools such us "ab", "JMeter" etc can be used to simulate concurrent users/HTTP connections and measure response times. These test results are used in identifying performance issues. The performance issues can be due to various bottle necks and to pinpoint them we have to get into white box testing, where the system is inspected and monitored "from the inside out" and from a variety of angles. In Web applications, these bottlenecks can exist at multiple levels, and to pinpoint them we use a variety of tools:
Application level: At application level we use profilers to spot inefficiencies in the code (for example poor search algorithms)
Database Level: At the database level we use database-specific profilers and query optimizers
Operating System level: At OS level we use utilities such as top, vmstat, iostat etc to monitor hardware resources such as CPU, memory, swap, disk I/O; We also use munin And monit for overall Server Monitoring.
Network level: At network level we use packet sniffers such as tcpdump, network protocol analyzers such as ethereal, and various utilities such as netstat,ntop, etc..
How to Create A Screenshot On Mac OS?
Capture your screen (or part of it) on a Mac, using one of the following commands.
- Entire screen: Apple (Command) Key +Shift+3 Captures a picture of the entire desktop, which is saved on the desktop as a file called 'picture #'. This option lets you capture the whole screen. If you want just one window on your screen, you will have to edit the picture using image editing software (or use one of the other commands, instead).
- Partial screen: Apple (Command) Key +Shift+4 Allows you to use your mouse to select a specific part of your desktop for capture. When your mouse pointer turns into an "x", hold down the mouse button and drag to select the part of the screen you want. When you release the button, the screenshot will capture the selected part of the screen. Press Esc to release.
- Selected window: Apple (Command) Key +Shift+4 then press SpacebarAllows you to select which window to capture.
Setting up a virtual linux server in windows using VMWare
Running VMWare on a windows machine is straight forward.
Download VMWare Server from VMWare Website.
Install the downloaded installer into a system with adequate memory.
Once these steps are over we can get started with setting up a Linux virtual machine and learn how to create a snap shot of the same for future.
Lookout this space for the steps....
Download VMWare Server from VMWare Website.
Install the downloaded installer into a system with adequate memory.
Once these steps are over we can get started with setting up a Linux virtual machine and learn how to create a snap shot of the same for future.
Lookout this space for the steps....
Subscribe to:
Posts (Atom)