Class ParsePacketDissections


  • public class ParsePacketDissections
    extends java.lang.Object
    If you use `tshark ... -w data.tshark > parsed.txt` when the test is over, the parse will continue running and can take a lot of time. In order to speed up, we are going to parse the output from `-w ` Open in Wireshark the output resulted from -w from the tshark command. Columns: No. Time Source Destination Protocol length Info Menu View -> Time Display Format -> Time of the Day Menu View -> Time Display Format -> Automatic ( from capture file ) The hour in the Wireshark can be different when comparing with the the application log because of the timezone. If you know the time of the error, you can apply a display filter to reduce the exported file size. Example: (frame.time >= "Jul 15, 2022 15:47:00" && frame.time <= "Jul 15, 2022 15:49:00") Menu File -> Export Packet Dissections -> As Plain Text Fill the File name: All packets captured Packet Format: ( keep selected only the folling ) Summary line Bytes In the bottom, a status bar with the progress will appear.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParsePacketDissections

        public ParsePacketDissections()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception