Autopush Smoke Test
Project description
This app is designed to exercise the Autopush server. Tests can be contained as a JSON file.
e.g.
[["hello", {}],
["register", {}],
["push", {"data": "mary had a little lamb"}],
["ack", {}],
]
The following commands are available:
hello - begin session with autopush server.
- args
uaid either None if new session or a previous uaid
register - register a new Channel
args - channelID uuid of the channel to create (None if new)
key - VAPID public key base64 string (optional)
push - push to an endpoint
args
pushEndpoint - the push endpoint (defaults to registered)
data - Data to push
headers - Dictionary of headers to include in push
ack - Acknowledge the last received message
Args
channelID - ChannelID of the last message (defaults to last recv’d)
version - message version information (defaults to last recv’d)
done - Close down connection
Args
None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file push-test-0.1.0.tar.gz
.
File metadata
- Download URL: push-test-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155a0fc36c7c37a2b1eea3ee5362682da009c20d2b52b208340d8334eabe20c5 |
|
MD5 | f9d7d693cb61893dd3e8b731af3e00c7 |
|
BLAKE2b-256 | b86c70013294f825fc53fbafac131980dc7fc24858f7d55088a7d34cf99c3795 |