Skip to content

Instantly share code, notes, and snippets.

@pumpkincouture
Last active August 29, 2015 14:18
Show Gist options
  • Save pumpkincouture/aca67bfefa38ffa4b391 to your computer and use it in GitHub Desktop.
Save pumpkincouture/aca67bfefa38ffa4b391 to your computer and use it in GitHub Desktop.
script : http browser
set host : localhost
set port : 5000
get : /form
ensure : response code equals 200
reject : body has content data=fatcat
set data : data=fatcat
post : /form
ensure : response code equals 200
get : /form
ensure : response code equals 200
ensure : body has content data=fatcat
set data : data=heathcliff
put : /form
ensure : response code equals 200
get : /form
ensure : body has content data=heathcliff
delete : /form
ensure : response code equals 200
get : /form
reject : body has content data=heathcliff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment