Anatomy of a template

A template describes how a single device behaves during the simulation. The basic structure of a template editor could be described as follows.

Protocol Specifier

This section is specific to the protocol being used to define the template. It contains server settings and protocol specific information. Note that various fields in this section are scriptable.


This section contains the username/password or certificate information for the template. Note that it's possible to script that field using handebar expressions {{}} thereby enabling unique username and passwords for each client.


This tabular section contain function code for setup, message and teardown function. This is where you will need to specify the actual logic of your device. We will revisit this section in much more detail.