Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Platform Validation
Commits
673d1e46
Commit
673d1e46
authored
Jul 16, 2020
by
Kamlesh Todai
Browse files
Merge branch 'darshanaherath-master-patch-28260' into 'master'
Adding exception handling. See merge request
!50
parents
799d0627
811a9513
Pipeline
#3867
failed with stages
in 8 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Postman Collection/06_CICD_Setup_SeismicWorkflow/Seismic CI-CD v1.5.postman_collection.json
View file @
673d1e46
...
...
@@ -2611,25 +2611,20 @@
"pm.test(
\"
Status code is 201
\"
, function () {"
,
" pm.response.to.have.status(201);"
,
"});"
,
"/*pm.test(
\"
Status description - Records created and/or updated successfully.
\"
, function () {"
,
" pm.response.to.have.status(
\"
Records created and/or updated successfully.
\"
);"
,
"});*/"
,
"try {"
,
"var jsonData = pm.response.json();"
,
"/*pm.test(
\"
Record ingested:
\"
, function () { "
,
" pm.expect(jsonData.recordIds[0]).to.equal(pm.environment.get(
\"
recordID
\"
));"
,
" console.log(jsonData.recordIds);"
,
"});*/"
,
""
,
"pm.test(
\"
No records were skipped
\"
, function () {"
,
" // var jsonData = pm.response.json();"
,
" pm.expect(jsonData.skippedRecordIds.length).to.equal(0);"
,
" pm.environment.set(
\"
SeismicHorizonRecordID
\"
, jsonData.recordIds[0]);"
,
"});"
,
""
,
"pm.test(
\"
Record ingested:
\"
+ jsonData.recordIds[0] , function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds.length)>0;"
,
"});"
"});"
,
"}"
,
"catch (e) {"
,
" console.log(e.message);"
,
"}"
,
""
],
"type"
:
"text/javascript"
}
...
...
@@ -2704,25 +2699,20 @@
"pm.test(
\"
Status code is 201
\"
, function () {"
,
" pm.response.to.have.status(201);"
,
"});"
,
"/*pm.test(
\"
Status description - Records created and/or updated successfully.
\"
, function () {"
,
" pm.response.to.have.status(
\"
Records created and/or updated successfully.
\"
);"
,
"});*/"
,
"try {"
,
"var jsonData = pm.response.json();"
,
"/*pm.test(
\"
Record ingested:
\"
, function () { "
,
" pm.expect(jsonData.recordIds[0]).to.equal(pm.environment.get(
\"
recordID
\"
));"
,
" console.log(jsonData.recordIds);"
,
"});*/"
,
""
,
"pm.test(
\"
No records were skipped
\"
, function () {"
,
" // var jsonData = pm.response.json();"
,
" pm.expect(jsonData.skippedRecordIds.length).to.equal(0);"
,
" pm.environment.set(
\"
SeismicHorizonRecordID
\"
, jsonData.recordIds[0]);"
,
"});"
,
""
,
"pm.test(
\"
Record ingested:
\"
+ jsonData.recordIds[0] , function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds.length)>0;"
,
"});"
"});"
,
"}"
,
"catch (e) {"
,
" console.log(e.message);"
,
"}"
,
""
],
"type"
:
"text/javascript"
}
...
...
@@ -2796,28 +2786,19 @@
"pm.test(
\"
Status code is 201
\"
, function () {"
,
" pm.response.to.have.status(201);"
,
"});"
,
"/*pm.test(
\"
Status description - Records created and/or updated successfully.
\"
, function () {"
,
" pm.response.to.have.status(
\"
Records created and/or updated successfully.
\"
);"
,
"});*/"
,
""
,
"/*pm.test(
\"
Record ingested:
\"
, function () {"
,
" var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds[0]).to.equal(pm.environment.get(
\"
recordID
\"
));"
,
" console.log(jsonData.recordIds);"
,
"});*/"
,
"try {"
,
"var jsonData = pm.response.json();"
,
"pm.test(
\"
No records were skipped
\"
, function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.skippedRecordIds.length).to.equal(0);"
,
" pm.environment.set(
\"
Seismic
Trace
nRecordID
\"
, jsonData.recordIds[0]);"
,
" pm.environment.set(
\"
Seismic
Horizo
nRecordID
\"
, jsonData.recordIds[0]);"
,
"});"
,
""
,
"pm.test(
\"
Record ingested:
\"
+ jsonData.recordIds[0] , function () {"
,
" var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds.length)>0;"
,
"});"
,
""
,
""
,
"}"
,
"catch (e) {"
,
" console.log(e.message);"
,
"}"
,
""
],
"type"
:
"text/javascript"
...
...
@@ -2892,28 +2873,19 @@
"pm.test(
\"
Status code is 201
\"
, function () {"
,
" pm.response.to.have.status(201);"
,
"});"
,
"/*pm.test(
\"
Status description - Records created and/or updated successfully.
\"
, function () {"
,
" pm.response.to.have.status(
\"
Records created and/or updated successfully.
\"
);"
,
"});*/"
,
""
,
"/*pm.test(
\"
Record ingested:
\"
, function () {"
,
" var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds[0]).to.equal(pm.environment.get(
\"
recordID
\"
));"
,
" console.log(jsonData.recordIds);"
,
"});*/"
,
"try {"
,
"var jsonData = pm.response.json();"
,
"pm.test(
\"
No records were skipped
\"
, function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.skippedRecordIds.length).to.equal(0);"
,
" pm.environment.set(
\"
Seismic
Trace
nRecordID
\"
, jsonData.recordIds[0]);"
,
" pm.environment.set(
\"
Seismic
Horizo
nRecordID
\"
, jsonData.recordIds[0]);"
,
"});"
,
""
,
"pm.test(
\"
Record ingested:
\"
+ jsonData.recordIds[0] , function () {"
,
" var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds.length)>0;"
,
"});"
,
""
,
""
,
"}"
,
"catch (e) {"
,
" console.log(e.message);"
,
"}"
,
""
],
"type"
:
"text/javascript"
...
...
@@ -2988,26 +2960,19 @@
"pm.test(
\"
Status code is 201
\"
, function () {"
,
" pm.response.to.have.status(201);"
,
"});"
,
"/*pm.test(
\"
Status description - Records created and/or updated successfully.
\"
, function () {"
,
" pm.response.to.have.status(
\"
Records created and/or updated successfully.
\"
);"
,
"});*/"
,
"try {"
,
"var jsonData = pm.response.json();"
,
"/*pm.test(
\"
Record ingested:
\"
, function () {"
,
" var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds[0]).to.equal(pm.environment.get(
\"
recordID
\"
));"
,
" console.log(jsonData.recordIds);"
,
"});*/"
,
""
,
"pm.test(
\"
No records were skipped
\"
, function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.skippedRecordIds.length).to.equal(0);"
,
" pm.environment.set(
\"
Seismic
AcquisitionProject
RecordID
\"
, jsonData.recordIds[0]);"
,
" pm.environment.set(
\"
Seismic
Horizon
RecordID
\"
, jsonData.recordIds[0]);"
,
"});"
,
""
,
"pm.test(
\"
Record ingested:
\"
+ jsonData.recordIds[0] , function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds.length)>0;"
,
"});"
,
"}"
,
"catch (e) {"
,
" console.log(e.message);"
,
"}"
,
""
],
"type"
:
"text/javascript"
...
...
@@ -3082,26 +3047,19 @@
"pm.test(
\"
Status code is 201
\"
, function () {"
,
" pm.response.to.have.status(201);"
,
"});"
,
"/*pm.test(
\"
Status description - Records created and/or updated successfully.
\"
, function () {"
,
" pm.response.to.have.status(
\"
Records created and/or updated successfully.
\"
);"
,
"});*/"
,
""
,
"/*pm.test(
\"
Record ingested:
\"
, function () {"
,
" var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds[0]).to.equal(pm.environment.get(
\"
recordID
\"
));"
,
" console.log(jsonData.recordIds);"
,
"});*/"
,
"try {"
,
"var jsonData = pm.response.json();"
,
"pm.test(
\"
No records were skipped
\"
, function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.skippedRecordIds.length).to.equal(0);"
,
" pm.environment.set(
\"
Seismic
InterpretationProject
RecordID
\"
, jsonData.recordIds[0]);"
,
" pm.environment.set(
\"
Seismic
Horizon
RecordID
\"
, jsonData.recordIds[0]);"
,
"});"
,
""
,
"pm.test(
\"
Record ingested:
\"
+ jsonData.recordIds[0] , function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds.length)>0;"
,
"});"
,
"}"
,
"catch (e) {"
,
" console.log(e.message);"
,
"}"
,
""
],
"type"
:
"text/javascript"
...
...
@@ -3176,26 +3134,20 @@
"pm.test(
\"
Status code is 201
\"
, function () {"
,
" pm.response.to.have.status(201);"
,
"});"
,
"/*pm.test(
\"
Status description - Records created and/or updated successfully.
\"
, function () {"
,
" pm.response.to.have.status(
\"
Records created and/or updated successfully.
\"
);"
,
"});*/"
,
"try {"
,
"var jsonData = pm.response.json();"
,
"/*pm.test(
\"
Record ingested:
\"
, function () {"
,
" var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds[0]).to.equal(pm.environment.get(
\"
recordID
\"
));"
,
" console.log(jsonData.recordIds);"
,
"});*/"
,
""
,
"pm.test(
\"
No records were skipped
\"
, function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.skippedRecordIds.length).to.equal(0);"
,
" pm.environment.set(
\"
Seismic
ProcessingProject
RecordID
\"
, jsonData.recordIds[0]);"
,
" pm.environment.set(
\"
Seismic
Horizon
RecordID
\"
, jsonData.recordIds[0]);"
,
"});"
,
""
,
"pm.test(
\"
Record ingested:
\"
+ jsonData.recordIds[0] , function () {"
,
" //var jsonData = pm.response.json();"
,
" pm.expect(jsonData.recordIds.length)>0;"
,
"});"
"});"
,
"}"
,
"catch (e) {"
,
" console.log(e.message);"
,
"}"
,
""
],
"type"
:
"text/javascript"
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment