archived-servertest
archived-servertest copied to clipboard
A simple HTTP server testing tool
This prevents the following warning by using a shorter default timeout for `hyperquest`: ``` (node:56380) TimeoutOverflowWarning: 4294967296000 does not fit into a 32-bit signed integer. Timer duration was truncated to...
This fixes this failing test in node@9 ``` # attach response to err.response and non-enumerable (node:28879) TimeoutOverflowWarning: 4294967296000 does not fit into a 32-bit signed integer. Timer duration was truncated...
Fairly trivial change set. I generated the test key and cert by following Node TLS docs (http://nodejs.org/api/tls.html#tls_tls_ssl), and added a simple test to ensure the correct protocol is being detected.
A large number of APIs are JSON only: passing {encoding: 'json'} to every request is likely to get very repetitive. This patch adds a .json property to the exported servertest...