Category «Automation»
JMeter Beginner Tutorial 16 – TIMERS (How to add Think Time)
Notes: Purpose – to pause thread (v.user) for some time – to add delay between threads – to avoid over flooding the server and achieve real time behaviour by pacing the load (to simulate v. user’s THINK TIME) Constant Timer Uniform Random Timer Random Delay Max Constant Delay Offset formula: 0.X * Random Delay Max …
JMeter Beginner Tutorial 15 – How to setup realistic performance test-PACING
Notes: What is a real-world performance test ———————————————————— Think Time – simulate actual user actions with timings/delays Pacing – controlled ramp-up and down of virtual users – control timing between iterations – achieve x iterations in y mins/sec Step 1 – Add Plugin – Stepping Thread Group Step 2 – Setup load with required settings …
JMeter Beginner Tutorial 14 – Functions and Variables
Notes: functions : any method that can populate a field in any other element of a test plan syntax : ${__functionName} ${__functionName(var1, var2, …..)} variable : container that can store a value which can be referenced by any other element within the thread. (local to a thread) syntax : ${variableName} function – caseSensitive | camelCasing …
JMeter Beginner Tutorial 13 – How to read data from csv file (Parameterisation
Notes: Step 1 Add config element – CSV Data Set Config Step 2 Add details in CSV Data Set Config Step 3 Update value fields: ${variable_name} Step 4 Run and validate JMeter Beginner Playlist : https://www.youtube.com/playlist?list… JMeter Intermediate Playlist : https://www.youtube.com/playlist?list… JMeter Advanced Playlist: https://www.youtube.com/playlist?list… Send me your comments and feedback
JMeter Beginner Tutorial 12 – How to use Plugin Manager
Notes: Manage Plugins – Quick & Easy —————————————————— Install new plugins Remove old plugins Upgrade existing plugins Information on plugins Step 1 Download jmeter plugin manager jar and add to jmeter/lib/ext folder (Restart Jmeter) Step 2 Find Plugin Manager under options Menu JMeter Beginner Playlist : https://www.youtube.com/playlist?list… JMeter Intermediate Playlist : https://www.youtube.com/playlist?list… JMeter Advanced …
JMeter Beginner Tutorial 11 – How to create HTML Reports from command line
Notes: (This feature will work in jmeter 3.0 and later ver.) Step 1 Create Test Plan and save it (and close) Step 2 Open command line and change dir to jmeter/bin Step 3 Execute command: to create report at the end of the test ————————————————————— jmeter -n -t “location of the jmeter script” -l “location …
JMeter Beginner Tutorial 10 – How to create assertions for JDBC (Database) Test Plan
JMeter Beginner Tutorial 9 – Testing Web Services API
Notes: An Update: JMeter ver 3.2 onwards – SOAP/XML-RPC Request has been removed as part of Bug 60727. Use HTTP Request element as a replacement. See Building a WebService Test Plan http://jmeter.apache.org/usermanual/build-ws-test-plan.html API = Application Programming Interface example- Restaurant – table — WAITER — kitchen real world example – makemytrip.com WebServices – client — API …
JMeter Beginner Tutorial 8 – How to test FTP upload and download
Notes: Step 1 Add a FTP Request Sampler Step 2 Add FTP connection parameters https://www.swfwmd.state.fl.us/data/ftp/ Server: ftp.swfwmd.state.fl.us User Name: Anonymous (use your email address as password) Step 3 Test a FTP GET and validate (get file from ftp server to local system) Step 4 Test a FTP PUT and validate (transfer file from local to …