peer-pad icon indicating copy to clipboard operation
peer-pad copied to clipboard

question: how to test resilience to network conditions?

Open pgte opened this issue 7 years ago • 1 comments
trafficstars

In order to automate tests for when network conditions change, I think we need some way to:

  • Spawn n browsers
  • Open the same pad on each of them
  • Cut network for some of them
  • Re-enable network for some of them
  • Observe app behaviour

By network here I mean disable Websockets connections to a websocket-star relaying service (now that peerpad-core is going to use websocket-star for transport instead of WebRTC..). Also, it would be nice if we could introduce some arbitrary latency between nodes.

(Also, I don't need to operate at the UI level: I could use the peerpad-core API instead).

@diasdavid has pointed me to piri-piri and karma-peer.

Any ideas, pointers or considerations?

pgte avatar Dec 06 '17 09:12 pgte

@dignifiedquire any thoughts on this? :)

pgte avatar Dec 06 '17 11:12 pgte