This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

if we have developed our own protocol and if we want to perform regression test for that for dissection is it possible? if it is, then how?

asked 26 Mar '15, 04:41

ankit's gravatar image

ankit
65232328
accept rate: 25%


If you want to test your own dissector you can use the ./tools/fuzz-test.sh utility, see the page on fuzztesting. It depends on having capture files of your protocol in action and makes subtle changes (bit errors) in the packets. This capture file is then handed to the dissectors.

permanent link

answered 26 Mar '15, 05:15

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

You could try the approach that's used in the Wireshark test suite, run tshark against a known capture file and compare the output against the expected values.

permanent link

answered 26 Mar '15, 05:17

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×31

question asked: 26 Mar '15, 04:41

question was seen: 1,165 times

last updated: 26 Mar '15, 05:17

p​o​w​e​r​e​d by O​S​Q​A