https://linen.dev logo
#help
Title
# help
d

Darren Rose

07/07/2023, 12:20 PM
one of my mappings json files is 1.8M in size - do I need to specify an option to support this file size?
o

Oleg Nenashev

07/07/2023, 2:14 PM
There is no limitation for the file size, but there is a limitation for response size.
t

Tom

07/11/2023, 9:18 AM
There’s no technical limitation in WireMock OSS on response size. If it’s the response that’s very large it’s usually a good idea to move it to its own file under
__files
as then it’ll be streamed straight from storage rather than held in memory.
o

Oleg Nenashev

07/11/2023, 9:21 AM
There's still a Jetty default limit AFAIK. At least header size limits are overridable in the CLI
t

Tom

07/11/2023, 9:23 AM
I don’t think there is for response bodies. I’ve had conversations with people sending 300Mb response bodies via files.
🙏 1
👍 1