An open API service indexing awesome lists of open source software.

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

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.