Hyperfoil reference
Steps
- addToInt: Add value to integer variable in the session.
- awaitAllResponses: Block current sequence until all requests receive the response.
- awaitDelay: Block this sequence until referenced delay point.
- awaitInt: Block current sequence until condition becomes true.
- awaitVar: Block current sequence until this variable gets set/unset.
- breakSequence: Prematurely stops execution of this sequence if the condition is satisfied.
- clearHttpCache: Drops all entries from HTTP cache in the session.
- conditional: Perform an action or sequence of actions conditionally.
- fail: Fail the phase with given message. Used mostly for testing/debugging.
- foreach: Instantiate new sequences based on array variable content.
- httpRequest: Issues a HTTP request and registers handlers for the response.
- json: Parse JSON in variable into another variable.
- log: Log a message and variable values.
- loop: Repeats a set of steps fixed number of times.
- newSequence: Instantiates a sequence for each invocation.
- nextSequence: Schedules a new sequence instance to be executed.
- noop: Does nothing. Only for demonstration purposes.
- pullSharedMap: Move values from a map shared across all sessions using the same executor into session variables.
- pushSharedMap: Store values from session variables into a map shared across all sessions using the same executor into session variables.
- randomCsvRow: Stores random row from a CSV-formatted file to variables.
- randomFile: Reads bytes from a randomly chosen file into a variable. Two formats are supported: Example 1 - without weights:
- randomInt: Stores random (linearly distributed) integer into session variable.
- randomItem: Stores random item from a list or array into session variable.
- scheduleDelay: Define a point in future until which we should wait. Does not cause waiting.
- set: Set variable in session to certain value.
- setInt: Set session variable to an integral value.
- stop: Immediately stop the user session (break all running sequences).
- stopwatch: Run nested sequence of steps, recording execution time.
- stringToInt
- template: Format pattern into session variable.
- thinkTime: Block current sequence for specified duration.
- unset: Undefine variable name.
Actions
- addToInt: Add value to integer variable in the session.
- clearHttpCache: Drops all entries from HTTP cache in the session.
- conditional: Perform an action or sequence of actions conditionally.
- fail: Fail the phase with given message. Used mostly for testing/debugging.
- newSequence: Instantiates a sequence for each invocation.
- set: Set variable in session to certain value.
- setInt: Set session variable to an integral value.
- stringToInt
- unset: Undefine variable name.
Processors
- addToInt: Add value to integer variable in the session.
- array: Stores data in an array stored as session variable.
- clearHttpCache: Drops all entries from HTTP cache in the session.
- closeConnection
- conditional: Passes the data to nested processor if the condition holds. Note that the condition may be evaluated multiple times and therefore any nested processors should not change the results of the condition.
- fail: Fail the phase with given message. Used mostly for testing/debugging.
- gzipInflator: Decompresses a GZIP data and pipes the output to delegated processors. If the data contains multiple concatenated GZIP streams it will pipe multiple decompressed objects with
isLastPart
set to true at the end of each stream.
- json: Parses JSON responses using simple queries.
- logInvalid: Logs body chunks from requests marked as invalid.
- newSequence: Instantiates a sequence for each invocation.
- parseHtml: Parses HTML tags and invokes handlers based on criteria.
- queue: Stores defragmented data in a queue. For each item in the queue a new sequence instance will be started (subject the concurrency constraints) with sequence index that allows it to read an object from an array using sequence-scoped access.
- set: Set variable in session to certain value.
- setInt: Set session variable to an integral value.
- simple: DEPRECATED: Use
store
processor instead.
- store: Stores data in a session variable (overwriting on multiple occurences).
- stringToInt
- unset: Undefine variable name.