Skip to main content
A Bru file is made up of blocks. There are three kinds of blocks
  • Dictionary block
  • Text block
  • Array block

Dictionary block

A dictionary block contains a set of key value pairs.
Any key in the dictionary block can be prefixed with ~ to indicate that it is disabled.

Text block

A text block is a set of lines

Array block

An array block is a list of strings
Any key in the array block can be prefixed with ~ to indicate that it is disabled.

Comments

The Bru markup language does not have a dedicated comment syntax. To keep an entry in a file without it taking effect, prefix it with ~ to disable it:
The content of script:pre-request, script:post-response, and tests blocks is JavaScript, so standard JavaScript comments (// and /* */) work inside those blocks. To document a request, use the docs block or the Docs tab in the app.