No results for

Powered byAlgolia
⚠️ This is archived documentation for v0.38. 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 (that is, "VU context" or "VU code"). For a more detailed description, refer to Running k6.

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