Performance testing with jmeter
Contents
Jmeter
Theory & Terminology
•
A Test
Plan è describes a series
of steps JMeter will execute when run. A complete test plan will consist of one
or more Thread Groups, logic controllers, sample generating controllers,
listeners, timers, assertions, and configuration elements.
•
Thread
group è
it controls the number of threads JMeter will use to execute your test. Elements
are the beginning points of any test plan. All controllers and samplers must be
under a thread group.
•
Controllers:
èSamplers and Logical
Controllers. These drive the processing of a test.
•
Samplers tell JMeter to send requests to a
server.
•
Logical Controllers let you customize the logic
that JMeter uses to decide when to send requests.
•
Listeners
è provide access to the
information JMeter gathers about the test cases while JMeter runs.
•
Timer
è The timer will cause
JMeter to delay a certain amount of time before each sampler which is in its
scope.
•
Assertionsè it allow you to assert
facts about responses received from the server being tested.
Jmeter
Initial Setup
•
After
extracting binaries ,Open Jmeter.bat file
•
First thing to record any application , we need
to set the proxy for Jmeter as follows(as performance testing which tools need
to capture data for any web application must modify proxy setting for browser
so the request pass through defined proxy
·
Add
“URL Pattern to exclude” & Click on Start button
Comments