Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
push-test-0.1.1.tar.gz (8.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page