I have to test an API where I have to give various type of speech inputs with similar details in API request body. I can write these different speech using Scenario Outline and Example but I have to parameterize that speech also.
Consider below example:
Scenario Outline: Validate identification
Given url exampleURL
And request {"message" : "<speech>"}
When method post
Then status 200
Examples:
| speech |
| My name is John Doe and the ID is 12345|
| I am John Doe and ID is 12345 |
Is there any way I can pick name and ID from somewhere else maybe from feature file or any external file?