After a long discussion in Codeception: Part 1: What is Codeception? Part 2: How to install Codeception? Part 2: Get started with Codeception The main purpose of writing these blogs is to describe, how we perform Automation testing through Codeception with Acceptance, functional and unit testing in create ticket panel in UVdesk. Nowadays JMeter in terms of performance testing has become a hot topic for discussion for load testing or for any web application, it detects load handling capacity of any website. Now what is load testing ?and why we use it? Load testing means a load test is a type of Software Testing which is conducted to understand the behavior of the application under a specific expected load. like the example, if the number of users is increased then how much CPU and memory will be consumed, what is the network and bandwidth and response time. All performance of web server or any application handle by JMeter tool so this is a very important tool that we use in term of testing. Performance testing in web application means, when a server is under load it is handling a various number of the user request and our logic code of application work hard to handle that request as well. Then JMeter detects whether our web application working fine or not, because due to multiple requests if our site slows down then it offers a bad experience in users. So it detects load handling capacity of the web application. Therefore, it is important to carefully choose your load testing tools. JMeter is the most popular open-source load and performance testing tool. Open-source and JAVA-based, JMeter is Open-source because it is software with source code that anyone can inspect, modify, and enhance. “Source code” is the part of the software that most computer users don’t ever see; it’s the code that computer programmers can manipulate to change how a piece of software—a “program” or “application”—works. Below is an example of showing how JMeter works: Suppose one website hit by multiple users like 100 users so means we have 100 users and a 100 second Ramp-Up period, then the delay between starting users would be 1 second (100 users /100 seconds) so all these tasks will handle by JMeter and it shows us all data related to 100 users that how much time took for these users and What is interval time between one user and other user and it shows data in form of graph as well, So it is very easy to understand the data. Website is www.uvdesk.com and Number of users are 100 as Given in below diagram: Here below is my website data related to Number of Threads are present: In this diagram, i have all 100 users (Thread user) data present with HTTP Request and sample time and status done. JMeter Advantages and Tips : It is free. Easy to install and use. Compared to other load and performance testing tools, it is not only for a web application but also for other servers or objects in Testing. We use it for many applications. Test results can be shown in different formats i.e view results in tables and view result in a graph. Highly extensible Steps to Install JMeter : Step 1) Install Java Because JMeter is pure java desktop application, it requires a fully compliant JVM 6 or higher. So install java in your system before getting started with JMeter, you can download and install the latest version of Java SE Development Kit. After installation of java in your system, you can check on your terminal by Running command java -version, by this command check whether Java JDK is installed successfully on your system If java runtime environment is installed successfully, you will see the output as the figure below: If nothing display that means java does not installed in your system. Step 2) Download Jmeter Here I mention the version of JMeter is Apache JMeter 3.2.You can download it here Choose the Binaries file (either zip or tgz) to download as shown in figure below Step 3) Installation Installation of JMeter is extremely easy and simple. You simply unzip the zip/tar file into the directory where you want JMeter to be installed. There is no difficulty in installation screen to deal with! Simply unzip and you are done! Once the unzipping is done installation directory look like as mention below: Jmeter directory contains many files: /bin: Contains JMeter script file for starting JMeter. /docs: Contains JMeter documentation files. /extras: Contains ant related extra files. /lib/: Contains the required Java library for JMeter. /lib/ext: contains the core jar files for JMeter and the protocols. /lib/junit: Junit library used for JMeter. Now JMeter is installed in Your system. Step 4) Launch JMeter Go to your apache-JMeter-2.9 -> bin -> run JMeter.bat file and then JMeter open on your system like: Tag(s) Java Junit load test Performance