Chlorine is a very simple, easy-to-use client simulator which simulates protocols in which your server is being queried by a client or remote server.
Chlorine is particularly useful in protocols where the client (or remote server) submits requests to you and your responses contain follow-up URLs that the client on subsequent requests. Chlorine turns these follow-up URLs into forms which you can use to simulate those requests. You can use these forms to run tests that are difficult or inconvenient to run with a live client or remote server, including simulating error conditions.
Chlorine:
- Submits requests to your server via GET or POST.
- Displays the results back in a readable fashion, minus the contents of comments and CDATA blocks.
- Supplies a link you can use to GET the raw response from the server if you need to inspect it (for example, when the server doesn't actually return XML, so it can't be parsed).
- Turns any attribute or text value in the result that looks like a URL into a form which will submit that URL back to the server, along with any parameter values you specify.
- Allows you to configure it to add additional parameter fields to each form that is created.
Chlorine includes TwilioChlorine, a version configured for simulating Twilio.