enso/tools/http-test-helper
Radosław Waśko ade7d42da4
Fix termination of http-test-helper on Ctrl-C (#9243)
After some recent changes, the HTTP server helper would no longer stop when Ctrl-C was issued. That is because the semaphore was being used in the wrong way: it was released on the same thread that was supposed to acquire it - but the acquire never returned as it would be waiting for the release, so the release could also never happen. Thus the main thread was in a constant dead-lock.
2024-03-02 15:06:25 +00:00
..
src/main/java/org/enso/shttp Fix termination of http-test-helper on Ctrl-C (#9243) 2024-03-02 15:06:25 +00:00
www-files Implementing reading Data Links (#9215) 2024-03-01 15:33:21 +00:00
README.md Add tests for Enso Cloud auth + simple API mock for Enso_User (#8511) 2023-12-19 17:41:09 +00:00

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