Skip to main content

Autopush Smoke Test Application

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

Release files for push-test 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for push-test 0.1.1
File Size Uploaded
push-test-0.1.1.tar.gz 8.5 kB Details

Release files / push-test-0.1.1.tar.gz

Download URL push-test-0.1.1.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e4af2f4db889419170e664448591180a1895f122aa16388daa1bba2edbb945a5
BLAKE2b-256 checksum
How to use checksums
c6e6f2a2d70f2887472d3639d97680f1a4f1f1d4a18dcdc363592bdc3debd71c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page