Posts

Showing posts from April, 2018

Timer

Image
By default, a JMeter thread sends requests without pausing between each sampler. This may not be what you want. You can add a timer element which allows you to define a period to wait between each request. The following list shows all the timers that JMeter provides − Constant Timer Gaussian Random Timer Uniform Random Timer Constant Throughput Timer Synchronizing Timer JSR223 Time BeanShell Time BSF Time Poisson Random Time The following screenshot shows a Constant Timer Control Panel −

Logic Controller

Image
Logic Controllers Logic Controllers let you control the order of processing of Samplers in a Thread. Logic controllers can change the order of a request coming from any of their child elements. Some examples are − ForEach Controller, While Controller, Loop Controller, IF Controller, Run Time Controller, Interleave Controller, Throughput Controller, and Run Once Controller. The following screenshot shows a Loop Controller Control Panel − The following list consists of all the Logic Controllers JMeter provides − Simple Controller Loop Controller Once Only Controller Interleave Controller Random Controller Random Order Controller Throughput Controller Runtime Controller If Controller While Controller Switch Controller ForEach Controller Module Controller Include Controller Transaction Controller Recording Controller

Sampler

Image
Samplers allow JMeter to send specific types of requests to a server. They simulate a user request for a page from the target server. For example, you can add a HTTP Request sampler if you need to perform a POST, GET, or DELETE on a HTTP service. Some useful samplers are − HTTP Request FTP Request JDBC Request Java Request SOAP/XML Request RPC Requests The following screenshot shows an HTTP Request Sampler Control Panel −