Sequence Editing

Black Duck Defensics® User Guide

Version
latest

Black Duck Defensics test suites are designed for specific protocols. A test suite contains information on all the different fields and rules in a protocol. A message sequence is like a conversation between the test suite and the target, containing all the different questions and answers in the conversation.

Black Duck Defensics contains a sequence editor for editing test sequences. With the Sequence Editor you can customize the sequence for your SUT’s specific configuration. When you are editing a built-in sequence, you are actually creating a clone of the sequence, so you don't need to be afraid of making irreparable changes.

The Sequence Editor consists of an XML editor, a sequence diagram and a valid message model. The sequence diagram shows the incoming and outgoing messages and possible other sequence structures (optional messages, repeating messages). The valid message model shows one message at a time. You can see how changes made in the XML file affect the sequence diagram and the valid message model. To update the valid message model, click Update from the footer. Changes to the sequence diagram are applied instantaneously. Valid message model is currently only visible on some of the newest test suites.

Editing Message Sequences

You can edit existing messages sequences, and even create entirely new message sequences.

  1. To do this, load your Test Suite and go to Test Design.
    Figure 1. Test Design sequences
  2. Select your test sequence from the list and click on Open Sequence Editor.
    Figure 2. Sequence Editor
  3. After making the desired edits to the sequence, the custom sequence is saved by clicking Save and close.
  4. Created custom sequences are saved for later use and are available for use whenever the test suite is loaded.