- Download JMeter Apllication and have JVM installed on your PC
Links:
- JMeter Official Website (For macos
brew
package manager can be used) - Java Documentation
- JMeter Official Website (For macos
- Open
LoginAndBooking.jmx
though JMeter - Open
jmeter.properties
insidebin
directory of installed version of jmeter. E.g. for mac brew installation the path is/usr/local/opt/jmeter
. UncommentCookieManager.save.cookies
property, and change its value totrue
(This is needed for correct cookie-manager bahaivior). - Configure ThreadGroups and Run the Tests
- Http Header Manager - helps to set the headers for the requests
- Http Cookie Manager - automatically takes and puts the cookies values from the response to the request
- User Defined Variables - config with variables used for testing (usually some parts of url)
- HTTP(S) script recorder - disabled, special way of recording the requests made up in the browser and transoforming them into
HTTP Request Sample
samplers - Thread Group - disabled, place of samplers made up due to the HTTP(S) recorder activity
- BookingProcess - Thread Group of the main workflow testing, you can configure
Thread Properties
for different types of testings Has insideGraphResults
Listener for viewing the graph representation of testing activity. - Logout From Booking -
teadDown
thread group. Log's out the user from the testing application - Other components - Listeners for debugging, Timers - simulating life usecases, Extractors (inside samplers) - used for taking info for next request, etc.
- 100 concurrent users + 1 sec. ramp up