Server-Sent Event Test Suite

Introduction

This page links to a series of test cases for the W3C Server-Sent Event Specification. It is organised by section, and (more or less) categorizes each test according to which statement in the specification it relates to.

Instructions

The tests are designed to be run manually.

Server-Side Script

The web server work with Node.js. Few scripts (as 'Test 0077') need to stop and relaunch manually the web server. To try these tests, you can download the sse.js script and test using Node.js on your own server or computer. Don't forget to edit url argument of EventSource object.


Tests

4 The EventSource interface

5 Processing model

7 Interpreting an event stream

Please send feedback, error reports, or new tests to public-serversent@w3.org