23 lines
627 B
JSON
23 lines
627 B
JSON
{
|
|
"v": 2,
|
|
"name": "pre-req-script-env-var-persistence-coll",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "3",
|
|
"auth": { "authType": "none", "authActive": true },
|
|
"body": { "body": null, "contentType": null },
|
|
"name": "sample-req",
|
|
"method": "GET",
|
|
"params": [],
|
|
"headers": [],
|
|
"endpoint": "https://echo.hoppscotch.io",
|
|
"testScript": "pw.expect(pw.env.get(\"variable\")).toBe(\"value\")",
|
|
"preRequestScript": "pw.env.set(\"variable\", \"value\");",
|
|
"requestVariables": []
|
|
}
|
|
],
|
|
"auth": { "authType": "inherit", "authActive": true },
|
|
"headers": []
|
|
}
|