Advertisement Product description:Apache JMeter is a Java-based desktop application, which can be used for load testing to measure the performance of a system or used for stress testing to see if a system is crashed gracefully. It can generate reports to help eliminate bottlenecks of the system or to see how it performs under heavy loads. Other than load testing, you also can use JMeter in functional testing. JMeter provides a variety of test elements. They are quite handy and can save you time in writing your own Java programs for testing. Using JMeter is quite intuitive because it provides a nice GUI to create and run tests. You also can run JMeter tests in non-GUI mode. Tests can be run either locally or remotely. JMeter is designed using plugin approach to provide flexibility in adding new features (test elements) as custom plugins. BUILDING A JMETER TEST PLAN To use JMeter for testing, you can either load an existing test plan or create a new one. Basically, a test plan has a tree structure, which contains test elements describing how a test will run. Starting JMeter First, we need to start JMeter (JSE 6.0 or above is required). You can start JMeter from the command line by running jmeter.bat (for Windows) or jmeter.sh (for Unix/Linux) in the bin directory. To run JMeter in non-GUI mode, you can use the following command line options: -n non-GUI mode -t the test plan file (with extension name jmx) -l the result log file (with extension name jtl) -j the log file Adding test elements There are two panels on the screen of JMeter GUI. The left panel is the test tree for a test plan and the right panel is the configuration panel for the selected element. A new test plan starts with two elements: Test Plan and WorkBench. The Test Plan is the root of a test tree. The WorkBench is a temporary place for storing test elements not in use or non-test elements. The WorkBench is not saved with the test plan automatically. You can save it separately. MORE INFORMATION https://mindmajix.com/jmeter-tutorial CONTACT INFO 244 Fifth Avenue, Suite 1222 New York(NY) United States (US) - 10001 USA : +1 917 456 8403 info@mindmajix.com #811, 10th A Main, Suite No.506 1st Floor, Indira Nagar Bangalore, India - 560038 India : +91 905 240 3388 info@mindmajix.com |