Raw Data SourceThis !PreProcessor allows more flexible file reading than CSV Data Set Config: - length-prefixed format allows storing and reading binary data, this is useful when you use TCP or Raw samplers - it is PreProcessor, so it may be placed in different scopes and affect selected samplers - it is shared between all threads, so file may be read consecutively by parallel threads The plugin makes [HTTP Raw Request and UDP Request usage easier and allows load testing with huge datasets at high request rate.
Raw File FormatFile reader use length-prefixed binary file format. It reads data until newline and tries to interpret it as next chunk length. Then it reads file for calculated length and assigns data to variable. Then repeats. Chunk example:
Make note that you may have several extra newlines after chunk data before next chunk size. Also you may have any data after chunk size before newline (separated from size with space), it will be used in future versions as chunk marker. ExampleRaw File Example #1 - HEX-encoded binary data for DNS requests |