Custom headers
Introduction
Pulze allows for extra customization and labeling of requests via the use of headers.
Currently, the following customizations are possible:
- Weights to override App settings (
pulze-weights
) - Labels as a way to tag the requests (
pulze-labels
) - Policies to change the behaviour of the requests (
pulze-policies
) (coming soon!)
You can send a key-value dictionary to store your log with specific labels.
For example, you may decide to store all the tests with a {type: "test"}
label. These labels are
stored inside the log’s request (as a string-string pair) and response and can be used for filtering and searching.
Send a stringified JSON object in the headers:
Remember that the values can only be strings. Everything else will be parsed using python’s
str()
.You can read more about Labels here.
Was this page helpful?