New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use generators of type 'fixed_sequence'? #264
Comments
@svanoort I find that using the generator type 'choice' (outputs a random value from an input list) works OK. I am not sure why 'fixed_sequence' isn't behaving as expected... |
@kiptoomm because |
@EtheriousNatsu, I'm not sure I completely understand your answer. Do you have a working example of how to use |
@kiptoomm
It should be:
The |
If you make progress here tell me, |
I am willing to pay for development hours for developing a PT of "foreach: sequence" that will repeat a test for each element in the array. It will need to get array from a json response in test1 and loop on test2 for element in that array. it will need to add the variable name and value to the test name |
Does anyone have a working example for how to use the 'fixed_sequence' type of generators? In https://github.com/svanoort/pyresttest/blob/master/advanced_guide.md, I can only see an example for the 'number_sequence' type.
I have defined my config like the following:
And now I'm trying to create the buyer entries like so:
Problem is that my server seems to only receive the first item of the 'items' array, so all values of the 'items_bought' column are set to 4, when it should loop through the entire array and populate each row accordingly. What am I missing?
The text was updated successfully, but these errors were encountered: