Data Recorder
This task will record the incoming Dex data for later playback.
OPTION | DESCRIPTION |
---|---|
Record/Play | When set to record, this component records the incoming data stream. When set to play, it plays the last recorded datastream back. |
While not immediately obvious, there are many situations where this component can help. For instance, imagine that we are trying to test a flow which reads in slowly from some high latency network.
In this situation, since the input does not change from run to run, we might speed up our test iterations by choosing to record the incoming data, then setting it to play this data back on subsequent runs.
In this way, we avoided many redundant calls to the datastore.
INPUT
No special requirements.
OUTPUT
In record mode, the data is recorded, but not changed and get passed to the next task as input.
In playback mode, data recorder replaces the data with the recorded output. This gets passed to the next task as input.
Also note that the playback data gets embedded in the project as XML, so load/save times for your project may suffer with large amounts of recorded data embedded within.