Monday 30 May 2016

jMeter-Performance Testing Tool

Introduction:

Apache JMeter is a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions. Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.

Features:

Apache JMeter features include:
  • Ability to load and performance test many different server/protocol types:
    • Web - HTTP, HTTPS
    • SOAP / REST
    • FTP
    • Database via JDBC
    • LDAP
    • Message-oriented middleware (MOM) via JMS
    • Mail - SMTP(S), POP3(S) and IMAP(S)
    • Native commands or shell scripts
    • TCP
  • Complete portability and 100% Java purity.
  • Full multithreading framework allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups.
  • Careful GUI design allows faster Test Plan building and debugging.
  • Caching and offline analysis/replaying of test results.
  • Highly Extensible core:
    • Pluggable Samplers allow unlimited testing capabilities.
    • Several load statistics may be chosen with pluggable timers.
    • Many advanced plugins are available to generate final report of jmeter.
Advantages & Disadvantages:

  1.  It’s easy to use and GUI are very user friendly, which helps in executing and recording application sessions.
  2.  It is open source. So, you can modify or change or add new features.
  3.  Apart from above two reasons, the excellent benefit is that it is free. So, no license cost.
  4.  It’s pure Java tool, which allows to execute this tool in any platform (i.e. platform independent)
  5. It’s have many configuration mechanism like Http Request, FTP Request, java request, SOAP Request etc.
  6. This tool mainly used for performance testing (load, stress)
  7. It’s used only for web based application not windows base application.
  8. If you are using it for a big project, then no guarantee of support or further enhancements.
Conclusion:
Need to test your web services, database, FTP- or web server? Both performance and functional testing? We can easily use JMeter. It is free, very intuitive and has all the possibilities you need to automate your work. Another big advantage of JMeter: open source tool.You can download the source and make modifications to it if you like. Also direct contact with the developers through a mailing list is very handy.

Jmeter Test:



Report:



 Graphical Report:

Tuesday 3 May 2016

About Author

In just the past two years, the software testing industry has changed drastically. I started this blog as a way for me to keep up. I found myself taking copious amounts of notes when I started interviewing for automated development positions, and I wanted a place to store them. A place to motivate me to keep on putting in the hours needed in order to research and study these new technologies.

About Me:

I'm Bharat Mane, born & brought up from a small village (Daribadchi) in Sangli District, Maharashtra-India. Currently, I'm working as a QA Lead and from past 4 years. I've been attempting to make the leap from manual to automated testing -- just like most software testers nowadays. I have completed my Bachelor of Engineering (BE) in E&TC from Nagpur University in 2013. As I had from E&TC background, so coding hasn't been a focal point of my career -- until now.
 I finally entered the field of Software Testing mainly in Automation development, writing automated tests for Web-based applications. As this is my first blog and in this, I'm trying to share with all of you that what I have been learning, what skills I have been picking up, how they do things with automation.

In last 3 years, I have learned & having working experience on number of tools in Automation Testing-
  • Selenium IDE
  • Selenium WebDriver
  • Selenium Grid
  • Apache Maven
  • BDD framework with Cucumber
  • Mobile Testing(Android & iOS)-Appium
  • AutoIT
  • TestNG
  • Sikuli
  • Log4j
  • Extent Reports in Selenium
  • SoapUI-API testing tool 
  • JMeter

I'm always trying to update with latest technologies & I still need to learn lots of technologies in Automation testing mostly in Selenium.

If you like my blog Feel free to like dropping me a line on-

FB: https://www.facebook.com/bharat.mane2 
LinkedIn: https://www.linkedin.com/in/bharat-mane-15396510b
GitHub: https://github.com/Bharat-Mane
Instagram: https://www.instagram.com/bharatmane2 
StackExchange: http://sqa.stackexchange.com/users/17411/bharat-mane

===========================================