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.
- 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
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
we need sanity in today's world.
2 年What about testim using artificial intelligence to carry out test automation
we need sanity in today's world.
2 年Thanks for posting