Run Hurl tests against a Node.js server

A simple script to run Hurl tests against a Node.js server

#!/bin/bash
set -eu # throw if things go bad

echo "Booting server"
npm run start &
serverPid=$!

sleep 2 # a smarter script would ping server

echo -e "\nRunning Hurl tests\n"
npx hurl --test test/integration/*.hurl

echo -e "Stopping server <${serverPid}>"
kill $serverPid

from DynamoDB (7.2ms) to HTML (10ms) in 18ms