1.0.16 • Published 8 years ago

corpse v1.0.16

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

Corpse

A simple server to replay HAR files, written specifically to test request and response interactions of a HTTP session.

Installation

npm install --save-dev corpse

Usage

node_modules/.bin/corpse --har /path/to/your/har/file --port 3031

Or in your package.json:

"scripts" : {
  ...
  "corpse": "node_modules/.bin/corpse --har /path/to/your/har/file --port 3031"
}

Then you can run the server with npm run corpse.

Todo

  • Test that requests are correct
  • Ensure that cookies set and returned correctly
  • Scrub location header urls
  • Ensure that all img src attributes are scrubbed
  • Test that query strings are correctly responded to
  • Add an index route with a list of routes
1.0.16

8 years ago

1.0.15

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago