menu

Mockoon

Mockoon's official community. Get help, discuss new features.

Channels
Team
Posts
Members
Info

runtime:extenstions~request url is empty while running npm else working fine

I set all the environmental variable in mockoon and when I am trying to put the data through postman its working fine(as its giving 200, ok Status), however not able to get the same data via get request. And also when I am trying to execute through newman its giving…

thumbsup
0
message-simple
7

Help

I am trying to define a body for post with parameters, however not able to return the posted parameter. Any idea? Post: curl -X POST -H "Accept: Application/json" -H "Content-Type: application/json" http://localhost:3000/Safes -d '{"SafeName":"example_safe"}' …

thumbsup
0
message-simple
15

is it possible to delay the response based on url params?

Basically I have a url parameter which means that the response would take 30seconds if its there, and only a few seconds if the url parameter is missing.

thumbsup
0
message-simple
2

trying to do something like a if a === b or anything like that

Hi! I'm new to dummy json and I'm currently trying to mock some query params with pre defined dates, like startDate=2019-01-01&endDate=2019-07-31, but I can't seem to wrap my head around how to properly do it using mockkon with dummy json any help?

thumbsup
0
message-simple
4

Disable Dummy JSON templating

Can we disable response templating? I am mocking my translation response which supports interpolation (i.e. I need to preserve {{foo}} in my response).

thumbsup
0
message-simple
2