/split-payload

Splits payload into response and request and writes to separate files

Primary LanguageJavaScript

Description

If you grep logs, look for response and request, then unescape json-strings, then prettify and e.t.c. This package is for you :)

Installation

npm install -g split-payload

Usage

zgrep YOUR_REQUEST_ID YOUR_PAYLOAD_ARCHIVE.gz | split-payload

As a result you get two files with prettified JSON in the current directory: request.json and response.json.

Status

CircleCI