Apache JMeter Interview Questions - Level 1 (Load | Performance Testing Tool)
Abhishek Singh
Founder @ Corporate IT Education | 14+ years of IT Experience I Software Testing I QA | SDET | Automation Testing I Youtube Channel
1) Explain what is JMeter?
2) Explain how JMeter works?
3) List out various applications/server/protocol types it supports?
4) List out features of JMeter ?
5) Is JMeter a browser?
6) What is Thread Group in JMeter?
7) What is ramp up period?
Amount of time in seconds JMeter needs to loads the amount of threads(users) for the test.
8)What is difference between “Stop Test” and “Stop Test Now” in JMeter?
Stop Test – Stops the thread in case of any sampler error in JMeter post any active thread completion.
Stop Test Now - Stops the thread in case of any sampler error in JMeter without any active thread completion.
9)What is sampler?
Samplers allow JMeter to send specific types of requests to the server.
10). List out few samplers available in JMeter?
11) What port number is used in HTTP request sampler for https request by default?
443
12) What port number is used in HTTP request sampler for http request?
80
13) How to analyze results in JMeter?
Listeners, it is a component that shows the results of the samples which is used for analyzing and reporting results.
14) List out few Listeners in JMeter?
15) What is throughput?
Throughput: Throughput is a measure of requests/unit of time.
The calculation of time begins from the start of the first sample to the end of the last one. Basically, it is the amount of transactions happened over test duration.
16) What is standard deviation?
领英推荐
17) What is connect time?
Connect Time: Time taken to establish TCP connection b/w client and server using TCP Handshake. If TCP Handshake is successful, then the client can send further requests (HTTP request - HTTP layer). If not, the client can't talk to the server.
18) What is latency ?
Latency: Meter?measures the latency from just before sending the request to just after the first response has been received. Thus the time includes all the processing needed to assemble the request as well as assembling the first part of the response, which in general will be longer than one byte.
Time we started getting first byte of the response.
19) What is Load Time?
Load time is total time take by the request in which it receives the full response from the server.
20) What is the extension of Test Files in JMeter?
.jmx
21) What do you mean by 90%, 95% and 99% line in Aggregate Report listener?
90%/95%/99% line provides the time in which 90%/95%/99% of the requests were completed.
22)What do you mean by Min & Max in Summary Report Listener?
Min represents the minimum time it took to complete the request and max means the maximum time it took to complete the request.
23)What is Assertion in JMeter?
Assertions are validators. It is used to verify and validate the response of the request sent to the server.
24)What are different types of assertion in JMeter?
25)What mode should be used for load testing with JMeter?
CLI / Non GUI Mode
26) Can you execute GUI test using Command line, if yes what is the command?
?Yes, The command is <jmeter.bat(Windows)/jmeter.sh(Linux) [-p property-file]>
27) How to run JMeter test using command line for Non GUI mode?
?Open a command prompt (or Unix shell) and type:<jmeter.bat(Windows)/jmeter.sh(Linux) -n -t test-file [-p property-file] [-l results-file] [-j log-file]>
28.How to generate reports HTML reports in JMeter using command line?
?Open a command prompt (or Unix shell) and type: <jmeter.bat(Windows)/jmeter.sh(Linux) -n -t test-file [-p property-file] [-l results-file] [-j log-file] -e -o [Path to output folder]>
29. How to generate CSV reports using existing CSV?
?Open a command prompt (or Unix shell) and type:<jmeter.bat(Windows)/jmeter.sh(Linux) -g [csv results file] -o [path to output folder (empty or not existing)]>
30. What is latest version of JMeter available as of today?
The latest version of JMeter is 5.5 as of 27 Aug - 2022.