Skip to content

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:

.
└── requests
    └── files
        ├── file1.bin
        ├── file2.bin
        ├── file3.bin
        ├── file4.bin
        └── file5.bin
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.