menu

Mockoon

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

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Announcements
view-forward
# Bugs
view-forward
# Features
view-forward
# Help
view-forward
Team
Posts
Members
Info

HTTPS, replace cert

Hey, I am trying to use Mockoon as a proxy mock server for my iPhone project with HTTPS. I would like to replace a self-signed cert with my own. How to do it? I can not find any information about how to set own cert.

thumbsup
0
message-simple
10

Templating : how to echo the incoming JSON body ? {{ body '.' }} ?

The incoming request contains a JSON in the body. I wish I could just reply with the very same. Got a glimpse at object-path syntax, but it only tackles with embed fields, not the whole object.

thumbsup
0
message-simple
3

unconventional URL path

I am trying to mock an API where the URL contains unconventional syntax. https://www.somehost.com/ASP_Net/pbtrproxy.aspx?lb://abc/def OR …

thumbsup
0
message-simple
7

How to get data for each queryParam

I'm trying to return data for each query parameter in my GET request. Ex.: "https//localhost:3000/server/?id=001&id=002". Can this be achieved through templating and how? Currently I'm using a switch/case to return data for either "id=001" or "id=002", but I can't get both back…

thumbsup
1
message-simple
3

Query params with json

Hi i have request http://localhost:3001/server?data={"modules":{"profileDemand":{"idOpponent":2}}} but when i set any rules on query string i always get response 200. How works this rules? or how set rules when i want controll idOpponent Roman

thumbsup
0
message-simple
2

Hi, is there a max response size?

I set a "big" json response (518200 bytes) and it does not return it as response

thumbsup
0
message-simple
4

Validate is parameter exist or not

Hi Guys, First of all, Thanks for that fantastic tool. :) I have one question, and maybe someone here can help me. …

thumbsup
1
message-simple
2

Using Rules to test against JSON empty arrays

Hi Mockooners ! I'm playing with the new "Rules" feature. Any way to test if an array is empty , or does the current version only allows for strict equalities ?

thumbsup
0
message-simple
5

Start Mockoon Automatically

Hi, is it possible to have Mockoon start the server automatically without having to go into the app?

thumbsup
0
message-simple
1

Have a Rule check all values of a property in an array

Hello! Just started using Mockoon and finding it very useful. I'm trying to set a rule to check the value of a property within an array of the json being sent to the server. As an example, this is the json { "RequestId": 1, …

thumbsup
0
message-simple
2