XML Messages

Simulates XMPP Machine-to-Machine (M2M) messages being sent between participants. Some are signed, some are not.

This report has been automatically generated by ComSim by Trust Anchor Group. The following command-line arguments where used to execute the simulation and generate the report:

ComSim.exe -d ComSim\bin\Debug\netcoreapp2.2\Data -e -i Examples\XmlMessages.xml -s ComSim\bin\Debug\netcoreapp2.2\Sniffers -st Examples\SnifferXmlToHtml.xslt -mr C:\ProgramData\IoT Gateway\Root\Reports\XmlMessages.md -xr C:\ProgramData\IoT Gateway\Root\Reports\XmlMessages.xml -master /Master.md -l C:\ProgramData\IoT Gateway\Root\Reports\XmlMessages.Log.xml -lt C:\ProgramData\IoT Gateway\Transforms\EventXmlToHtml.xslt -af ComSim\bin\Release\netcoreapp2.2\publish

Description

Simulates 100 XMPP clients over TCP exchanging signed and unsigned machine-readable XML messages randomly between each other during 10 minutes, at a total frequency of 1000 messages per minute.

Preparation

XMPP

The XMPP Client accounts are created automatically, if the broker being used supports XEP-0077: In-Band Registration. The account registration process can be protected using keys and secrets, if the broker supports XEP-0348: Signing Forms.

Performance Counters

For this simulation to work, the Performance.ws Web Service script available in the Examples folder in the ComSim project, needs to be copied to the /Reports web folder of the TAG Neuron or the IoT Gateway web server. For readability, the web service script contais the following script, executed when the resource is accessed:

{
    "cpuPercent":PerformanceCounters.GetCounter("Processor","_Total","% Processor Time").NextValue(),
    "networkBytesPerSec":PerformanceCounters.GetCounter("Network Interface","Microsoft Hyper-V Network Adapter","Bytes Total/sec").NextValue(),
    "memoryMBytesFree":PerformanceCounters.GetCounter("Memory","Available MBytes").NextValue()
}

General

Time units
Simulation Duration: 1 min
Time Base: Start of Simulation
Time Unit: 1 s
Time Cycle: 1 min
Bucket Time: 10 s
Start Date: 2020-10-13
Start Time: 13:16:24
End Date: 2020-10-13
End Time: 13:17:24

Activities

Total activity counts
Total activity counts
Total Activities

ReadPerformanceCounters

This activity measures the performance of the broker, as well as the machine performing the simulation.

Use Case chart for ReadPerformanceCounters
Use Case chart for ReadPerformanceCounters
Activity chart for ReadPerformanceCounters
Activity chart for ReadPerformanceCounters
Executions of ReadPerformanceCounters
Execution time of ReadPerformanceCounters

SendUnsignedMessage

This activity sends an unsigned XML message to a random recipient.

Use Case chart for SendUnsignedMessage
Use Case chart for SendUnsignedMessage
Activity chart for SendUnsignedMessage
Activity chart for SendUnsignedMessage
Executions of SendUnsignedMessage
Legend
Legend
Execution time of SendUnsignedMessage

ProcessUnsignedMessage

Processes a received unsigned message.

Use Case chart for ProcessUnsignedMessage
Use Case chart for ProcessUnsignedMessage
Activity chart for ProcessUnsignedMessage
Activity chart for ProcessUnsignedMessage
Executions of ProcessUnsignedMessage
Execution time of ProcessUnsignedMessage

SendSignedMessage

This activity sends a signed XML message to a random recipient. The XML message is signed using 4096-bit RSA keys using the XMLDSIG standard.

Use Case chart for SendSignedMessage
Use Case chart for SendSignedMessage
Activity chart for SendSignedMessage
Activity chart for SendSignedMessage
Executions of SendSignedMessage
Legend
Legend
Execution time of SendSignedMessage

ProcessSignedMessage

Processes a received signed message.

Use Case chart for ProcessSignedMessage
Use Case chart for ProcessSignedMessage
Activity chart for ProcessSignedMessage
Activity chart for ProcessSignedMessage
Executions of ProcessSignedMessage
Execution time of ProcessSignedMessage

Counters

Counters
Counters
Counters

Measurements

Send messages

Nr Messages sent
Legend
Legend
Time sending Messages

Received messages

Nr Messages processed
Legend
Legend
Time processing Messages

Performance

Message roundtrip
Legend
Legend
CPU %
Legend
Legend
Free Memory (GB)
Legend
Legend
Network (kB/s)
Legend
Legend

Events

Total event counts
Total event counts
Events