Skip to content

Instantly share code, notes, and snippets.

@yomajkel
Created Sep 24, 2018
Embed
What would you like to do?
the description for this gist
val scenarioAlpakka = scenario("Upload 1 MB file to S3 with alpakka")
.exec(uploadFileRequest(alpakkaUploadPath, mb1FileName))
val scenarioTmpFile = scenario("Upload 1 MB file to S3 with tmp file")
.exec(uploadFileRequest(tmpFilePath, mb1FileName))
val scenarioTmpMultipart = scenario("Upload 1 MB file to S3 with tmp file and multipart upload")
.exec(uploadFileRequest(tmpFileMultipartPath, mb1FileName))
setUp(
/* scenario val */.inject(
splitUsers(30) into (atOnceUsers(5)) separatedBy (5 seconds)
).protocols(httpConf),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment