transcript generation/update
See original GitHub issueLately I’ve been working a lot on my program, tinkering with the output and all.
I miss having more tests to check for regression.
I had started creating some transcripts but they got outdated and I am not sure what’s the best way to update them (from scratch ?).
Right now I believe the main approach is using history and because my program accepts commands from the command line, I can run
mptcpanalyzer -d DEBUG -l ~/pcaps/tmpatm6409s/client_2_.pcapng "summary_extended ~/pcaps/tmpatm6409s/client_2_.pcapng 1 ~/pcaps/tmpatm6409s/server_2_.pcapng 1" "history 1:1 -t transcript.txt" "quit"
but I would love to be able to update transcripts in place. Like for instance I have the following transcript.txt
server_2_filtered.pcapng> load_pcap examples/server_2_filtered.pcapng
Loading examples\/server_2_filtered.pcapng
server_2_filtered.pcapng> summary 0 Client
mptcpstream 0 transferred 308 bytes.
tcpstream 0 transferred 308 bytes out of 308, accounting for 100.00%
tcpstream 2 transferred 0 bytes out of 308, accounting for 0.00%
tcpstream 6 transferred 0 bytes out of 308, accounting for 0.00%
server_2_filtered.pcapng> summary 0 Server
mptcpstream 0 transferred 461 bytes.
tcpstream 0 transferred 456 bytes out of 461, accounting for 98.92%
tcpstream 2 transferred 5 bytes out of 461, accounting for 1.08%
tcpstream 6 transferred 0 bytes out of 461, accounting for 0.00%
And I could run a command for instance transcript update transcript.txt that reruns the commands and updates the outputs accordingly.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (7 by maintainers)

Top Related StackOverflow Question
@teto Your suggestion sounds like a reasonable one - I think it would be useful and easy to implement. So yeah, we will experiment with it and if it seems to work well we will add it.
@teto You are welcome! We will try to get the next release out sometime in the next couple weeks.