I have a need to be able to add a varying number of body parts to a POST.
For any given iteration, the total number of body parts is determined by three data-driven values, representing the three different possible types of content in these body parts. In loose mathematical form, NBP = (a x NT1) + (b x NT2) + (c x NT3), where a = [0,3], b = [0,4], c = [0, 2] .
My problem is a little similar to the one presented in https://stackoverflow.com/questions/36548126/gatling-request-with-random-number-of-body-parts . Unfortunately for me, the suggested solution isn’t viable in my situation, given the number of combinations at play.
Is there a method of achieving what I’m looking for, but which I’m missing? I’m stumped.
Any help greatly appreciated.