Skip to main content

Posts

STF version 3.0

Version 3.0 of SeleniumTestsFramework (STF) is here.  The major features in this version are - m-site test on Android default and chrome browsers Android app test You can clone the sample project from git If you are new to STF then follow the STF Tutorials What next? support for ios app ? ;-) stay tuned.

Failed Captcha

Can you spot the defect ? ;-)

Performance Measurement commands for Unix

If you have been following my ongoing video tutorials on  jmeter performance testing  then you may have wondered what server side statistics should be gathered during performance testing. We have not yet looked in to specific statistics which we should gather for server side monitoring. In this post we would have a look at useful linux commands which can be used to gather several important performance statistics. We would use these commands in future performance testing tutorials to gather server side performance statistics. Most of the description of these commands is from command "man"ual. So lets begin -   top command and options vmstat command and options iostat command and options lsof command and options tcpdump command and options netstat command and options

netstat command and options

Back to performance measurement commands netstat (network statistics) - Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships Type the following command: $netstat Listening on all ports     $netstat -a OPTIONS -l, --listening        Show only listening sockets.  (These are omitted by default.)     $netstat -i

tcpdump command and options

Back to performance measurement commands tcpdump - dump traffic on a network. Tcpdump  prints  out a description of the contents of packets on a network interface that match the boolean expression. Type the following command: $tcpdump You need to interrupt the command else it would keep scrolling http://unix.stackexchange.com/questions/82919/what-does-the-eth0-interface-name-mean-in-linux OPTIONS -i interface --interface=interface Listen on interface.  If unspecified, tcpdump searches the system interface list for the lowest numbered,  configured  up  interface (excluding loopback), which may turn out to be, for example, ``eth0''.     $tcpdump -i eth0 -c count               Exit after receiving count packets. $tcpdump -c 30 -i eth0         -D --list-interfaces, prints  the list of the network interfaces avai...

lsof command and options

Back to performance measurement commands lsof - list open files. An  open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream or a network file (Internet socket, NFS file or UNIX domain socket.)  A specific file or all the files in a file system may be selected by path. Given that this command identifies which files are being used, this information can be used when disk can not be unmounted due to files being used or opened. Type the following command: $lsof     Herein - FD – stands for File descriptor and may have some of the values as: cwd current working directory rtd root directory txt program text (code and data) mem memory-mapped file Also in FD column numbers like 41u is actual file descriptor and followed by u,r,w of it’s mode as: r for read access. w for write access. u for read and write access. TYPE – of files and it’s ident...