|
| 1 | +Simulator |
| 2 | +========= |
| 3 | + |
| 4 | +**WORK IN PROGRESS, do NOT use** |
| 5 | + |
| 6 | +The simulator is a full fledged modbus server/simulator. |
| 7 | + |
| 8 | +The purpose of the simulator is to provide support for client |
| 9 | +application test harnesses with end-to-end testing simulating real life |
| 10 | +modbus devices. |
| 11 | + |
| 12 | +The simulator allows the user to (all automated): |
| 13 | + |
| 14 | +- simulate a modbus device by adding a simple configuration, |
| 15 | +- simulate a multipoint line, but adding multiple device configurations, |
| 16 | +- simulate devices that are not conforming to the protocol, |
| 17 | +- simulate communication problems (data loss etc), |
| 18 | +- test how a client handles modbus response and exceptions, |
| 19 | +- test a client apps correct use of the simulated device. |
| 20 | + |
| 21 | +For details please see: |
| 22 | + |
| 23 | +- :ref:`Data model configuration` |
| 24 | +- :ref:`Simulator server` |
| 25 | + |
| 26 | +The web interface (activated optionally) allows the user to: |
| 27 | + |
| 28 | +- introduce modbus errors (like e.g. wrong length), |
| 29 | +- introduce communication errors (like splitting a message), |
| 30 | +- monitor requests/responses, |
| 31 | +- see/Change values online. |
| 32 | +- inject modbus errors like malicious a response, |
| 33 | +- run your test server in the cloud, |
| 34 | + |
| 35 | +For details please see: |
| 36 | + |
| 37 | +- :ref:`Web frontend` |
| 38 | + |
| 39 | + |
| 40 | +The REST API allow the test process to be automated |
| 41 | + |
| 42 | +- spin up a test server in your test harness, |
| 43 | +- set expected responses with a simple REST API command, |
| 44 | +- check the result with a simple REST API command, |
| 45 | +- test your client app in a true end-to-end fashion. |
| 46 | + |
| 47 | +The web server uses the REST API internally, which helps to ensure that it |
| 48 | +actually works. |
| 49 | + |
| 50 | +For details please see: |
| 51 | + |
| 52 | +- :ref:`REST API` |
0 commit comments