Hi all :wave: I'm creating a dynamic mock for requ...
# general
m
Hi all 👋 I'm creating a dynamic mock for request where I send and ID and want to receive in response valid for this ID sub-IDs. For this I use in body file
{{#parseJson 'idsMap'}}{"123AAA": [["123", "456", "789", "1011", "123123"],["000", "001", "002", "003", "004"]]...}{{/parseJson}}
map and then a couple of '#each' loops. The problem is that initial map is quite big (11k keys) and mock container consumes a lot of CPU. Could you please suggest a way to handle this problem and decrease CPU usage
t
Is there a way you could break this up into multiple stubs with smaller data ranges in each?