# vivo/MoonBox

月光宝盒：无侵入的流量录制与回放平台     A server-side traffic capture and replay platform with noninvasive

Repository: https://github.com/vivo/MoonBox
Canonical: https://ross.abutalabs.com/products/moonbox
Language: Java
License: Apache-2.0
License Family: permissive
Topics: capture, recoding, replay, traffic, hacktoberfest, hacktoberfest2025
Last push: 2026-05-29T03:21:16+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 84, release rhythm 8, longevity 95
- inputs: {"age_days": 1336, "days_push": 96, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1341, forks 225 (observed 2026-08-28T04:04:26.173653+00:00)

## What it is
Moonbox is a noninvasive server-side traffic capture and replay platform built on the JVM-Sandbox ecosystem (jvm-sandbox-repeater). It records incoming requests along with downstream RPC, DB, and cache sub-calls, then replays them with mocking for automated testing, debugging, load testing, and business monitoring.

## Use cases
- reproduce a production request failure in a test environment
- record live traffic for automated regression testing without code changes
- generate realistic load-test traffic from production flows
- mock downstream RPC/DB/cache calls during replay
- sample and validate core API responses for business correctness monitoring

## When to choose
- you run JVM-based services and want noninvasive record/replay testing
- you need to replay production traffic against test environments with sub-call mocking
- you want to build load tests from real traffic instead of hand-written scripts

## When to avoid
- your services are not on the JVM (C++/native support is only planned)
- you need a lightweight single-service tool rather than a deployable platform
- you require actively developed features, since the project is in maintenance mode

## Facets
- artifact type: application
- maturity: maintenance
- function: testing, mocking, middleware, serialization, monitoring
- domain: testing, developer-tools, backend
- platform: jvm, self-hosted
- tags: traffic-recording, traffic-replay, jvm-sandbox, noninvasive, load-testing, regression-testing, api-testing, automation, docker

## Member repositories
- vivo/MoonBox (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:26.173653+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:43:46.429517+00:00, confidence not recorded.
  - readme: https://github.com/vivo/MoonBox (fetched 2026-08-28T04:04:26.173653+00:00, sha acac16b991f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
