-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Test delayed data streaming #109
Comments
0.4.1 version adds a |
Tested and works great. Thanks! |
Sorry for the late return but I figured out part of the reason this was not working. We also have a Either way thanks for adding this part. |
I have a PUT request that slowly streams bytes to a server. Internal to this call I track total bytes uploaded. I now want to write a test asserting that X bytes were uploaded. To do this I mostly need to keep RESTMock from immediately returning 200. It should let me write some bytes and only later return a response code. IIUC from other issues,
.delay()
operator only delays the response body, not the response code. Is there any way to change this?The text was updated successfully, but these errors were encountered: