Skip to content

Fails to render more than one response body field in a request #311

@teynar

Description

@teynar

Having these requests in a workspace:

And given a request C that uses two or more response body fields, only the first field will get rendered when the request gets sent.

Note:

  • Request A uses jsonpath $[0].url
  • Request B uses jsonpath $.message

Notice that if you swap the body field order you can see that only the first one gets rendered.

Image

Image

This is the textual payload present in the request body:

{
    "text": "![Dog]({% response(attribute='body', behavior='always', maxAge=60, request='/Get Random Dog Picture.json', path='b64::JC5tZXNzYWdl') %})\n![Cat]({% response(attribute='body', behavior='always', maxAge=60, request='/Get Random Cat Picture.json', path='b64::JFswXS51cmw') %})"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions