If your hub is a "public hub", e.g. it is a standalone service that can be used by any publisher, then you can use this option. If your hub is integrated with the publishing software, choose the other tab.
Provide the URL of your hub below. Once you do so, a sample blog will be generated that points to your hub, and this test will attempt to subscribe to updates about the blog from your hub.
Make sure your hub allows subscriptions for this domain. (Some hubs will require registration before a new domain is allowed to use them.)
Enter a topic URL that advertises its hub as the hub you want to test. You will be responsible for triggering the hub to send notifications to the subscriber.
This test will first subscribe to a topic, and will then send an unsubscription request. You will be able to test that the unsubscription is confirmed by seeing that a notification is not received when a new post is published.
The raw response from the subscription request is below
Waiting for subscription to be confirmed
Now that websub.rocks is subscribed to your hub, we can test the delivery of the WebSub notification.
Since you entered your own topic URL, you should now create a new post at that topic and trigger your hub to deliver notifications to all subscribers.
When this subscriber receives a notification, you will see the results below.
Now that websub.rocks is subscribed to your hub, we can test the delivery of the WebSub notification.
Click the button below to create a new post at the test topic URL. This will send a POST request to your hub notifying that there is new content.
The POST request will contain the following parameters:
hub.mode=publish
hub.topic=<the topic URL for this test>
Upon receiving this request, the hub should fetch the topic URL, and deliver the contents to the subscriber.
Waiting for notification
To continue the test, click the "unsubscribe" button below. This will cause this subscriber to request an unsubscription from the hub.
The raw response from the unsubscription request is below
Waiting for unsubscription to be confirmed
Now that websub.rocks has unsubscribed from your hub, we will check to make sure it does not receive further notifications when you make a new post.
Publish a new post and trigger your hub to send notifications to any remaining subscribers. You should not see a notification appear below.
Now that websub.rocks has unsubscribed from your hub, we will check to make sure it does not receive further notifications when you make a new post.
Click the button below to create a new post and trigger your hub to send out notifications to any remaining subscribers. You should not see a notification appear below.
Success!
It looks like your hub has correctly removed the subscription, since we didn't get a notification after waiting a while!