Skip to content
An app for emulating various http services through pattern matching. Written in JRuby, embedding Jetty.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
doc
help
inttest
jarlib
log
sample_requests
src
.gitignore
README.markdown
rules.json
run
run.cmd

README.markdown

Alecto

A JRuby app to mock simple http services.

Quick Start

You need to have Java installed. JRuby is included in this repository for simplicity (lib/jruby-complete-1.7.0.preview2.jar).

Simply clone the repository, and run run on GNU/Linux or run.cmd on Microsoft Windows.

Log messages will appear on the standard output and standard error streams.

Rules

Are loaded from the file "rules.json" in the current directory.

A background thread polls the modification time of rules.json once a second, and loads the complete file when any changes are detected.

vim:set ts=8 sts=2 sw=2 noet ai ff=unix:

Something went wrong with that request. Please try again.