-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
-
Empty show more show less
-
Empty show more show less
Created a testing setup for rest-proxy module, using testcontainer with toxiproxy tool. We have 2 containers one to mock the API service and one toxiproxy container to connect to it and add some custom features like add latency, timeouts during the response. Right now we have the following unit test:
- Normal execution, through the containers with a successful response.
- Normal execution adding latency, successful response but checking that the response take more time due to the latency that we have added.
- Error execution when there is no a definition provider, here we verify that the call to the containers is not done.
- Error when the definition provider is not valid, here we verify that the call to the containers is not done.
Acceptance criteria
- is related to
-
RESTPROXY-3 UoE - Segment Integration module: Testing Setup
- In Progress