Skip to main content

JMeter Interview Questions

Displaying 1 - 10 of 51

Can we use Selenium Grid with JMeter for Performance testing?

Yes its possible. You need to install Selenium/Webdriver Support plugin.

Also add, Logic Controller -> jp@gc-Remote Driver Config, Simple Controller and Sampler -> jp@gc WebDriver Sample.

In Remote Driver Config and write your selenium grid URL. You should change to your real existing selenium grid server IP/url. Change capability to Chrome. If you want to use different browser, you must reRegister node to Grid Hub with different settings.

What is the difference between Interleave and Random controller in JMeter?

Interleave Controller: Interleave Controller will select only one samplers/requests stored in it, to run in each loop of the thread. It will execute the samplers sequentially.

Interleave Controller will make one of samplers contained in it run in each loop of the thread and but the samplers in each loop will be in sequential order. If you add Generative or Logic Controllers to an Interleave Controller, JMeter will alternate among each of the other controllers for each loop iteration. Add interleave controller to thread group by using below steps.

Right click on Thread Group >> Add >> Logic Controller >> Interleave Controller

Random Controller: Random Order controller is similar to Simple Controller, it will make all samplers to run in random order in each thread loop.

Random Controller provides functionality to run user request in random order for each loop i.e. One random user request in each loop. Add random controller to thread group by using below steps.

Right click on Thread Group >> Add >> Logic Controller >> Random Controller

What are the types of controller in JMeter?

Controllers are used in Jmeter to control the flow of execution of requests.

Below are the controllers that are used in JMeter:

  • Recording Controller
  • IF Controller
  • While Controller
  • Transaction Controller
  • Loop Controller
  • Simple Controller
  • Module Controller

What are the important plugins that are supported in JMeter?

Jmeter supports different types of plugins which are helpful in generating high quality results.

Below are the major plugins that are supported:

  • Thread Group Plugin: Stepping Thread Group Plugin.
  • Samplers Plugins: like WebDriver.
  • Listeners plugins.

What is Tidy Parsing in JMeter?

Tidy Parsing is a type of parsing that is used in XPath extractor.

If the response is in pure XML then tidy parsing is not required whereas, in case of XHTML, it is mandatory to check the tidy parsing option in order to fetch the correct results.

What is a Workbench in JMeter and why is it required?

Workbench is a storage area for adding some components which can be added to test plan if required.

Components of workbench does not get saved with the test plan automatically. They have to be saved separately as test fragments. Most important part of the Workbench is HTTP(s) Test script recorder which is highly useful in recording the https request and later load can be applied on them to measure the response time.

Which factors decide the maximum threads that one should generate per system?

It depends on the hardware of the system.

For Example, on a 2-3 GHz CPU, 400-600 threads can be generated. It also depends on the components in your test plan. More the processors and XML parsing elements, more the CPU load and hence less threads.  For high load, it is recommended to use multiple machines for load testing.

What is a Root CA Certificate in JMeter?

HTTPS connection requires a certificate to authenticate the connections which get established when the browser hits the web server.

JMeter generates it temporarily to intercept the SSL traffic in order to record the actions. For recording actions via mobile, you need to have this certificate in your mobile to record the actions.

What is BeanShell scripting in JMeter?

BeanShell is a lightweight Java scripting that is used in JMeter to perform some complex task.

BeanShell sampler can perform various functions with the use of coding. You can print the thread number, get the current sampler executed, fetch the cookies etc.

Subscribe to JMeter Interview Questions


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.