Skip to content

wazo-platform/wazo-websocketd

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
etc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

wazo-websocketd

wazo-websocketd is a WebSocket server that delivers Wazo related events to clients.

Dependencies

  • python >= 3.6
  • see requirements.txt

Running integration tests

You need Docker installed on your machine.

  1. cd integration_tests
  2. pip install -r test-requirements.txt
  3. make test-setup
  4. make test

Benchmark

Using artillery

  • npm install -g artillery
  • Create scenarios in benchmark.yml:
config:
  target: "wss://<host>:9502?token=<token_id>&version=2"
  phases:
    - duration: 120
      arrivalRate: 8
    - pause: 120
  ws:
    # Ignore SSL certificate errors
    # - useful in *development* with self-signed certs
    rejectUnauthorized: false
scenarios:
  - engine: "ws"
    flow:
      - think: 5
      - send: '{"op": "start"}'
      - think: 240
  • artillery run benchmark.yml

Note: You may need to increase file descriptors of root: /etc/security/limits.d/asterisk.conf

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published