Recording and playing back message received timestamp in rmdstestclient and sink_driven_src tool

Is there a way for us to configure the rmdstestclient to also record the timestamp at which each message was received and then have the sink_driven_src put that timestamp in a separate FID of the message during playback? This would allow us to more accurately simulate exactly what happens when consuming the data in a live production setting.

Best Answer

  • For rmdstestclient, you may try using option -m and -micro to log the message timestamp.

    Here there are the descriptions:

        -?                 print help (False)
    -S Service Name or Comma Separated Services List. Max 10 Services can be specified. Format serviceName@connectionType@SvrHostname@sipcVersion
    -f Item List File
    ...
    -m Prepend timestamp (milliseconds) (False)
    -micro Prepend timestamp (microseconds) (False)
    ...

    For example,

    rmdstestclient -h 192.168.27.46 -S API_ELEKTRON_EPD_RSSL -u rmds -f items.txt -X -V -a

    image

    And this is another example for adding -m and -micro to running arguments:

    rmdstestclient -h 192.168.27.46 -S API_ELEKTRON_EPD_RSSL -u rmds -f items.txt -X -V -a -m -micro

    image

    The time values are timestamp when rmdstestclient receives messages.

    Hope this helps.

Answers