config:
  # target: "https://api.live.thehmm.karls.computer"
  # target: "https://live.thehmm.karls.computer/LightLightLight"
  # target: "http://localhost:3000/LightLightLight"
  target: "https://live.thehmm.nl"
  plugins:
    uuid:
      vars: [ 'id' ]
  phases:
    - duration: 30
      arrivalCount: 500
      name: Warm up
scenarios:
  - engine: socketio
    flow:
      - options:
          url: '/api'
          beforeRequest: addUUID
      - emit:
          channel: 'viewer'
          data:
            uuid: '{{ id }}'
            name: 'testBot'
      - think: 2
      - emit:
          channel: 'emoji'
          data:
            uuid: '{{ id }}'
            group: 'the-creator-economy'
            emoji: 'kim crying'
      - emit:
          channel: 'join_CC_room'
      - think: 5
      - emit:
          channel: 'leave_CC_room'
      - think: 15
      # - think: 30
