Stores a response value to a file for persistence across scenarios.
Extracts a value from the last response using JSON path notation and stores it both to a file and in memory with an alias.
JSON path to extract from response (e.g., "accessToken", "data.token")
File path to store the value (e.g., "data/user.json")
And I k6 store "accessToken" in "data/user.json" And I k6 store "data.token" in "data/admin.json" Copy
And I k6 store "accessToken" in "data/user.json" And I k6 store "data.token" in "data/admin.json"
Stores a response value to a file for persistence across scenarios.
Extracts a value from the last response using JSON path notation and stores it both to a file and in memory with an alias.