Description
The upload test mimics a typical end user resource uploading scenario.
The test idea originally came from surf, where the process was used to compare the individual cloud platforms.
Each user loads an adjustable number of files with an adjustable file size into his home folder
Procedure
admincreatesNusers.Ncan be set with the k6--vusoption.- by default, it set to 1.
- each
userlogs into the system individually. - each
useruploads10files with a size of1mbeach into their home folder. admindeletes the created users.
the test runs N times for each user, for example if you define --vus 2 and --iterations 5 the testing steps as a whole will run 10 times (5 times per user).
Available options
- Shared options
ASSET_SIZE: size of the individual asset in kb- default value:
1000 export ASSET_SIZE=2000
- default value:
ASSET_QUANTITY: number of assets to be uploaded- default value:
10 export ASSET_QUANTITY=20
- default value:
How to run the test
please read here how the test can be executed, only the script is different