jmeter
DESCRIPTION
Jmeter questions and answers. Load testing performance testingTRANSCRIPT
Started on Monday, 31 August 2015, 9:51 AM
State Finished
Completed on
Monday, 31 August 2015, 10:35 AM
Time taken 44 mins 9 secs
Marks 31.00/60.00
Grade 5.17 out of a maximum of 10.00 (52%)
Top of Form
Question 1
Correct
Mark 1.00 out of 1.00
Flag question
Question text
LDAP server default Port is:
Select one:
a. 636
b. 389
c. 3268
0 qaid=674467&qub 0
3
d. 3269
Feedback
Your answer is correct.
Question 2
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Which of the below is not a component of Distributed JMeter test?
Select one:
a. Master
b. Controller
c. Slave
d. Target
Feedback
Your answer is incorrect.
Question 3
Correct
Mark 1.00 out of 1.00
0 qaid=674453&qub 0
3
Flag question
Question text
Under SOAP/XML-RPC Request, it accepts following Parameters in URL section:
Select one:
a. Wsdl link
b. Service (svc) link
c. Method Name of WSDL
d. Method Name of Service
Feedback
Your answer is correct.
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select the Incorrect statements regarding HTTP Cookie Manager:
Select one:
0 qaid=674474&qub 0
3
0 qaid=674484&qub 0
3
a. Cookie stored in one cookie manager is available to any other manager
b. For more than one Cookie Manager in the scope of a Sampler, there is currently no way to specify which one is to be used
c. Cookie Manager stores and sends cookies just like a web browser
d. Cookie Manager do not stores that cookie automatically and will use it for all future requests to
that particular web site if an HTTP Request and the response contains a cookie
Feedback
Your answer is correct.
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Method Handling do not support multipart requests or file upload:
Select one:
a. PUT
b. POST
c. PATCH
d. GET
Feedback
0 qaid=674478&qub 0
3
Your answer is correct.
Question 6
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select the correct JDBC connection string for SQL server database
Select one:
a. dbc: sqlserver://host[:port]/dbname
b. dbc: sqlserver:thin:@//host:port/service
c. jdbc:sqlserver://host:port;DatabaseName=dbname
d. dbc: sqlserver://host:port/db[;attr=value]
Feedback
Your answer is correct.
Question 7
Incorrect
Mark 0.00 out of 1.00
Flag question
0 qaid=674449&qub 0
3
0 qaid=674468&qub 0
Question text
Listeners which provide a view of all sample times from the start of the test till the end, regardless of how many samples have been taken.
Select one:
a. Graph Results
b. Spline Visualizer
c. Assertion Results
d. Simple Data Writer
Feedback
Your answer is incorrect.
Question 8
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Can we load all the methods of WSDL under SOAP/XML-RPC Request?
Select one:
a. YES
b. NO
3
0 qaid=674462&qub 0
3
Feedback
Your answer is incorrect.
Question 9
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Under SOAP/XML-RPC Request, it accepts following Parameters in Send SOAPAction section:
Select one:
a. Checkbox checked and no need to give the Method Name
b. Checkbox checked and Method Name must be there
c. Checkbox unchecked but Service link should be defined in URL section
d. Either A or Either C
Feedback
Your answer is correct.
Question 10
Incorrect
Mark 0.00 out of 1.00
0 qaid=674458&qub 0
3
Flag question
Question text
Jmeter is not used for
Select one:
a. Database server test
b. Functional test
c. Accessibility testing
d. Testing web application
Feedback
Your answer is incorrect.
Question 11
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
SOAP//XML-RPC Request supports following protocols:
Select one:
0 qaid=674429&qub 0
3
0 qaid=674459&qub 0
3
a. TCP
b. HTTP
c. Both A & B
d. None of these
Feedback
Your answer is incorrect.
Question 12
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select the Incorrect statements regarding HTTP Cache Manager:
Select one:
a. HTTP Cache Manager is used to add caching functionality to HTTP requests within its scope to
simulate browser cache feature
b. HTTP Cache Manager will store up to 5500 items in cache per Virtual User thread, using LRU algorithm
c. HTTP Cache Manager use property "ExpandSize" to modify cache per Virtual User thread value
d. HTTP Cache Manager use property "MaxSize" to modify cache per Virtual User thread value
Feedback
0 qaid=674483&qub 0
3
Your answer is incorrect.
Question 13
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select the correct statements regarding Listeners:
Select one:
a. Listener’s process sample data in non-GUI mode, but the raw data will be saved if an output file
has been configured
b. Listeners are processed at the end of the scope in which they are found
c. Listeners do not have a panel whereby one can specify the file to which the results will be written (or read from)
d. Listeners can use a lot of memory if there are a lot of samples
Feedback
Your answer is incorrect.
Question 14
Correct
Mark 1.00 out of 1.00
0 qaid=674481&qub 0
3
Flag question
Question text
Select controller which makes the user request run specified number of times
Select one:
a. Loop controller
b. Random controller
c. Logic controller
d. Recording controller
Feedback
Your answer is correct.
Question 15
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select INVALID timer in Jmeter
Select one:
0 qaid=674439&qub 0
3
0 qaid=674433&qub 0
3
a. Uniform Random Timer
b. Gaussian Random Timer
c. Constant Timer
d. Continue Timer
Feedback
Your answer is correct.
Question 16
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Which of the following is not a feature of JMeter ?
Select one:
a. Platform independent tool
b. Stores its test plan in CSV format
c. Highly extensible
d. Can be used for Functional testing
e. Can be used for load testing of desktop based applications
Feedback
0 qaid=674472&qub 0
3
Your answer is incorrect.
Question 17
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Under SOAP/XML-RPC Request, it accepts following Parameters in Soap/XML-RPC Data section:
Select one:
a. XML should start with <Envelope and end with </Envelope>
b. XML should start with <soapenv:Envelope and end with </soapenv:Envelope>
c. Any Proper XML will work
d. Both A and B are valid
Feedback
Your answer is correct.
Question 18
Correct
Mark 1.00 out of 1.00
Flag question
0 qaid=674460&qub 0
3
0 qaid=674432&qub 0
Question text
Jmeter can be used to test performance of
Select one:
a. Only static resources
b. Only dynamic resources
c. Both static and dynamic
d. None of above
Feedback
Your answer is correct.
Question 19
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Correlation will be used
Select one:
a. To handle static data
b. To handle dynamic data
3
0 qaid=674477&qub 0
3
c. To make the test data driven
d. To handle failure due to hard code
Feedback
Your answer is correct.
Question 20
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
When you save your Test plan in JMeter , workbench items are saved with it
Select one:
a. YES
b. NO
Feedback
Your answer is incorrect.
Question 21
Incorrect
Mark 0.00 out of 1.00
0 qaid=674464&qub 0
3
Flag question
Question text
Consider the below example
Please select the correct option for the requests to which Timer#1, Assertion#1 and Timer#2 will apply.
Select one:
a. Timer#1 will apply to Requests Two, Three and Four
b. Timer#1 will only apply to Requests Two
c. Timer#1 will affect all requests
d. Assertion#1 will only apply to Request Three
e. Assertion#1 will apply to Requests Two, Three and Four
f. Timer#2 will affect all requests
g. Timer#1 will only apply to Requests Five
Feedback
0 qaid=674471&qub 0
3
Your answer is incorrect.
Question 22
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Listeners have the following except:
Select one:
a. Monitor graph
b. Assertion result
c. View result in tree
d. View result in table
Feedback
Your answer is incorrect.
Question 23
Incorrect
Mark 0.00 out of 1.00
Flag question
0 qaid=674463&qub 0
3
0 qaid=674470&qub 0
Question text
Select the Incorrect statement regarding Size Assertion:
Select one:
a. Size Assertion tests that each response contains the right number of bytes in it
b. Size Assertion allows to specify that the size be equal to, greater than, less than, or not equal to a
given number of bytes
c. Size Assertion do not report error for an empty response rather than it's treated as being 0 byte in Jmeter 2.3RC3
d. None of these
Feedback
Your answer is incorrect.
Question 24
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select INVALID controller in Jmeter
Select one:
a. Simple controller
3
0 qaid=674438&qub 0
3
b. Static controller
c. Random controller
d. Loop controller
Feedback
Your answer is correct.
Question 25
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
What is the default heap size in JMeter?
Select one:
a. 128 MB
b. 256 MB
c. 512 MB
d. 1024 MB
Feedback
Your answer is incorrect.
Question 26
0 qaid=674450&qub 0
3
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select the incorrect statements for Test Plan:
Select one:
a. Test Plan is where the overall settings for a test are specified
b. Test Plan can refer to variables it defines
c. Test plan cannot add classpath setting to a specific test plan
d. Test plan provides facilities to define Static variables for values that are repeated throughout a tests
Feedback
Your answer is incorrect.
Question 27
Correct
Mark 1.00 out of 1.00
Flag question
Question text
0 qaid=674487&qub 0
3
0 qaid=674469&qub 0
Random Number is calculated using the formula:
Select one:
a. maximum+Random.nextInt(maximum-minimum+1)
b. maximum+Random.nextInt(maximum+minimum-1)
c. minimum+Random.nextInt(maximum+minimum-1)
d. minimum+Random.nextInt(maximum-minimum+1)
Feedback
Your answer is correct.
Question 28
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Listeners which do not keep a copy of every sample in their scope:
Select one:
a. Simple Data Writer
b. BSF Listener
c. View Results Tree
3
0 qaid=674480&qub 0
3
d. BeanShell Listener
e. Spline Visualizer
Feedback
Your answer is correct.
Question 29
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select Error Codes when Web Service Request fails:
Select one:
a. 404
b. 200
c. 500
d. 400
Feedback
Your answer is correct.
Question 30
Correct
Mark 1.00 out of 1.00
0 qaid=674475&qub 0
3
Flag question
Question text
Test fragment element is
Select one:
a. Listener
b. Pre-Processor
c. Special type of Controller
d. Configuration element
Feedback
Your answer is correct.
Question 31
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select the correct JDBC connection string for Oracle database
Select one:
0 qaid=674445&qub 0
3
0 qaid=674448&qub 0
3
a. dbc:oracle://host[:port]/dbname
b. dbc:oracle:thin:@//host:port/service
c. jdbc:oracle://host:port;DatabaseName=dbname
d. dbc:oracle://host:port/db[;attr=value]
Feedback
Your answer is incorrect.
Question 32
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Identify the incorrect statement(s) regarding JDBC request.
Select one:
a. Variable Name can be different from the Variable Name defined in JDBC connection configuration
b. Update statement in Query type dropdown to mention the query can be used for Inserts as well
c. It stores by default upto 100 prepared statements per connection
d. A trailing semicolon should be mentioned in SQL query
Feedback
0 qaid=674473&qub 0
3
Your answer is correct.
Question 33
Not answered
Marked out of 1.00
Flag question
Question text
Select the correct statements regarding the Match No. field for CSS/JQuery extractor:
Select one:
a. Positive number N means to select the nth match
b. Negative number N means to select the nth match
c. Negative numbers are used in conjunction with the ForEach controller
d. Positive numbers are used in conjunction with the ForEach controller
Feedback
Your answer is incorrect.
Question 34
Incorrect
Mark 0.00 out of 1.00
Flag question
0 qaid=674486&qub 0
2
0 qaid=674442&qub 0
Question text
There are different ways to reduce resource requirements in JMeter. Select the incorrect statement regarding reducing resource requirements in JMeter.
Select one:
a. Rather than using lots of similar samplers, use the Access log sampler
b. Disable the View Results tree listener
c. Erase the local path from CSV Data Set config
d. Use non GUI mode
e. None of the above
Feedback
Your answer is incorrect.
Question 35
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which is the assertion tests where each server response was received within a given amount of time?
Select one:
a. Duration
3
0 qaid=674435&qub 0
3
b. Size
c. XML
d. Response
Feedback
Your answer is correct.
Question 36
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which of the below statement is false for Test fragment element?
Select one:
a. It is a special type of controller
b. It is created under Thread Group element
c. Do not It is purely for code re-use within Test Plans
d. It is not executed unless it is referenced by either a Module Controller or an Include_Controller
Feedback
Your answer is correct.
Question 37
Correct
0 qaid=674446&qub 0
3
Mark 1.00 out of 1.00
Flag question
Question text
Select INVALID configuration element in Jmeter
Select one:
a. HTTP Request Defaults
b. FTP Request Defaults
c. HTTP Cookie Manager
d. FTP Cookie Manager
Feedback
Your answer is correct.
Question 38
Correct
Mark 1.00 out of 1.00
Flag question
Question text
BSF stands for
0 qaid=674431&qub 0
3
0 qaid=674430&qub 0
3
Select one:
a. Bean Scripting Framework
b. Bit Scripting Framework
c. Bean Searching Framework
d. Bean Server Framework
Feedback
Your answer is correct.
Question 39
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select Status Code for Page not Found Error
Select one:
a. 200
b. 404
c. 302
d. 502
Feedback
0 qaid=674436&qub 0
3
Your answer is correct.
Question 40
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select the correct execution order of test elements in test plan
Select one:
a. Configuration elements, Pre-Processors, Timers, Samplers, Post-Processors, Assertions, Listeners
b. Configuration elements, Timers, Pre-Processors, Samplers, Post-Processors, Assertions, Listeners
c. Configuration elements, Timers, Pre-Processors, Samplers, Assertions, Post-Processors, Listeners
d. Configuration elements, Pre-Processors, Timers, Samplers, Assertions, Post-Processors, Listeners
Feedback
Your answer is incorrect.
Question 41
Incorrect
Mark 0.00 out of 1.00
0 qaid=674441&qub 0
3
Flag question
Question text
How do you ensure re-usability in your JMeter scripts ?
Select one:
a. Using config elements like "CSV Data Set Config", "User Defined Variables",
b. Modularizing shared tasks and invoking them via a "Module Controller".
c. Writing your own BeanShell functions
d. A and C
e. All of the above
Feedback
Your answer is incorrect.
Question 42
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select the incorrect statements regarding Junit:
0 qaid=674443&qub 0
3
0 qaid=674479&qub 0
3
Select one:
a. Junit test jar files should be placed in jmeter/lib/junit instead of /lib directory
b. Junit sampler use name/value pairs for configuration like the JavaSampler
c. Junit sampler measures the elapsed time only for the test method and include setUp and
tearDown
d. JUnit sampler reports unexpected exceptions as errors
Feedback
Your answer is correct.
Question 43
Not answered
Marked out of 1.00
Flag question
Question text
Select the incorrect statement for User defined variables (UDV)
Select one:
a. All UDV elements in a test plan are processed after Pre-Processor
b. UDVs should be used with functions that generate different results each time they are called
c. UDVs can be used with functions such as __P(), for example: HOST${__P(host,localhost)}
d. If you have more than one Thread Group, make sure you use different names for different values, as UDVs are shared between Thread Groups
0 qaid=674456&qub 0
2
Feedback
Your answer is incorrect.
Question 44
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Logic Controllers determine
Select one:
a. The Types of requests that are executed
b. The source of requests that are executed
c. The order in which user request are executed
Feedback
Your answer is correct.
Question 45
Correct
Mark 1.00 out of 1.00
Flag question
0 qaid=674437&qub 0
3
0 qaid=674457&qub 0
Question text
Select the incorrect statement regarding functions and variables
Select one:
a. If an undefined function or variable is referenced, JMeter report/log an error
b. Variables are local to a thread
c. Functions that require no parameters can leave off the parentheses
d. Functions are shared between threads. Each occurrence of a function call in a test plan is handled by a separate function instance
Feedback
Your answer is correct.
Question 46
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which assertion is not used in Jmeter?
Select one:
a. Duration
b. Size
3
0 qaid=674434&qub 0
3
c. XML
d. Web
Feedback
Your answer is correct.
Question 47
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Under SOAP/XML-RPC Request, If “Use KeepAlive” checkbox “Checked” the Connection in Request XML should have value as follows:
Select one:
a. Open
b. Connected
c. Close
d. Keep-alive
Feedback
Your answer is correct.
Question 48
Correct
0 qaid=674461&qub 0
3
Mark 1.00 out of 1.00
Flag question
Question text
Test elements are only available on the WorkBench:
Select one:
a. Debug Sampler
b. HTTP Mirror Server
c. Test Fragment
d. setUp Thread Group
e. Property Display
Feedback
Your answer is correct.
Question 49
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
0 qaid=674488&qub 0
3
0 qaid=674444&qub 0
3
A function call in JMeter looks like:
Select one:
a. ${__functionName(var1,var2,var3)}
b. ${functionName(var1,var2,var3)}
c. ${functionName(_var1,_var2,_var3)}
d. ${__functionName(${var1},${var2},${var3})}
Feedback
Your answer is incorrect.
Question 50
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Assertion results element is a
Select one:
a. Post-Processor
b. Pre-Processor
c. Listener
d. Configuration element
0 qaid=674455&qub 0
3
Feedback
Your answer is incorrect.
Question 51
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Which file is edited to add the IP address of the slave systems while doing distributed testing?
Select one:
a. Jmeter_slave.sh
b. Jmeter.bat
c. Jmeter-server.bat
d. Jmeter.properties
Feedback
Your answer is incorrect.
Question 52
Incorrect
Mark 0.00 out of 1.00
0 qaid=674452&qub 0
3
Flag question
Question text
Which of the below statement is false regarding distributed testing using Jmeter?
Select one:
a. Firewalls on the systems must be turned off while doing distributed testing
b. Jmeter should be installed on both Master and Slave machines
c. Only Jmeter-server should be installed on slave machine, there is no need to install Jmeter
d. All the clients should be on same subnet
Feedback
Your answer is incorrect.
Question 53
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which file is edited to increase the heap size of JMeter?
Select one:
0 qaid=674454&qub 0
3
0 qaid=674451&qub 0
3
a. Heapdump.sh
b. Jmeter.bat
c. Jmeter-server.bat
d. Jmeter.properties
Feedback
Your answer is correct.
Question 54
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Sampler which cannot generate two sample results:
Select one:
a. HTTP Request
b. BSF Sampler
c. Test Action
d. MongoDB Script
e. None of these
0 qaid=674466&qub 0
3
Feedback
Your answer is incorrect.
Question 55
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
Select the following incorrect statement:
Select one:
a. 400 Error code associated for Bad Request at client side
b. 500 Error code associated for Bad Gateway at Server side
c. 501 Error code associated for Internal Server Error at Server side
d. 501 Error code associated for Not Implemented at Server side
Feedback
Your answer is incorrect.
Question 56
Incorrect
Mark 0.00 out of 1.00
0 qaid=674476&qub 0
3
Flag question
Question text
View Results Tree do not supports following formats:
Select one:
a. HTML Tester
b. CSS/JQuery Tester
c. XML Tester
d. JSON Tester
Feedback
Your answer is incorrect.
Question 57
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Which mode is not supported by Jmeter?
Select one:
0 qaid=674482&qub 0
3
0 qaid=674465&qub 0
3
a. GUI mode
b. Non GUI mode
c. Distributed mode
d. None of these
Feedback
Your answer is correct.
Question 58
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Throughput value under Constant Throughput Timer can be changed in various ways:
Select one:
a. Using a counter variable
b. Using a random variable
c. Using a BeanShell function to provide a changing value
d. Using a JavaScript function to provide a constant value
e. Using the remote BeanShell server to change a JMeter property
Feedback
0 qaid=674485&qub 0
3
Your answer is correct.
Question 59
Incorrect
Mark 0.00 out of 1.00
Flag question
Question text
In JDBC request, there is a dropdown for Query Type. Which of the following is incorrect value for Query type dropdown?
Select one:
a. Select Statement
b. Insert Statement
c. Update Statement
d. Rollback
Feedback
Your answer is incorrect.
Question 60
Incorrect
Mark 0.00 out of 1.00
0 qaid=674447&qub 0
3
Flag question
Question text
Timer which delays each user request for a random amount of time.
Select one:
a. Uniform Random Timer
b. Constant Random Timer
c. Constant Timer
d. Gaussian Random Timer
Feedback
Your answer is incorrect.
Bottom of Form
0 qaid=674440&qub 0
3