Is it possible to generate the scenario outline definition dynamically by calling a method in karate. In the following example
Scenario Outline: Testing different combination of inputs <input>
Examples:
| res |
suppose value of res is:
[
input: {test: "xyz"},
input: {test: "pqr"},
input: {test: "abc"}
]
The actual object inside input is quite complex, just simplified it for example.
In this case I want by different scenario definition to be
Scenario Outline: Testing different combination of inputs xyz
Scenario Outline: Testing different combination of inputs pqr
Scenario Outline: Testing different combination of inputs abc
Is this possible?