Skip to content

Instantly share code, notes, and snippets.

@mallim
Created January 27, 2015 03:31
Show Gist options
  • Save mallim/33ac5215c35808560403 to your computer and use it in GitHub Desktop.
Save mallim/33ac5215c35808560403 to your computer and use it in GitHub Desktop.
.exec(http("PERFORM A FILE UPLOAD")
.post("YOUR_DESIRED_URL_FOR_UPLOAD")
.body(ELFileBody("THE_FILE_TO_UPLOAD"))
.check(
status.is(200),
).asMultipartForm)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment