Giter Club home page Giter Club logo

smpp-server-simulator's Introduction

Simulates an SMPP server.

Simulates an SMPP server with a 1 in 10 chance of returning error status on submit_sm (SMS sending) requests.

1. Clone the repository
2. Run npm install
3. Run npm start
4. Connect and send smpp commands to it

TODO

  • Set success and error percentage via configuration (maybe env variables)
  • Inbox simulation
  • Implement winston or bunyan as logging tool
  • Liveness check (?)
  • Readiness check (?)
  • Test all smpp callbacks

License

MIT

smpp-server-simulator's People

Contributors

ataquino avatar dependabot[bot] avatar theodorosidmar avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

smpp-server-simulator's Issues

error on close

hi
we have error on close

TypeError: session.close is not a function
    at Object.module.exports (D:\wamp64\www\product\SmppClient\other-test\smpp-server-simulator\src\server\callbacks\error.js:5:11)
    at Session.emit (node:events:390:28)
    at Socket.<anonymous> (D:\wamp64\www\product\SmppClient\other-test\smpp-server-simulator\node_modules\smpp\lib\smpp.js:37:8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.