No results for

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

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.

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