No results for

Powered byAlgolia
⚠️ This is archived documentation for v0.40. Go to the latest version

Init context

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.