I'm trying to figure out how to test every possible combination when there are multiple options. For instance, there is a webservice that takes in a request with multiple options:
optionColor: (possible option is blue, red, green)
optionNumber: (possible option is 1, 2, 3, 4, 5)
optionDay (possible option is monday, tuesday, wednesday, thursday, friday, saturday, sunday)
So in the request, I could send
Above is one possible combination. Now I'd like to programmatically code it in a way that I could send every possible combination request. I think it may require permutation or something like that. Any one have an idea? Thanks.