No results for ""

Powered byAlgolia

Init context

suggest edits

The init context (aka "init code") is code in the global context that has access to a few functions not accessible during main script execution (aka "VU context" or "VU code"). For a more detailed description see Running k6.

FunctionDescription
open( filePath, [mode] )Opens a file and reads all the contents into memory.