nealrichardson / httptest

A Test Environment for HTTP Requests in R
https://enpiar.com/r/httptest/
Other
79 stars 10 forks source link

how to test for sequence of responses #49

Open maelle opened 3 years ago

maelle commented 3 years ago

e.g. when the API returns 502, 502, 200.

Suggestion: making httptest able to loop through mockfile if they are named

jonkeane commented 3 years ago

I’ve been thinking (though haven’t yet found a satisfactory way) of doing the same in dittodb. If I do come up with something I’ll mention it here since at least some of that machinery should be similar, if not basically the same.

maelle commented 3 years ago

I wonder where and how one would store the index of the request (this is the first request for this request, the second one etc).