Commit 116e792d authored by Luc Yriarte's avatar Luc Yriarte
Browse files

Save session ID after creation

parent bec78bb1
......@@ -481,6 +481,18 @@
},
{
"name": "Create WellLog session",
"event": [
{
"listen": "test",
"script": {
"exec": [
"const resobj = pm.response.json();",
"pm.collectionVariables.set(\"welllogSessionId\", resobj.id);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
......@@ -603,6 +615,10 @@
{
"key": "welllogId",
"value": "dummy1234"
},
{
"key": "welllogSessionId",
"value": "xxxx1234"
}
]
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment