Giter Site home page Giter Site logo

http-stub-server-scala's Introduction

Generic HTTP Stub Server (Scala)

Build Status

The Generic HTTP Stub Server (a.k.a. 'Stubby') is a protocol and server implementation for stubbing HTTP interactions, mainly aimed at automated acceptance testing. There's also some example client code in various languages.

This an implementation of the original Java version in Scala with Unfiltered.

It currently passes the full functional test suite included as part of the original Java implementation.

Some documentation to get started:

Running

  • Install SBT
  • Start the standalone server:
$ sbt "project standalone" "run 8080"

Release Notes

Version 1.0 (2013-10-13)

Initial release.

All tests in original test suite (from the Java version) are now passing.

Known Issues

Rhino and Java 7

There seems to be problems with Java 7 and the Rhino JavaScript engine not being found in some circumstances, possibly in combination with a recent change to sbt.

A work-around is adding the following file to your project:

META-INF/services/javax.script.ScriptEngineFactory

with the single line contents:

com.sun.script.javascript.RhinoScriptEngineFactory

Hopefully this will be resolved more elegantly in the future.

http-stub-server-scala's People

Contributors

headexplodes avatar thetrav avatar themillhousegroup avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

sancoder-q

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.