What is Peach
Installing
Tutorials
Methodology
Introduction
Training
Enterprise
FAQ
Support Forums
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

ConsoleHex Publisher

The ConsoleHex publisher will output data to standard out. The data will be displayed in pretty hex format.

Parameters

  • BytesPerLine — Number of bytes per row of text (optional, defaults to 16)

Actions

  • output — Data to be displayed

Examples

Display data to console
<DataModel name="Data">
   <!-- ... -->
</DataModel>

<StateModel name="TheState">
  <State name="initial">
    <Action type="output">
      <DataModel ref="Data" />
    </Action>
  </State>
</StateModel>

<Test name="Default">
  <!-- ... -->
  <Publisher class="ConsoleHex" />
</Test>
Display data with custom bytes per line
<DataModel name="Data">
   <Blob/>
</DataModel>

<StateModel name="TheState">
  <State name="initial">
    <Action type="input">
      <DataModel ref="Data" />
    </Action>
  </State>
</StateModel>

<Test name="Default">
  <!-- ... -->
  <Publisher class="ConsoleHex">
    <Param name="BytesPerLine" value="8" />
  </Publisher>
</Test>