/workbench

Benchmark and compliance scripts for WeeSVC service implementations.

Primary LanguageJavaScriptMIT LicenseMIT

WeeSVC Workbench

Project containing scripts for perform benchmarks and compliance checks for WeeSVC implementations.

API Compliance

In order for proper comparison, each service MUST adhere to a strict API. API compliance is ensured using a compliance test script using k6.

To target the appropriate service, the script allows for the following optional inputs:

Input Description Default
PROTOCOL Protocol to access the service being tested. http
HOST Hostname for the targeted service. localhost
PORT Port for the targeted service. 80

Using the -e argument to pass in the script inputs as described in the documentation. For example:

k6 run -e PORT=9092 scripts/api-compliance.js