Assign
Think of aliases as template variables within a request which are resolved before a request is replayed. For example, let's say we use the following option:
and we are about to replay:
and we have defined the endpoint as such (where :userId is an alias):
Then the replayed request will actually be:
This concept works for query params, headers and body params (for requests that have a parseable body).
CLI Examples
Configuring Resolve Strategy
Now let's say we assign two values to the alias :userId, for example:
In this case, how do we determine which value gets resolved first?
Last updated