Академический Документы
Профессиональный Документы
Культура Документы
Recap of Day1
1. Purpose of performance tool
Types of controllers:
•Simple Controllers
•Include controller
•Interleave controller
•Module controller
Logic controllers
Types of controllers continued …
• Runtime Controller
• Random Controller
• Loop Controller
• Switch controller
• Transaction Controller
Config Element
• CSV data set configuration: CSV Data Set Config is used to read lines from
a file, and split them into variables.
• User defined variables : The User Defined Variables lets you define variables
for use in other test elements, just as in the Test Plan..
• HTTP Request Defaults :This element lets you set default values that your
HTTP Request controllers use.
• HTTP Cookie Manager: It stores and sends cookies just like a web browser.
Preprocessors
Preprocessors are used to modify the Samplers in their scope.
Types Of Preprocessors:
• Java Request
• HTTP Request
• BeanShell Sampler
• JDBC Request
Assertions
Assertions are used to check whether the expected pattern is present in the
output is not. The outputs of all the assertions can observed in the Assertion
Results listener. Only failed responses will be displayed in the Assertions
pane.
Types Of Assertions:
• Response Assertion
• Duration Assertion
• HTML Assertion
• Size Assertion
• XML Assertion
Postprocessors
Post-Processors are applied after samplers. Note that they are applied to all the
samplers in the same scope, so to ensure that a post-processor is applied only to a
particular sampler, add it as a child of the sampler.
• XPATH Xtractor: Xpath extractor is used to extract value from the structured
response.
• Result Status Action Handler: This processor is used to take the action
specified when a particular sampler error has occurred.
Postprocessors