Writes an alias value to a JSON file with a custom key name.
Retrieves a stored alias value and writes it to a JSON file with a custom key. Creates the file and directory if they don't exist.
Name of the stored alias to write
Path to the JSON file (relative to project root)
Custom key name to use in the JSON file
And I k6 write "authToken" to "data/tokens.json" as "access_token" And I k6 write "userId" to "data/user.json" as "id" Copy
And I k6 write "authToken" to "data/tokens.json" as "access_token" And I k6 write "userId" to "data/user.json" as "id"
Writes an alias value to a JSON file with a custom key name.
Retrieves a stored alias value and writes it to a JSON file with a custom key. Creates the file and directory if they don't exist.