file.FilePerIteration
This publisher will create a new file for writing each test iteration.
<Publisher class="file.FilePerIteration">
<Param name="fileName" value="peach-%d.bin" />
</Publisher>
Parameters:
- fileName -- Filename template which must include "%d" once. The file # will replace the %d in the filename. [required]
Supported Actions:
Example:
<!-- Create a simple data template containing a single string -->
<DataModel name="HelloWorldTemplate">
<String value="Hello World!" />
</DataModel>
<StateModel name="State" initialState="State1">
<State name="State1">
<Action type="output">
<DataModel ref="HelloWorldTemplate"/>
</Action>
</State>
</StateModel>
<Test name="HelloWorldTest">
<StateModel ref="State"/>
<Publisher class="file.FilePerIteration">
<Param name="fileName" value="FilePer-%d.txt"/>
</Publisher>
</Test>
Peach Fuzzing Platform