Hi <@U03N1E342B0> &amp; Team - I am looking for he...
# general
g
Hi @Tom & Team - I am looking for help for a use case where my team is trying to retrieve and image of size greaer than 1 MB using Wire Mock service. Service is working up to to 1 MB file size however for file size >1 mb its throwing http 500 error.
t
Hi @Gopal Purohit it looks like you have templating turned on. Was this your intention for this specific response?
g
yes, we need templating on for couple of use cases.
t
Do you need it for this specific response?
If not, I’d suggest turning local templating on, then not enabling it for this stub
g
okay.. how to enable it for specific use case.if you can please guide or share details
t
It’s all documented here: https://wiremock.org/docs/response-templating/ But essentially, enable local response templating on startup then mark stubs that require templating with the `
Copy code
response-template
transformer.
🙏 1
g
thanks
👍 1