Performance Testing using JMeter

Performance Testing using JMeter

Apache JMeter is an open source tool which analyzes and measure the performance of certain services, focuses mainly on web applications. It is purely a Java application created to load test functional behavior and evaluate performance.

Some Advantages of Apache JMeter

  • It is easily adaptable and can be learnt quickly
  • It can perform wide range of tasks i.e., from easy to advance
  • It is easily portable and platform independent
  • It is open source and supports various plugins

Major elements of JMeter

  1. Test Plan - All the things which are included in a test plan are executed in a sequence i.e., top to bottom or as per the defined sequence in the test plan. Test plan needs to be saved before running. JMeter files or test plans are saved in form of .JMX extension files by default
  2. Thread Group - It’s a group of users who will be hitting the server under test either at the same time or in some predefined sequence. Thread Group can be added by right clicking the Test Plan.
  3. Samplers - They are added essentially to a Test Plan as only they can let JMeter know which type of request is going to which server and can have any type of predefined parameter. Requests could be of any type such as HTTP, HTTP(s), FTP, TCP, SMTP, SOAP etc.
  4. Listeners - They provide the functionality to display the results of test execution so that testers can know the stats. There are about 5 listeners in JMeter but frequently used ones are table, tree, and Graph.
  5. Workbench - It’s a place where test elements are stored temporarily . When JMeter file is saved, the components which are present in workbench are not automatically saved.
  6. Assertions - They are used for validations which we need to put on responses so that the results can be compared. To ensure that the response received is correct and as per expectation, Assertions are added.
  7. Config Elements - Config elements are executed before the actual request to parametrize those requests which are being sent to the server. For ex-reading values of a variable from a CSV file for which CSV Data Set Config is used.
  8. Logic Controllers - They together with timers help JMeter to control the flow of transactions. Timers help to delay each thread if needed to test any server. For ex-if, FTP request needs to wait for 5 secs after HTTP request is completed; timer can be added there.

Sam Catherine

we need sanity in today's world.

2 年

What about testim using artificial intelligence to carry out test automation

回复
Sam Catherine

we need sanity in today's world.

2 年

Thanks for posting

要查看或添加评论,请登录

Jennifer Ugo的更多文章

  • Solutions and Innovations with AI

    Solutions and Innovations with AI

    As we all know or should all know, Artificial Intelligence (AI) is the most promising development for the future. I'm…

  • Performance Testing

    Performance Testing

    Performance Testing ensures that the software applications performs well under their expected workload. The goal of…

  • Non-functional Testing

    Non-functional Testing

    Basically, Non-Functional Testing is done to check and evaluate all the non-functional parameters which are not covered…

  • Software Test Environments

    Software Test Environments

    What is a Test Environment? Test Environment is basically a replica of actual production environment which is provided…

  • Software Testing: Bug Reporting

    Software Testing: Bug Reporting

    In software, a bug is an error, flaw, or fault in an application. This error causes the application to produce an…

  • Some Test Management Tools

    Some Test Management Tools

    Yesterday we talked about some Important Fields for Test Case Document. Here's a couple of tools we we can use for…

  • Test Management

    Test Management

    Test Management Process is basically a set of activities which covers the whole testing phase i.e.

  • Some Important Fields for Test Case Document: Explained

    Some Important Fields for Test Case Document: Explained

    While creating a Test Sheet or a Test Case, there are some important fields that must be added during the preparation:…

  • Test Case Writing Process and Test Data Generation

    Test Case Writing Process and Test Data Generation

    Let's start with; What is Test Data? This is documented Data that is basically used to test the software program. Test…

  • Software Test Estimation

    Software Test Estimation

    What do you understand about Software Test Estimation? Estimating test efforts is one of the most critical tasks in the…

社区洞察

其他会员也浏览了