How to call a scenario several times without tableized items in a behave test?
<p>I 'd like to call the scenario -Let's say 500 times- in Gherkin test without tableized items. The reason is I 'd like to use randomized variables instead of written by myself.
I know how to implement random functionality to the tests but it is called just once.</p>

<p>For example : </p>

<pre><code>Scenario Outline: I want to test speed with different values
    When I set the speed to &lt;speed&gt;
    And I wait for 5 seconds
    Then it plays at &lt;speed&gt;

    Examples:
    | speed       |
    | 10   |
    | 20   |
    | 30   |
    | 40   |
    | 50   |
</code></pre>

<p>import random</p>

<p>speeds = ['10', '20', '30', '40', '50']</p>

<p>def next_speed():
    return random.choice(speeds)</p>

<p>If I use random functionality like this, how can I call this scenario 500 times?</p>

<p>Thanks in advance.</p>