Yunzhao Xu
12/03/2024, 3:46 AM/api_a
is related to time. After a certain time, it will return a different format.
• Its interface /api_b
is related to the number of requests. With the same request parameters, it will return a different format only on the second request.
How should I comprehensively test these two situations for these two interfaces?Matt (pactflow.io / pact-js / pact-go)
/api_a
- GIVEN the request is made < time x
and GIVEN the request is made > time x
for /api_b
- GIVEN the number of requests > x
and so onYunzhao Xu
12/03/2024, 6:23 AM