auto-test and mock opensmpp message exchange

232 Views Asked by At

I wrote a code that communicates with provider by SMPP protocol, using OpenSMPP. Now I want to add some autotests for that: start my own smpp server running on localhost:port, send message there from my code, mock response, check that sent parameters are ok, etc as with any web mocks. Looked through OpenSMPP sources but can't find any example. They have simulation tool in subproject, but I would like to avoid starting external processes. Any solution available?

0

There are 0 best solutions below