Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
63 lines (63 sloc)
1.72 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- timeout: 3000 | |
publishers: | |
- type: tcp | |
timeout: 1000 | |
serverAddress: localhost | |
port: 23069 | |
payload: Hey Jude | |
onMessageReceived: | |
assertions: | |
- expect: payload | |
toBeEqualTo: `Do not make it bad` | |
subscriptions: | |
- type: tcp | |
port: 23069 | |
timeout: 1000 | |
response: Do not make it bad | |
onMessageReceived: | |
assertions: | |
- expect: payload | |
toBeEqualTo: `Hey Jude` | |
- expect: stream.address | |
toContain: `127.0.0.1` | |
- timeout: 3000 | |
publishers: | |
- type: tcp | |
timeout: 800 | |
serverAddress: localhost | |
port: 23070 | |
payload: I do not care | |
saveStream: tcpPublisherSocket | |
onMessageReceived: | |
assertions: | |
- expect: payload | |
toBeEqualTo: `EnqueuerRocks` | |
subscriptions: | |
- type: tcp | |
port: 23070 | |
timeout: 500 | |
saveStream: tcpSubscriptionSocket | |
greeting: Enqueuer | |
response: Rocks | |
onMessageReceived: | |
assertions: | |
- expect: payload | |
toBeEqualTo: `I do not care` | |
- timeout: 3000 | |
publishers: | |
- type: tcp | |
payload: The socket is still open | |
loadStream: tcpPublisherSocket | |
onMessageReceived: | |
assertions: | |
- expect: payload | |
toBeEqualTo: `<<tcpPayload>>` | |
subscriptions: | |
- type: tcp | |
loadStream: tcpSubscriptionSocket | |
response: <<tcpPayload>> | |
timeout: 1000 | |
onMessageReceived: | |
assertions: | |
- expect: payload | |
toBeEqualTo: `The socket is still open` |