enso/tools/http-test-helper/README.md
Radosław Waśko 724f8d2a56
Add tests for Enso Cloud auth + simple API mock for Enso_User (#8511)
- Closes #8354
- Extends `simple-httpbin` with a simple mock of the Cloud API (currently it checks the token and serves the `/users` endpoint).
- Renames `simple-httpbin` to `http-test-helper`.
2023-12-19 17:41:09 +00:00

425 B

HTTP Test Helper

A simple HTTP Request/Response clone of httpbin for testing purposes, extended with additional functionality allowing for testing Enso Cloud features.

Usage

It can be compiled like any other SBT project i.e.

sbt> http-test-helper/compile

To run, simply invoke the main method with the appropriate hostname and port:

sbt> http-test-helper/run localhost 8080