-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
5
-
False
-
-
True
-
-
In order to test duplicate usages being sent to the azure marketplace api, we need to create stub mappings that respond differently when given the same request.
The first call should return the standard success message and subsequent api calls should return the status as Duplicate as documented here:
https://learn.microsoft.com/en-us/partner-center/marketplace-offers/marketplace-metering-service-apis#responses
To do this we can use wiremocks stateful capabilities:
https://wiremock.org/docs/stateful-behaviour/
- blocks
-
SWATCH-3149 Component Test swatch-producer-azure consumes duplicate billable-usage-hourly-aggregate
-
- Closed
-
- clones
-
SWATCH-3149 Component Test swatch-producer-azure consumes duplicate billable-usage-hourly-aggregate
-
- Closed
-
- mentioned on