On this page

HTTP Protocol

Any website or service that uses the HTTP protocol can be tested with Testable. When creating a new test case use the following URL formats:

http://facebook.com
https://www.google.com
amazon.com

Note that if the URL does not include a scheme it will be assumed to be http.

Example

Scripts

If you choose to define your scenario by writing a Node.js script you have access to the Node.js http and https modules.

Recordings

Recordings that point at HTTP target URLs will include some extra information. See this example of a recording that captured loading google.com in Chrome:

Recording

Notice that the Type column is the Content-Type header returned when loading the resource. The Status column is the HTTP status code returned by the resource.

Tests

Results

The platform captures a variety of stats for each HTTP request opened during test execution. Additional custom metrics can be added by first converting the recording into a script.

Socket.io

Our sample Socket.io echo service is available at http://sample-streaming.testable.io:5811. It echoes messages sent by a Socket.io client. See the Socket.io Client Module example to connect from a Node.js script.

Engine.io

Our sample Engine.io echo service is available at http://sample-streaming.testable.io:5812. It echoes messages sent by an Engine.io client. See the Engine.io Client Module example to connect from a Node.js script.