You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There have been multiple issues reported with response stubbing. While the feature works well in the normal case, it have a few notable issues.
The root cause is how the SDK attempts to simulate response stubs. It excersizes the entires HTTP request stack up to, but not including sending the request. This ensures the request is valid and can be marshaled. At this point is by-passes sending the HTTP request and directly returns a response with stubbed data.
The problem with this approach is that it does not exercise any of the response handlers and callbacks. This has caused the following issues:
The proposed fix is to generate actual HTTP responses from the stub data. This will allow the stub handler to trigger all of the HTTP events and exercise the full stack of handlers.
The text was updated successfully, but these errors were encountered:
There have been multiple issues reported with response stubbing. While the feature works well in the normal case, it have a few notable issues.
The root cause is how the SDK attempts to simulate response stubs. It excersizes the entires HTTP request stack up to, but not including sending the request. This ensures the request is valid and can be marshaled. At this point is by-passes sending the HTTP request and directly returns a response with stubbed data.
The problem with this approach is that it does not exercise any of the response handlers and callbacks. This has caused the following issues:
The proposed fix is to generate actual HTTP responses from the stub data. This will allow the stub handler to trigger all of the HTTP events and exercise the full stack of handlers.
The text was updated successfully, but these errors were encountered: