Friday, 13 January 2017

JMeter Experty

Jmeter use for performance Testing of Web Services or Web application. Is an Open Source testing software. It is 100% pure Java application for load and performance testing. jMeter is designed to cover categories of tests like load, functional, performance, regression, etc. 



I am sharing this document which is designed for Software Professionals, who are willing to learn jMeter Framework in simple and easy steps. This doc will give you great understanding on jMeter Framework concepts, and after completing this tutorial, you will be at intermediate level of expertise from where you can take yourself to higher level of expertise. first let's download the jmeter in any linux machine.


Jmeter installtion Steps

====================================== Jmeter ===========
1) wget -c http://archive.apache.org/dist/jakarta/jmeter/binaries/jakarta-jmeter-2.3.4.tgz

2) Download Binary 2.3.4.zip . The zip file name will be “jakarta-jmeter-2.3.4″
3) Unzip “jakarta-jmeter-2.3.4″
4) New folder with name “jakarta-jmeter-2.3.4″ will be created
5) Go to command prompt
6) go to “jakarta-jmeter-2.3.4″ folder (cd jakarta-jmeter-2.3.4)
7) go to “bin” folder (cd bin)
8) Now you are in bin folder (i.e jakarta-jmeter-2.3.4/bin/)
9) type the command “sh jmeter.sh”


1. I  run jmeter.sh file then I got following screen-


2. Right click on Test Plan –Add – Thread(User)--ThreadGroup.



3. Enter the no. of threads equal to no. of user to hit the web site .
Ramp-up period should be zero(0), since user can simultaneously access the site
Loop Count =1 (each user run the scripts only once)



4. Right click on Test Plan—Add--Config Element—HTTP Cache Manager
select both -clear cache each iteration? And  use cache-control/Expires header when processing Get requests


5. Right click on Test Plan
1. Add- Config Element—HTTP Cookie  Manager
2. Select -Clear cookies each iteration.

8. Finally Go to your Jmeter-sites are added in the Thread group and run the jmeter watch summary report.


The summary report shows values about the measurement Jmeter has done while calling the same page as if many users are calling the page. It gives the result in tabular format which you can save as .csv file.
These are some main headings in the summary result listener. Lets understand them in detail: Label, Samples, Average, Max, Min, Std.Dev, Error%, Throughput, KB/Sec, Avg.Bytes.

GitList

GitHub is a great solution for code collaboration and repository management, but some individuals and companies don’t feel secure hosting their code in the cloud and instead prefer to maintain an intranet.


Descriptions and Features:
1.       Gitlist provides a web interface to Git repositories. Its features include:
2.       Viewing multiple Git repositories with common root.
3.       Browsing every revision of the repository.
4.       Viewing the contents of files in the repository at any revision.
5.       Viewing the revision log of branches, history of files and directories, see what was changed when, by who.
6.       Viewing the blame/annotation details of any file (if enabled).
7.       Generating RSS and Atom feeds of commits, for any branch. The feeds are auto-discoverable in modern web browsers.
8.       Viewing everything that was changed in a revision, and step through revisions one at a time, viewing the history of the repository.
9.       Finding commits which commit messages matches given search term.

Configuration
#yum install php git httpd

Cd /var/www/html
git clone git://github.com/klaussilveira/gitlist.git gitlist
cd gitlist
mkdir cache
chmod 777 cache
Now go to http://localhost/gitlist and check it out.
Usually it’s says page not found.
For that you need to create a virtual host file in apache and with rewrite rule enable options. Below I am showing you the apache file.
cat /etc/httpd/conf.d/gitlist.conf
Alias       /gitlist    /var/www/html/gitlist
<Directory "/var/www/html/gitlist">
    AllowOverride All
      order allow,deny
       Allow from all
       Options -MultiViews
        DirectoryIndex index.php
        RewriteEngine On
 </Directory>
------------------------------------------

Make sure AllowOverride option from None to All. Save your changes and restart Apache.

About Me.

A result oriented professional with 9 Years of experience in IT Operations and I am an Opensource Enthusiasts. I would like to use my education and expertise in a development team working on challenging projects, anywhere from scientific or financial computation-heavy software to industrial hard real-time applications.
managing server infrastructures and data-center operations across Multiple platforms. Effectively plan, install, configure and optimize the IT infrastructure to consistently achieve high availability and performance.
Proven ability to create and deliver solutions tied to business growth, organizational development, and systems/network optimization.
Skilled problem identifier and troubleshooter comfortable managing systems, projects and teams in a range of IT environments.
Architect fault tolerant and highly available data center for India’s Largest transaction system IRCTC, the setup currently serving 300+ tps and had handle around 1500+ server cross data center.