UNPKG

@apica-io/asm-pm-runner

Version:

Run a postman collection in Apica ASM.

156 lines 5.27 kB
{ "name": "Trigger Alerts", "type": "Postman.Collection", "producer": "@apica-io/asm-pm-runner 1.2.0", "result_version": "1.2.0", "success": false, "duration_ms": 4117, "content_length": 154, "metrics": { "prepare": 54, "socket_wait_ms": 12, "dns_time_ms": 1, "tcp_connect_ms": 9, "secure_handshake_ms": 23, "time_to_first_byte_ms": 4049, "download_time_ms": 21, "process_time_ms": 7, "total_time_ms": 4176 }, "variables": [], "steps": [ { "name": "Trigger Alerts", "success": false, "duration_ms": 4117, "start_timestamp_ms": 1631168752432, "end_timestamp_ms": 1631168753169, "content_length": 154, "metrics": { "prepare": 54, "socket_wait_ms": 12, "dns_time_ms": 1, "tcp_connect_ms": 9, "secure_handshake_ms": 23, "time_to_first_byte_ms": 4049, "download_time_ms": 21, "process_time_ms": 7, "total_time_ms": 4176 }, "requests": [ { "name": "Step1: Change URL to F", "url": "https://api-wpm.apicasystem.com/dev.devs2/checks/browser/45369?auth_ticket=93EAB79B-0673-46D2-8B9D-4BAB4EF1C6FF", "method": "PUT", "request_headers": { "Content-Type": "application/json", "Content-Length": "66", "User-Agent": "PostmanRuntime/7.28.2", "Accept": "*/*", "Cache-Control": "no-cache", "Postman-Token": "f0d39ec7-7a69-4dba-9920-64e1d3ef7002", "Host": "api-wpm.apicasystem.com", "Accept-Encoding": "gzip, deflate, br", "Connection": "keep-alive" }, "success": true, "duration_ms": 3776, "start_timestamp_ms": 1631168752432, "end_timestamp_ms": 1631168756208, "content_length": 0, "metrics": { "prepare": 51, "socket_wait_ms": 11, "dns_time_ms": 1, "tcp_connect_ms": 9, "secure_handshake_ms": 23, "time_to_first_byte_ms": 3715, "download_time_ms": 16, "process_time_ms": 1, "total_time_ms": 3826 }, "status": 200, "status_text": "OK", "headers": { "Cache-Control": "no-cache", "Strict-Transport-Security": "max-age=2592000", "Content-Security-Policy": "frame-ancestors 'self'", "Date": "Thu, 09 Sep 2021 06:25:52 GMT", "Expires": "-1", "Pragma": "no-cache", "Access-Control-Allow-Origin": "*", "X-Frame-Options": "sameorigin", "Content-Length": "0" } }, { "name": "Step2: Trigger check run", "url": "https://api-wpm.apicasystem.com/dev.devs2/checks/45369/job?auth_ticket=93EAB79B-0673-46D2-8B9D-4BAB4EF1C6FF", "method": "POST", "request_headers": { "Content-Type": "application/json", "Content-Length": "0", "User-Agent": "PostmanRuntime/7.28.2", "Accept": "*/*", "Cache-Control": "no-cache", "Postman-Token": "477980d1-bf78-4cce-be38-82bff0a138e2", "Host": "api-wpm.apicasystem.com", "Accept-Encoding": "gzip, deflate, br", "Connection": "keep-alive" }, "success": false, "duration_ms": 341, "start_timestamp_ms": 1631168752828, "end_timestamp_ms": 1631168753169, "content_length": 154, "metrics": { "prepare": 3, "socket_wait_ms": 1, "dns_time_ms": 0, "tcp_connect_ms": 0, "secure_handshake_ms": 0, "time_to_first_byte_ms": 334, "download_time_ms": 5, "process_time_ms": 6, "total_time_ms": 349 }, "status": 200, "status_text": "OK", "headers": { "Vary": "Accept-Encoding", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", "Content-Encoding": "gzip", "Strict-Transport-Security": "max-age=2592000", "Content-Security-Policy": "frame-ancestors 'self'", "Date": "Thu, 09 Sep 2021 06:25:52 GMT", "Expires": "-1", "Pragma": "no-cache", "Access-Control-Allow-Origin": "*", "X-Frame-Options": "sameorigin", "Content-Length": "154" }, "error": { "name": "AssertionFailure", "message": "Status code is 201 in [Step2: Trigger check run]" } } ], "assertions": [ { "source": "Step1: Change URL to F", "description": "Status code is 200", "status": "info", "value": true, "expression": "Status code is 200" } ] } ], "errors": [ { "name": "AssertionFailure", "message": "Status code is 201 in [Step2: Trigger check run]" } ] }