Creating a simulated element
To create a simulated element:
Verify if a simulation file is available that uses the relevant protocol. To do so, in the folder C:\Skyline DataMiner\simulations\, look for an .xml file with a file name consisting of the term "Simulation" and the name of the protocol.
If no simulation file is available yet, it will first need to be created. See Creating a simulation file.
In DataMiner Cube, right-click the view where you want to create the simulated element, and select New > Element.
Enter the element name and protocol, like during the creation of a normal element. See Adding elements.
For the IP address and port, enter the localhost IP, 127.0.0.1, and specify a port that is not used.
Finish element creation as for a normal element.
The element will be added in the Surveyor, and should go into timeout state after a short time.
Right-click the element, and select Actions > Enable simulation. The element will then restart and begin using the simulation file for its responses.
Note
- Make sure you only do this with elements for which there is a simulation file in the folder C:\Skyline DataMiner\simulations\. Otherwise, the element will become unresponsive.
- Simulations of elements with HTTP protocols are currently not yet supported.
Tip
See also: Simulated elements
Creating a simulation file
To create a simulation file based on an element in DataMiner Cube:
Right-click the element for which you want to create a simulation file.
In the context menu, select Actions > Create simulation.
A message box will appear to indicate that the simulation file has been created.
Click OK in the message box.
On the DMA, go to the following directory: C:\Skyline DataMiner\Protocols\NAME\VERSION\
Copy the file named Simulation_ELEMENTNAME.xml to the following directory: C:\Skyline DataMiner\simulations\
Restart the DMA.