    context.body ?= ''
    context.headers ?= {}
    options =
-      host: 'localhost'
-      port: '8882'
+      port: context.port
       method: context.method
       path: context.url
       headers: context.requestHeaders

            waits 1000
            expect(context.passed).toBe false
            waitsFor ( -> context.passed ), 'latency-ridden request to finish', 3000

fs = require 'fs'
http = require 'http'
yaml = require 'js-yaml'
ce = require 'cloneextend'
endpointData = yaml.load (fs.readFileSync 'spec/data/e2e.yaml', 'utf8').trim()

createRequest = (context) ->
