Commit 982fc88b authored by Darshana Herath's avatar Darshana Herath
Browse files

Removing hard corded values!

parent 8b3c5e98
......@@ -1744,7 +1744,7 @@
"script": {
"id": "8c87c0ec-d482-40ea-9fcb-a04853e335f3",
"exec": [
"//setTimeout(() => {}, 30000);"
"setTimeout(() => {}, 30000);"
],
"type": "text/javascript"
}
......@@ -2885,7 +2885,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:*:0.2.1\",\r\n \"query\": \"data.Data.IndividualTypeProperties.BottomMeasuredDepth.Depth:2387.9004\",\r\n \"aggregateBy\": \"kind\",\r\n \"limit\": 1\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:*:0.2.1\",\r\n \"query\": \"data.Data.IndividualTypeProperties.BottomMeasuredDepth.Depth:2387.9004\",\r\n \"aggregateBy\": \"kind\",\r\n \"limit\": 1\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -2961,7 +2961,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:welllog-wpc:0.2.0\",\r\n \"query\": \"*\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Data.IndividualTypeProperties.Name\"]\r\n}\r\n ",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:welllog-wpc:0.2.0\",\r\n \"query\": \"*\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Data.IndividualTypeProperties.Name\"]\r\n}\r\n ",
"options": {
"raw": {
"language": "json"
......@@ -3037,7 +3037,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:welllog-wpc:0.2.*\",\r\n \"query\": \"data.Curves.Mnemonic: *\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Curves.Mnemonic\",\"data.UWBI\"]\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:welllog-wpc:0.2.*\",\r\n \"query\": \"data.Curves.Mnemonic: *\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Curves.Mnemonic\",\"data.UWBI\"]\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -3407,6 +3407,35 @@
},
{
"name": "37 Search - Find WellLog relative to a Well",
"event": [
{
"listen": "test",
"script": {
"id": "20978ef4-d363-4762-bec5-8d735018545e",
"exec": [
"//Ensure there were no error codes in the API response\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"pm.test(\"Status description - OK\", function () {\r",
" pm.response.to.have.status(\"OK\");\r",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
" let resBody = pm.response.json();\r",
"\r",
" let recordCount = resBody.totalCount;\r",
" tests[\"Record count: \" + recordCount] = recordCount >= 1;\r",
" }\r",
"catch (e) {\r",
" console.log(e.message);\r",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "noauth"
......@@ -3432,7 +3461,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:welllog-wpc:0.2.1\",\r\n \"query\": \"*\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Data.IndividualTypeProperties.Name\"]\r\n}\r\n ",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:welllog-wpc:{{schema_version}}\",\r\n \"query\": \"*\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Data.IndividualTypeProperties.Name\"]\r\n}\r\n ",
"options": {
"raw": {
"language": "json"
......@@ -3453,7 +3482,36 @@
"response": []
},
{
"name": "38 Search - Find WellLog",
"name": "38 Search - Enriched [0.2.1] - Find WellLog",
"event": [
{
"listen": "test",
"script": {
"id": "e7b95f75-8a65-406c-b845-50d925877195",
"exec": [
"//Ensure there were no error codes in the API response\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"pm.test(\"Status description - OK\", function () {\r",
" pm.response.to.have.status(\"OK\");\r",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
" let resBody = pm.response.json();\r",
"\r",
" let recordCount = resBody.totalCount;\r",
" tests[\"Record count: \" + recordCount] = recordCount >= 1;\r",
" }\r",
"catch (e) {\r",
" console.log(e.message);\r",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "noauth"
......@@ -3479,7 +3537,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:welllog-wpc:0.2.1\",\r\n \"query\": \"data.Curves.Mnemonic: *\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Curves.Mnemonic\",\"data.UWBI\"]\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:welllog-wpc:0.2.1\",\r\n \"query\": \"data.Curves.Mnemonic: *\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Curves.Mnemonic\",\"data.UWBI\"]\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -3500,7 +3558,36 @@
"response": []
},
{
"name": "39 Search - Find WellLog RHOB",
"name": "39 Search - Enriched [0.2.1] - Find WellLog RHOB",
"event": [
{
"listen": "test",
"script": {
"id": "c48a1406-7629-4447-a8f2-2837bdf87bfb",
"exec": [
"//Ensure there were no error codes in the API response\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"pm.test(\"Status description - OK\", function () {\r",
" pm.response.to.have.status(\"OK\");\r",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
" let resBody = pm.response.json();\r",
"\r",
" let recordCount = resBody.totalCount;\r",
" tests[\"Record count: \" + recordCount] = recordCount >= 1;\r",
" }\r",
"catch (e) {\r",
" console.log(e.message);\r",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "noauth"
......@@ -3526,7 +3613,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:welllog-wpc:0.2.1\",\r\n \"query\": \"data.Curves.Mnemonic: RHOB\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Curves.Mnemonic\",\"data.UWBI\"]\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:welllog-wpc:0.2.1\",\r\n \"query\": \"data.Curves.Mnemonic: RHOB\",\r\n \"limit\": 1000,\r\n \"returnedFields\": [\"data.Curves.Mnemonic\",\"data.UWBI\"]\r\n}",
"options": {
"raw": {
"language": "json"
......@@ -3547,7 +3634,36 @@
"response": []
},
{
"name": "40 Search - Find WellLog RHOB All Properties",
"name": "40 Search - Enriched [0.2.1] - Find WellLog RHOB All Properties",
"event": [
{
"listen": "test",
"script": {
"id": "8d714a8a-4dc8-45f9-b91f-8f329f95b7cc",
"exec": [
"//Ensure there were no error codes in the API response\r",
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});\r",
"pm.test(\"Status description - OK\", function () {\r",
" pm.response.to.have.status(\"OK\");\r",
"});\r",
"\r",
"//get the record count\r",
"try {\r",
" let resBody = pm.response.json();\r",
"\r",
" let recordCount = resBody.totalCount;\r",
" tests[\"Record count: \" + recordCount] = recordCount >= 1;\r",
" }\r",
"catch (e) {\r",
" console.log(e.message);\r",
"}"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "noauth"
......@@ -3573,7 +3689,7 @@
],
"body": {
"mode": "raw",
"raw": "{\r\n \"kind\": \"opendes:osdu:welllog-wpc:0.2.1\",\r\n \"query\": \"data.Curves.Mnemonic: RHOB\",\r\n \"limit\": 1000\r\n}",
"raw": "{\r\n \"kind\": \"{{data-partition-id}}:osdu:welllog-wpc:0.2.1\",\r\n \"query\": \"data.Curves.Mnemonic: RHOB\",\r\n \"limit\": 1000\r\n}",
"options": {
"raw": {
"language": "json"
......
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