At-scale testing of the corinthian middleware using simulated entities.
- Python3
- HTTP Requests library for Python3
- Pika for Python3 (python3-pika)
- SimPy for Python3 (https://simpy.readthedocs.io/en/latest/) version > 3.0.10
- Corinthian middleware (https://github.com/rbccps-iisc/corinthian) installed on the local machine or a remote server
-
The routines for communicating with the Corinthian middleware are present at /messaging/corinthian_messaging.py. The IP address of the middleware installation is "localhost" by default. This can be changed in the same file.
-
To run basic tests for communication with the middleware:
$ cd messaging
$ python3 corinthian_messaging.py
$ python3 setup_entities.py
$ python3 communication_interface.py
- To run tests with simulated devices and apps running in a SimPy environment:
$ cd simple_entities
$ ./do_setup.py
$ ./run_simulation.py
Neha Karanjkar
Poorna Chandra Tejasvi