Directory Contents
formatting...Provide a list of files in the specified directory.
Format
Relative path of a directory under requests/
.
Arguments
Name | Type | Description | Default |
---|---|---|---|
repeat |
bool |
whether values should be reused, e.g. when reaching the end it should start from the beginning again | False |
random |
bool |
if files should be selected by random, instead of sequential from first to last | False |
Example
With the following directory structure:
And value for variable "AtomicDirectoryContents.files" is "files/ | repeat=True, random=False"
And put request "{{ AtomicDirectoryContents.files }}" with name "put-file" to endpoint "/tmp"
First request will provide file1.bin
, second file2.bin
etc.