Hi,
I’m using Pebble templates to generate the request bodies I’m using for my calls, now one of the main features of Pebble is that it supports inheritance but I can’t get it to work. I have a parent template search-filter.peb
`
{
“first”: 0,
“rows”: 10,
“filters”: {
{% block additionalFilter %} {% endblock %}
}
}
`
and a child template
`
{% extends “search-filter.peb” %}
{% block additionalFilter %}
“status”: “PENDING”
{% endblock %}
`
and I import this into my call like this:
`
val search: ChainBuilder = exec(http(“Search”)
.post("/my-service/search")
.body(PebbleFileBody(“child-filter.peb”)).asJson
.headers(Config.requestHeaders)
)
`
but when I execute the test I get Http 400 errors because I can see in the TRACE logs that the body used in the call is “child-filter”
`