-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
3
-
False
-
-
False
-
subs-swatch-lightning
-
-
- Description: Verify swatch-producer-azure is putting the correct status on the billable_usage_status topic when it receives rate_limit error
- Setup:
- Wiremock AzureUsageContext
- Wiremock Azure ‘rate limit’ error response
- Action: Simulates swatch-azure-producer being denied usage due to too many requests in within time limit
- There is not rate limit for Wiremock so we will have to make that the explicit response
- Verification:
- Billable_usage_status topic
- Expected Result:
- Status Topic:
- Status: failed
- Error: market_rate_limit
Acceptance criteria:
- The test leverages new testing framework capabilities
- The assertions should be according to the test plans
- The test can be run on both local and EE