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
Show previous messages

November 1, 2019 at 1:57pm
is there an option to update the auto save location
  • reply
  • like
its difficult to maint the data as I'm not getting option to save realtime data at specific location
  • reply
  • like
I've never encountered this. Best guess would be that data got corrupted during migration. But 1.5.0 and 1.5.1 migrations functions does not much and have been tested thoroughly. If data is not "secret" you can send them to me, and I can have a look and run in dev mode so I can debug. Otherwise, you can open you user data folder (c:/.../Users/xxx/AppData/Roaming on Windows, ~/.config on Linux and ~/Library/Application Support on macOS.) ./mockoon/storage/environments.json file and compare with a test file on the GitHub repository (https://github.com/mockoon/mockoon/blob/master/test/data/basic-data/environments.json) to see if the structure changed. If it's related to your data themselves maybe it's another problem.
I didn't have lots of data so I managed to restore it manually. Anyway thanks for the detailed information!
Edited
  • reply
  • like
ok, glad everything works again! Still, would have been curious to check where this bug came from.
  • reply
  • like
not yet, and I think it's not reached by an issue, so feel free to open one
  • reply
  • like

November 5, 2019 at 1:06pm
Hello,
Can anyone tell me how to check for a null or missing value in a rule?
  • reply
  • like

November 5, 2019 at 9:09pm
hi , you can use a regex (the checkbox on the right) and add ^$|\s+ which means "empty or only white spaces"
  • reply
  • like

November 6, 2019 at 8:38am
Cool! Thanks a lot! Love the tool. :-)
  • reply
  • like
You're welcome ๐Ÿ™‚
  • reply
  • like
is it also possible to check for missing attributes? :-)
  • reply
  • like
Not yet. But mockoon's aim is to stay simple to use. So the rule system is voluntarily basic and simple to use.
  • reply
  • like
Anyway if it's needed it will probably be added at one point ๐Ÿ™‚
  • reply
  • like

November 6, 2019 at 8:16pm
Hello. I have to use the same {{guid}} in the same template several times. Is it possible in the current version?
Edited
  • reply
  • like

November 7, 2019 at 8:13pm
Hello not yet. There is an issue opened for this use case. I think it would be solved with some sort of variables that would support templating. https://github.com/mockoon/mockoon/issues/158
  • reply
  • like
This will be very welcome. Thanks
  • reply
  • like

November 10, 2019 at 10:42am
Help... I've restarted my laptop and now my fully created environment is gone? :-(
  • reply
  • like
It shouldn't. Environments are stored in user data folders depending on the operating system. Which OS are you using?
Edited
  • reply
  • like
windows
  • reply
  • like
have you updated Mockoon, or just a restart?
  • reply
  • like
I never encountered such problem
  • reply
  • like
just restarted laptop
  • reply
  • like
can you check that environments.json file is in c:/.../Users/xxx/AppData/Roaming/Mockoon/storage ?
  • reply
  • like
just did and it has gotten replaced with the new calls i'm creating :-(
  • reply
  • like
seems that files have been wiped or something
  • reply
  • like
Show more messages