oneOf operator: Pick a random value from the list of items

Описание к видео oneOf operator: Pick a random value from the list of items

In Beeceptor, the 'oneOf' operator selects a random item from a provided list of values. You can supply any number of values, and this operator will pick one randomly. If no values are provided, it returns an empty string.

In this example, the operator picks a random status from a list of possible application statuses.
```
{
"status": "{{oneOf 'draft' 'in-progress' 'approved' 'rejected' 'canceled'}}"
}
```

More at the docs: https://beeceptor.com/docs/template-c...

Комментарии

Информация по комментариям в разработке