|
2417 | 2417 | "listen": "test", |
2418 | 2418 | "script": { |
2419 | 2419 | "exec": [ |
2420 | | - "pm.test.skip(\"C4438464 Status code is 200\", () => {pm.response.to.have.status(200)});", |
| 2420 | + "pm.test(\"C4438464 Status code is 200\", () => {pm.response.to.have.status(200)});", |
2421 | 2421 | "const content = pm.response.json();", |
2422 | 2422 | "pm.test.skip(\"C4438464 Correct hits returned\", () => {pm.expect(content.summary.hits).to.eql(5)});", |
2423 | 2423 | "", |
|
2461 | 2461 | "listen": "test", |
2462 | 2462 | "script": { |
2463 | 2463 | "exec": [ |
2464 | | - "pm.test.skip(\"C4438481 Status code is 200\", () => { pm.response.to.have.status(200) });", |
| 2464 | + "pm.test(\"C4438481 Status code is 200\", () => { pm.response.to.have.status(200) });", |
2465 | 2465 | "const content = pm.response.json();", |
2466 | 2466 | "const relevantHits = content.data.filter(hit => hit.properties.lid[0] === \"urn:nasa:pds:mars2020.spice:spice_kernels:mk_m2020\")", |
2467 | 2467 | "pm.test.skip(\"C4438481 Correct hits returned\", () => { pm.expect(relevantHits.length).to.eql(1) });", |
|
2557 | 2557 | "listen": "test", |
2558 | 2558 | "script": { |
2559 | 2559 | "exec": [ |
2560 | | - "pm.test.skip(\"C4438466 Status code is 200\", () => {pm.response.to.have.status(200)});", |
| 2560 | + "pm.test(\"C4438466 Status code is 200\", () => {pm.response.to.have.status(200)});", |
2561 | 2561 | "const content = pm.response.json();", |
2562 | 2562 | "pm.test.skip(\"C4438466 Correct hits returned\", () => {pm.expect(content.summary.hits).to.eql(1)});", |
2563 | 2563 | "pm.test.skip(\"C4438466 Correct data returned\", () => {pm.expect(content.data[0].id).to.eql(\"urn:nasa:pds:mars2020.spice::3.0\")});", |
|
2601 | 2601 | "listen": "test", |
2602 | 2602 | "script": { |
2603 | 2603 | "exec": [ |
2604 | | - "pm.test.skip(\"C4438483 Status code is 200\", () => {pm.response.to.have.status(200)});", |
| 2604 | + "pm.test(\"C4438483 Status code is 200\", () => {pm.response.to.have.status(200)});", |
2605 | 2605 | "const content = pm.response.json();", |
2606 | 2606 | "const relevantHits = content.data.filter(hit => hit.properties.lid[0] === \"urn:nasa:pds:mars2020.spice\")", |
2607 | 2607 | "pm.test.skip(\"C4438483 Correct hits returned\", () => { pm.expect(relevantHits.length).to.eql(1) });", |
|
0 commit comments