https://github.com/frain-dev/immune
End-to-End Testing tool for frain-dev/convoy
https://github.com/frain-dev/immune
end-to-end-testing go testing
Last synced: 10 months ago
JSON representation
End-to-End Testing tool for frain-dev/convoy
- Host: GitHub
- URL: https://github.com/frain-dev/immune
- Owner: frain-dev
- License: mpl-2.0
- Created: 2022-02-16T23:30:30.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-17T23:12:09.000Z (over 2 years ago)
- Last Synced: 2025-04-10T05:08:42.858Z (10 months ago)
- Topics: end-to-end-testing, go, testing
- Language: Go
- Homepage:
- Size: 245 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Immune - Testing Tool
Immune a testing tool, that will be used to load test convoy's api, and possibly other APIs.
## Problem
As of today, there is no comprehensive test suite for convoy, to ensure its stability in a production environment. As such we are unable to ensure the durability of convoy under reasonable load beforehand.
### Structure
Given how convoy works, the proper way to do testing would be to simulate the entire flow that a user would go through. An example:
```text
♟️ user_api → convoy → various_endpoints
```
This goal of immune is to simulate it in this manner:
```text
♟️ immune → convoy → immune_callback
```
Immune will send events to convoy and expect those events to come through to its callback endpoint. This does not mean it will wait indefinitely, immune will have its own deadline, any callbacks that did not come through before the deadline is hit, will be reported.