Skip to main content

Agent and modules generated by the plugin

The plugin will createcreates an agent,agent with the name given by the --agent_name parameter (or JMX by default) that will contain the modules of each statistic definedspecified in theagent_name configuration(default file."{script} So,Oculix") for example, the execution of this plugin againstcontaining the following conf:modules:

Module nameTypeDescription
{script_name} statusgeneric_procScript execution status. Value 1 if execution was successful, 0 if there was an error or visual difference.
{script_name} timegeneric_dataScript execution time in seconds.
{script_name} last_imageasync_stringScreenshot in base64 format (PNG image). Only generated when the status is 0 (failure or visual difference).

Example: for a script called login, the generated modules would be:

java.lang:type=Threading/TotalThreadAllocatedByteslogin java.lang:type=Threading/CurrentThreadAllocatedBytesstatus
java.lang:type=Threading/ThreadAllocatedMemoryEnabledlogin java.lang:type=Threading/ThreadAllocatedMemorySupportedtime
java.lang:type=Threading/ThreadCountlogin java.lang:type=Threading/TotalStartedThreadCount
java.lang:type=Threading/AllThreadIds
java.lang:type=Threading/CurrentThreadCpuTime
java.lang:type=Threading/CurrentThreadUserTime
java.lang:type=Threading/ThreadCpuTimeSupported
java.lang:type=Threading/ThreadCpuTimeEnabled
java.lang:type=Threading/ThreadContentionMonitoringEnabled
java.lang:type=Threading/ThreadContentionMonitoringSupported
java.lang:type=Threading/CurrentThreadCpuTimeSupported
java.lang:type=Threading/ObjectMonitorUsageSupported
java.lang:type=Threading/SynchronizerUsageSupported
java.lang:type=Threading/PeakThreadCount
java.lang:type=Threading/DaemonThreadCount
java.lang:type=Threading/ObjectNamelast_image

I would create the following modules :

image.png