We recently upgraded our TREP infra in order to support WebSocket API, and we would like to use again the record and replay tool.
With RFA API we were using the following command to record :
rmdstestclient -S IDN_RDF -h trrt -p 14002 -ct rssl -u r_msa -ef RIC.lst -rf 8 -obf idn_rdf.dat
And this one to replay :
./sink_driven_src -S IDN_RDF -bdf idn_rdf.dat -U 1 -N 14001 -K -ik
And RIC.lst content :
What to we need to change to be able to record and replay the market data feed from our WebSocketAPI feed ? (host/port : trrt/15000)
I tried to change the -ct option to ws_json but the .dat output file is empty.
From my checking, the sink_driven_src or testserver tool doesn't provide an option for WebSocket connection. You may directly contact the Refinitiv Real-Time Distribution System support team via MyRefinitv to confirm it.
However, you can test the WebSocket connection by connecting to Refinitiv Real-Time Advanced Distribution Server.
You can use the same command when testing with RFA to record and replay data. Then configure the Refinitiv Real-Time Distribution System to connect to the sink_driven_src. Finally, run the application to connect to the Refinitiv Real-Time Distribution System that supports WebSocket to consume data from the WebSocket connection.