The topic assumes your using the LUA Development Tools Eclipse Plugin to create and test your custom Universal Decode scripts.
The Universal Decode SDK provides a set of files required to start working on your Universal Decode scripts development. You can get it from the publicly available GitHub repository.
Create a new Lua project. In Eclipse go to New ► Lua Project, set the project name and leave Create new project in workspace selected. Eclipse will create a new project directory in your workspace, which is
C:\eclipse\workspace by default.
Check out the Universal SDK files to
src in your project directory. This is the minimal set of files required to run scripts and unit tests:
Universal Decode script template containing all necessary declarations and the two required methods:
function parse_request(payload, stats) and
function parse_response(payload, stats)
Universal Decode test template used to run tests against your custom script.
A Dynatrace-provided script with the set of methods serving as the interface to communicate with the
RTM monitoring process. Do not modify it.
A standard Lua component defining the test framework. Do not modify it.
The NAM Probe module necessary to run the unit tests. Do not modify it.