Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeat this request / Mock answer for such request #144

Open
c69 opened this issue Dec 12, 2012 · 1 comment
Open

Repeat this request / Mock answer for such request #144

c69 opened this issue Dec 12, 2012 · 1 comment

Comments

@c69
Copy link

c69 commented Dec 12, 2012

[enhancement]

  1. Small usability improvement:
    In Network panel, there is a useful feature "Make request", but its a bit not user friendly - as you need to copy/paste headers and request URL to repeat request that have been sent previously, during same session.
    Would have been nice, if we could have been able to click a button "repeat this request" in a "Network log" sub-tab. (Or a dropdown list, with all recent requests)

Use case: request simply timed-out, because dev server is experiencing difficulties. One-click repeat to fix the page is better, than reloading it all again.

  1. New feature
    In "Network log" -> "Details" screen, to be able to set "Mock answers for such requests" option. This will make all request to same URL with same method and request body to receive specified answer.

This overlaps a bit with RoboHydra or Charles/Fiddler, but would be nice to have this in DF, because you will be able to use it for remote debugging.

Use case 1:
Dev server does not implement API - but front-end developer needs to test his feature.

Use case 2:
Production server is experiencing troubles, and one API (or static resource) returns wrong response. Developer needs to quickly plumb such resource with mock, to be able to do his fix.

@hzr
Copy link
Contributor

hzr commented Dec 12, 2012

We have a feature request internally for the first suggestion.

As for the second one, I think this is a bit out of scope for Dragonfly, but I'll leave it open.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants