top of page

JMeter Interview Questions And Answers


JMeter Interview Questions And Answers

By Sam Z // Saturday, August 29, 2015

What is JMeter?

Apache JMeter is an open source load testing application which is purely developed in Java. Apache JMeter is mainly used to test the performance and stability of an application.

What are the different type of applications you can test with JMeter?

You can test mainly web applications, it all supports to test PHP, Java, ASP.NET, web services, databases, mail servers, network etc.

What are the protocol JMeter supports?

IT support more than 10 protocols, here are some of the protocols that JMeter supports.

Web Protocol: To test the web applications, it supports both HTTP and HTTPS protocols.

Web Services: To test web services applications, it supports both SOAP and REST.

FTP: File Transfer Protocol, it is used to test the FTP servers and applications.

Database via JDBC: It is used to test the database applications.

LDAP: Lightweight Directory Access Protocol

Message-oriented middleware (MOM) via JMS

Mail – It is used to test mail servers such as SMTP(S), POP3(S) and IMAP(S)

MongoDB (NoSQL): it is recently supported protocol by JMeter.

Native commands or shell scripts

TCP

Why do you choose JMeter as your performance testing tool?

JMeter is an open source tool and is widely used tool in the market and it has the large online community support and is developed in pure Java and you can test more than 10 protocols.

What is the difference between JMeter and Loadrunner?

JMeter

Loadrunner

JMeter is an open source tool.

Loadrunner is one of the costliest tools in the market.

JMeter is primarily focusing on web and Java protocols.

Loadrunner supports more than 50 protocols.

JMeter has good online community support.

Loadrunner has technical support, but they hardly resolve your issue.

JMeter is a standalone application and there is no centralized process.

You can operate Loadrunner from a centralized process such as performance center.

What is a Listener? What are the different type of listeners?

Listener is a graph or an image that shows the results of different samplers. You have more than 50 listeners through standard JMeter and JMeter plugins.

List of listeners are: Aggregate graph, Aggregate report, Assertion Results, Backend Listener, Bean Shell Listener, BSF Listener, Comparison Assertion Visualizer, Distribution Graph (alpha), Generate summary results, Graph Results, JSR223 Listener, Mailer Visualizer, Monitor Results, Response Time Graph, Save responses to a file, Simple data writer, Spline Visualizer, Summary Report, View Results in Table, View Results Tree.

What are timers and what are the different timers available?

Timers is waiting time between requests, these timers are used to simulate real user behavior during each request, this helps to simulate real time production load on the server.

There are different timers available in JMeter: Bean Shell Timer, BSF Timer, Constant Throughput Timer, Constant Timer, Gaussian Random Timer, JSR223 Timer, Poisson Random Timer, Synchronizing Timer, and Uniform Random Timer.

What is assertion and what are the different type of assertions available in JMeter?

Assertions are used to define the check points in different parts of the script, there are different type of assertions available Bean Shell Assertion, BSF Assertion, Compare Assertion, Duration Assertion, HTML Assertion, JSR223 Assertion, MD5Hex Assertion, Response Assertion, Size Assertion, SMIME Assertion, XML Assertion.

Jmeter Tutorials - One Page For All Your Jmeter Queries

By Sam Z // Wednesday, December 03, 2014

Jmeter - A performance testing open source tool with huge online support. Jmeter is evolving from day to day and it has occupied almost 40 percent of the market share. Jmeter is developed in Java and has a lot of advantages when compare with any other performance testing tools. We can use Jmeter for different types of Testing. Performance Testing (Mainly), Load Testing, Volume Testing, Stress Testing, Functional Testing and Regression Testing. Some of the advantages of Jmeter are:

  • Jmeter has many features firstly unlimited virtual users that we can simulate.

  • Open source tool with large online community.

  • We can integrate Jmeter with selenium and we can run selenium functional testing scripts with Jmeter.

  • We can integrate different Jmeter plugins with Jmeter according to our requirement and we can also develop plugins in Java for Jmeter.

  • Jmeter supports multiple protocols Web (HTTP/HTML), JDBC, FTP, JMS and LDAP.

How To Install Jmeter In Your PC:

Installing of Jmeter is very simple. Before installing of Jmeter you need to install JVM 6 or higher. You can download the latest jdk from this link

You can download Jmeter binaries from the following website in the .zip format and extract in any of the folder and go to the bin folder and click on the icon with name "ApacheJmeter" which is an executable jar file as shown in the following image.

Once you click on the obove Icon the Jmeter application will be launched as shown in the following image.

Jmeter has many options we cannot learn all these options at one go. As you work on this tool you will learn them slowly. We will discuss some of the main options and you can explore additional options by yourself. Here I am listing all the options that Jmeter has Test Plan Threads (Users) Thread Group Setup Thread Group Teardown Thread Group

Jmeter PPTs That Might Help You:

A Overview How to do Performance Testing with Jmeter

Important Jmeter Links:

Official Jmeter Website Jmeter Plugins Website

Ajax Click And Script Functions In Loadrunner

By Sam Z // Thursday, February 26, 2015

The following function emulates the real behavior of Ajax click and script applications in Loadrunner.

Function Name

Description

ajax_accordion

This functions emulates the user extending or collapsing a Menu

ajax_autocomplete

This functions emulates the auto complete based on the text that we entered.

ajax_collapsiblepanel

This function emulates the user extending or collapsing some of the fields in the application.

ajax_rating

This function emulates the user setting a rating of a rating control.

ajax_reorderlist

This function emulates that reordering of lists.

ajax_slider

This function emulates setting of value using slide control.

ajax_tabs

This function emulates the user performing on folder-style tabs in atlas applications.

Web Controller In Loadrunner - A New Feature From Loadrunner 12.02

By Sam Z // Tuesday, February 10, 2015

HP has released a new feature called the Web Controller. The name itself indicates that now you can control your load test from the browser interface and can be accessed through a browser. Now, you can run your load tests from anywhere. It is just like a small HP Performance Center. You can see some of the screenshots of the Loadrunner Web Controller here.

What are you waiting for... Let's go ahead and install the new version of Loadrunner. Please note that this has been added in Loadrunner 12.02 as tech preview and not a fully functional component. You can give your feedback in this link. For more Loadrunner Tutorials

NeoLoad Interview Questions And Answers

By Sam Z // Sunday, August 30, 2015

Here are some of the interview questions and answers on NeoLoad:

What is NeoLoad?

NeoLoad is a performance testing tool designed to test different types of web, standalone and mobile applications.

What is the difference between Loadrunner, JMeter and NeoLoad?

Click here for differences

What are the different counters you monitor in NeoLoad?

Average Response Time(requests), average response time(pages), average requests/s, average throughput, current response time(requests), current response time(pages), current requests, current throughput, current users count, controller cpu load, controller memory load etc.

What are the different type of tools you can integrate with NeoLoad?

App Dynamics, CA APM Integration, Dyna trace integration, HP ALM or Quality Center Integration, Java and Jamo Solutions M-eux Test Integration, Jenkins Integration, perfecto mobile integration, selenium integration.

What are the different type of Operating systems you can monitor?

Linux Monitor, Solaris Monitor, AIX Monitor, HP-UX Monitor, Microsoft Monitors, Microsoft Windows Monitor, VMWare Monitor.

What are the different web protocols NeoLoad supports?

It supports http, https, flex, Silverlight, GWT, RTMP, SOAP, Java Serialization, JMS, Oracle Forms, SPDY, and Oracle Siebel.

How do you add validation in NeoLoad?

You can validate using HTTP response codes, for example, if the response code is 200, then the script is pass else fail. You can customize the code according to your requirement.

Does NeoLoad support SSL?

Yes, NeoLoad supports Secure Sockets Layer. You can record and playback both http and https requests.

Does NeoLoad support ActiveX components?

Yes, NeoLoad supports ActiveX components.

Does NeoLoad works on Cloud platform?

Yes, NeoLoad works on cloud platform, and you can run load generators from the cloud.

What are the different monitors available in NeoLoad?

NeoLoad has monitors for most of the popular web servers, application, database, operating systems. Some of them are Apache, Microsoft IIS, Microsoft .net, WebLogic, WebSphere, ORACLE DBA, SQL etc.

Does NeoLoad supports DB2?

Yes, NeoLoad supports DB2, and it uses JDBC protocol to monitor databases.

What is the structure of Virtual Script in the NeoLoad?

It is same as Loadrunner, it has three parts mainly, Init Container, Actions Container, End Container.

What are the different options we have in Runtime settings?

We have mainly Error Handling, Think Time, Tasks, SLA, and Global Validations.

Some of the Important Links On NeoLoad:

NeoLoad Home Page.

NeoLoad Documents

NeoLoad Youtube


bottom of page