Encoding Macros

Prev Next

Overview

The Encoding macros are primarily used in scripts written for the API monitor, but they can be used with the Transaction monitor as well.

Example

Some APIs require content to be encoded in various formats.

Currently, Catchpoint supports the following:

${hex("<content to encode>")}
${base64("<content to encode>")}
${urlencode("<content to encode>")}
${urldecode("<content to decode>")

Additionally, the macro can be nested as shown below:

${hex("${hash('md5','${var(key)},${var(secret)}')}")};