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
Dynamic responses
I'd like to request additional feature to be able to mock a server and respond dynamically based on parameters.
Excample scenario of this request:
I create a mock server running on localhost:3000/api/getinfo with a params of user
Then i could add a simple json record where the app could get the info from.
Then on response tab, i can put something like { "success": true, "data": $user }
The mock server will then get the data part on the given json based on the given params.
Custom error response
The current setup is when a params is given and it is missing from the request, it will respond with {"errors":[{"key":"user","details":"required params."}]}
It would nice if the user is able to customize this respond on every route.
Advance Logging
It would be nice to have something like an advance tab where user can view the actual request that was received. Something similar to this image
Thanks!
The text was updated successfully, but these errors were encountered:
Sorry, Dynamic responses && Custom error response will not be added to Mockman in the future version. In fact Mockman is a mock tool to help us developing our product fluently, we shouldn't denpend on it to do some test about our Specific business.
Advance Logging is a good idea, I will add a logging panel to every running server in the future.
Dynamic responses
I'd like to request additional feature to be able to mock a server and respond dynamically based on parameters.
Excample scenario of this request:
localhost:3000/api/getinfo
with a params ofuser
{ "success": true, "data": $user }
data
part on the given json based on the given params.Custom error response
{"errors":[{"key":"user","details":"required params."}]}
Advance Logging
Thanks!
The text was updated successfully, but these errors were encountered: