---
title: How to run JMeter in Non GUI mode
description: How to run JMeter in Non GUI mode
image: https://blog.e-zest.com/hs-fs/file-3395401744-png/blog-files/running-jmeter-using-command-line.png
---

[![e-Zest logo\_An accion lab company\_Colour](https://blog.e-zest.com/hubfs/images/Logos%20with%20Tagline/Corporate/SVG/e-Zest%20logo_An%20accion%20lab%20company_Colour.svg "e-Zest logo_An accion lab company_Colour")](https://www.e-zest.com/)

- [WORK](https://www.e-zest.com/our-work)
- [SERVICES](https://www.e-zest.com/our-services) 
    - [Product Engineering](https://www.e-zest.com/digital-product-engineering-services)
    - [Enterprise Data Services](https://www.e-zest.com/enterprise-data-services)
    - [Digital Commerce](https://www.e-zest.com/digital-commerce-services)
    - [Digital Operations](https://www.e-zest.com/digital-operations)
    - [Digital Consulting](https://www.e-zest.com/digital-transformation-consulting-services)
    - [Digital Experience Design](https://www.e-zest.com/digital-experience-design)
- [INSIGHTS](https://blog.e-zest.com/)
- [CAREERS](https://www.e-zest.com/careers)
- [ENTERPRISE DATA SERVICES](https://www.e-zest.com/enterprise-data-services)
- [GENERATIVE AI](https://www.e-zest.com/generative-ai)
- [Healthcare](https://healthcare.e-zest.com)
- [Contact Us](https://www.e-zest.com/contact-us)

- ![Elevating Product Engineering with AI and ML](https://blog.e-zest.com/hubfs/Elevating%20Product%20Engineering%20with%20AI%20and%20ML.jpg)

  [BLOGS](https://blog.e-zest.com)
  
  #### Elevating Product Engineering with AI and ML

  As technology evolves and customer choices broaden, there is an increasing ...

  [Read more](https://blog.e-zest.com/elevating-product-engineering-with-ai-and-ml)
- ![e-Zest – An Accion Labs Company gets Recognition as a Contender in the ISG Provider Lens™ Study on Digital Engineering Services 2024](https://blog.e-zest.com/hubfs/e-Zest%20%E2%80%93%20An%20Accion%20Labs%20Company%20-%20Gets%20Recognition%20as%20a%20Contender%20in%20the%20ISG%20Provider%20LensTM%20Study%20on%20Digital%20Engineering%20Services%202024.jpg)

  [NEWS](https://blog.e-zest.com/news)
  
  #### e-Zest – An Accion Labs Company gets Recognition as a Contender in the ISG Provider Lens™ Study on Digital Engineering Services 2024

  We are delighted to announce that e-Zest – An Accion Labs Company has been ...

  [Read more](https://blog.e-zest.com/news/e-zest-an-accion-labs-company-gets-recognition-as-a-contender-in-the-isg-provider-lens-study-on-digital-engineering-services-2024)
- ![e-Zest Solutions supports Digital Pune Mission](https://blog.e-zest.com/hubfs/blog-files/Digital%20Literacy%20Bus%20e-Zest.png)

  [CSR](https://blog.e-zest.com/csr)
  
  #### e-Zest Solutions supports Digital Pune Mission

  **Pune, India:** e-Zest Solutions, a leading digital technology innovation ...

  [Read more](https://blog.e-zest.com/csr/e-zest-solutions-supports-digital-pune-mission)

- [Work](https://www.e-zest.com/our-work)
- [Services](https://www.e-zest.com/our-services)
- [Insights](https://blog.e-zest.com)
- [Careers](https://www.e-zest.com/careers)
- [Enterprise Data](https://www.e-zest.com/enterprise-data-services)
- [Generative AI](https://www.e-zest.com/generative-ai)
- [Innovations](https://www.e-zest.com/innovations)
- [Healthcare](https://healthcare.e-zest.com)
- [About](https://www.e-zest.com/about-us)
- [Contact](https://www.e-zest.com/contact-us)

- [Blog](https://blog.e-zest.com/)
- [News](https://blog.e-zest.com/news)
- [CSR](https://blog.e-zest.com/csr)

- [![Linkedin Icon](https://blog.e-zest.com/hubfs/icons/linkedin_icon_white.svg)](https://www.linkedin.com/company/e-zest-solutions/)
- [![Twitter Icon](https://blog.e-zest.com/hubfs/twitter-logo-silhouette%20(5).svg)](https://twitter.com/ezest)
- [![Facebook Icon](https://blog.e-zest.com/hubfs/facebook-app-logo%20(4).svg)](https://www.facebook.com/61259256638)
- [![Instagram Icon](https://blog.e-zest.com/hubfs/instagram-logo%20(4).svg)](https://www.instagram.com/ezestsolutions/)
- [![Youtube Icon](https://blog.e-zest.com/hubfs/icons/youtube_icon_white.svg)](https://www.youtube.com/user/ezestcorporate)

[![Go to top icon](https://blog.e-zest.com/hubfs/AA%20Assets/top%20button.svg)](https://blog.e-zest.com/how-to-run-jmeter-in-non-gui-mode/#top)

Hit enter to search or ESC to close

Insights

e-Zest members share technology ideas to foster digital transformation.

- [Blog](https://blog.e-zest.com)
- [News](https://blog.e-zest.com/news)
- [Podcasts](https://www.e-zest.com/podcasts)
- [Healthcare](https://blog.e-zest.com/healthcare)
- [CSR](https://blog.e-zest.com/csr)
- [Whitepaper](https://blog.e-zest.com/whitepaper)
- [Playbook](https://blog.e-zest.com/playbook)
- [Media Kit](https://www.e-zest.com/media-kit)

# How to run JMeter in Non GUI mode

[Kishore Bhamare](https://blog.e-zest.com/author/kishore-bhamare)  Feb 03, 2015

[JMeter in Non GUI mode](https://blog.e-zest.com/topic/jmeter-in-non-gui-mode) [JMeter](https://blog.e-zest.com/topic/jmeter) [Technology](https://blog.e-zest.com/topic/technology)

- <https://www.linkedin.com/shareArticle?mini=true&url=https://blog.e-zest.com/how-to-run-jmeter-in-non-gui-mode/&title=&summary=&source=>
- <https://twitter.com/intent/tweet?source=https://blog.e-zest.com/how-to-run-jmeter-in-non-gui-mode/&text=How%20to%20run%20JMeter%20in%20Non%20GUI%20mode>
- <https://www.facebook.com/sharer/sharer.php?u=https://blog.e-zest.com/how-to-run-jmeter-in-non-gui-mode/>
- <https://www.instagram.com/ezestsolutions/?u=https://blog.e-zest.com/how-to-run-jmeter-in-non-gui-mode/>

Apache JMeter is an open source testing tool. JMeter functions to analyze and measure the performance of web applications with a variety of other services. The GUI mode of JMeter is perfect for adding and editing new configuration elements, thread groups, and samplers as a result of which you can view a number of different listeners helping for debugging.

However, the GUI mode does have a limitation which slows down the CPU utilization while running the recorded script. If we are running multiple listeners in a script, it affects the JMeter performance. To overcome such a situation, the script should be run in the non-GUI mode. There is a benefit to drive more requests per second out of JMeter in non-GUI mode.

**Why to use JMeter in Non GUI/command line mode:**

- Increasing threads (after certain limit) due to which JMeter crashes in the GUI mode.
- For heavy test scenarios (ex: shopping application: login-view product-add to cart-view bill-remove product-pay bill) JMeter consumes memory and CPU and it may affect your test results.
- To increase JMeter capabilities, i.e. to get more requests per second.

**Running JMeter in command line mode:**

Running JMeter using command line in non-GUI mode is very simple.

1. Open command prompt
2. Go into JMeter’s bin folder
3. Enter following command, jmeter -n –t test.jmx -l testresults.jtl

![Running JMeter using command line](https://blog.e-zest.com/hs-fs/file-3395401744-png/blog-files/running-jmeter-using-command-line.png)

jmeter -n –t test.jmx -l testresults.jtl

-n: It specifies JMeter is to run in non-gui mode  
 -t: Name of JMX file that contains the Test Plan  
 -l: Name of JTL(JMeter text logs) file to log results  
 -j: Name of JMeter run log file

Other than these options, JMeter has several other parameters that can be used for running in the non-GUI mode.

-R: list of remote servers,

-H: proxy server hostname or ip address  
 -P: proxy server port

**View test result:**  
 Once your test is complete, you will see the following display:

![View test result](https://blog.e-zest.com/hs-fs/file-3395401754-png/blog-files/view-test-result.png)

After completing the test, a JTL file will be generated at jmeter2.12/bin folder

Follow below steps to view test results from the resultant JTL file.

- Open JMeter in GUI mode.
- Add any listener Eg. View Results Tree.
- Click Browse button of the file name field in listener.
- Open testresult.jtl file.
- You should be able to see the result in listener now.

Would love to address questions from the readers. Kindly post them in the comments section below.

- <https://twitter.com/intent/tweet?source=https://blog.e-zest.com/how-to-run-jmeter-in-non-gui-mode/&text=How%20to%20run%20JMeter%20in%20Non%20GUI%20mode>
- <https://www.facebook.com/sharer/sharer.php?u=https://blog.e-zest.com/how-to-run-jmeter-in-non-gui-mode/>
- <https://www.linkedin.com/shareArticle?mini=true&url=https://blog.e-zest.com/how-to-run-jmeter-in-non-gui-mode/&title=&summary=&source=>

### Similar Blog

[![How to Create Own Custom JMeter Template?](https://blog.e-zest.com/hubfs/How%20to%20Create%20Own%20Custom%20JMeter%20Template%201280x667%202560x1334.jpg) How to Create Own Custom JMeter Template? We frequently need to construct Test Plans with a similar format when working on web application performance testing using Apache ... By Kishore Bhamare Feb 28, 2023](https://blog.e-zest.com/how-to-create-own-custom-jmeter-template)

[How to simulate network bandwidth in JMeter? The rise of the smartphone and easy connectivity to the internet has made access to information easier with most of them ... By Kishore Bhamare Jan 07, 2019](https://blog.e-zest.com/how-to-simulate-network-bandwidth-in-jmeter)

[![How to read special characters from CSV in JMeter?](https://blog.e-zest.com/hubfs/blog-files/How%20to%20read%20special%20characters%20from%20CSV%20in%20JMeter.png) How to read special characters from CSV in JMeter? In performance testing, you may come across a scenario where you want to read data from CSV file and post that data in HTTP ... By Kishore Bhamare Nov 26, 2018](https://blog.e-zest.com/how-to-read-special-characters-from-csv-in-jmeter)

[![How to upload images in JMeter?](https://blog.e-zest.com/hubfs/blog-files/How%20to%20upload%20images%20in%20JMeter.png) How to upload images in JMeter? In performance testing scenarios, you might come up with image file uploading-downloading functionality in any web application. ... By Kishore Bhamare Nov 21, 2018](https://blog.e-zest.com/how-to-upload-images-in-jmeter)

[![What’s New in Apache JMeter 5.0?](https://blog.e-zest.com/hubfs/JMeter%205.0.png) What’s New in Apache JMeter 5.0? A new Apache JMeter version has been released today, September 21, 2018 - version 5.0 (Revision: r1841526). 5.0 version has many ... By Kishore Bhamare Sep 21, 2018](https://blog.e-zest.com/whats-new-in-apache-jmeter-5.0)

## Helping Organizations Thrive in the Digital Age

[Contact Us](https://www.e-zest.com/contact-us)

- [About](https://www.e-zest.com/about-us)
- [Services](https://www.e-zest.com/our-services)
- [Work](https://www.e-zest.com/our-work)
- [Insights](https://blog.e-zest.com/)
- [Healthcare](https://healthcare.e-zest.com/)
- [Accion Labs](https://www.accionlabs.com/)

- <https://www.linkedin.com/company/e-zest-solutions/>
- <https://twitter.com/ezest>
- <https://www.facebook.com/eZest/>
- <https://www.instagram.com/ezestsolutions/>
- <https://www.youtube.com/user/ezestcorporate>

- Dallas
- Detroit
- Hannover
- Vienna
- London
- Pune

 © 2025 e-Zest Solutions

- [Privacy Policy](https://www.e-zest.com/privacypolicy)
- [Cookie Policy](https://www.e-zest.com/cookie-policy)

 Contact us

 Contact us

e-Zest is a leading digital innovation partner for enterprises and technology companies that utilizes emerging technologies for creating engaging customers experiences. Being a customer-focused and technology-driven company, it always helps clients in crafting holistic business value for their software development efforts. It offers software development and consulting services for cloud computing, enterprise mobility, big data and analytics, user experience and digital commerce.