| mongoDB protocol module test info | |
| ________________________________________________________________________ | |
| 1) Prerequisites | |
| ________________________________________________________________________ | |
| -mongoDB access (local or remote) | |
| -wireshark (https://www.wireshark.org/) [optional] | |
| -https://github.com/eclipse/titan.TestPorts.Common_Components.Socket-API | |
| -https://github.com/eclipse/titan.TestPorts.IPL4asp | |
| ________________________________________________________________________ | |
| 2) Prepare your TTCN mongoDB test | |
| ________________________________________________________________________ | |
| - unpack mongoDBTest.zip file, then create symbolic links with: | |
| > cd MongoDBTest/bin | |
| > ../src/install.script | |
| - set up your mongoDB connection parameters (host/port) in | |
| cfg/mongoDB.cfg file: | |
| ... | |
| // Local TCP connection address | |
| LocalTCPConnection := { "127.0.0.1", 3000 }; | |
| // Remote TCP connection address (mongoDB database) | |
| RemoteTCPConnection := { "127.0.0.1", 27017 }; | |
| ... | |
| ________________________________________________________________________ | |
| 3) Build and run test(s) | |
| ________________________________________________________________________ | |
| > make | |
| > ./mongoDBTest ../cfg/mongoDB.cfg | |
| ________________________________________________________________________ | |
| Additional info/help | |
| ________________________________________________________________________ | |
| - The Makefile was generated with: | |
| > makefilegen -s -e mongoDBTest *.ttcn *.cc *.hh | |
| - Installing mongoDB: | |
| https://docs.mongodb.com/manual/administration/install-community/ | |