lars_andersson
15 years agoNew Contributor
How does one deal with iteration in loadUI?
Hi
I'd like to create a project in loadUI that implements a scenario in which a number of virtual users are ramped up to a certain number, and then each virtual user should iterate over a number of soapUI runners in sequence. When the last runner has executed, I'd like a delay and then it should start all over with next iteration. So far, I've worked with the Ramp and VirtualUser components to create a modified component that does the first part. Next, I'd like to solve the iteration problem. Has anyone out there an idea of how to do that. I guess it neads two input terminals; one that is connected to the generator I created, and one that is connected from the last runner (or Delay) in the sequence of soapUI test cases that a virtual user is to invoke. It also needs one output terminal that would invoke the first soapUI runner. However, what I can't figure out is how to associate the input terminal that receives messages from the last runner (or Delay) with a certain virtual user and keep track of the number of iterations that has been performed.
I know there's loop functionality in soapUI, but that's not really where I wan't to put the iteration logic, because then the soapUI testcase would have to consist of all the service invocations a certain virtual user woould make during one iteration (or am I missing something?).
Any input on how to solve this problem is appreciated.
Lars
I'd like to create a project in loadUI that implements a scenario in which a number of virtual users are ramped up to a certain number, and then each virtual user should iterate over a number of soapUI runners in sequence. When the last runner has executed, I'd like a delay and then it should start all over with next iteration. So far, I've worked with the Ramp and VirtualUser components to create a modified component that does the first part. Next, I'd like to solve the iteration problem. Has anyone out there an idea of how to do that. I guess it neads two input terminals; one that is connected to the generator I created, and one that is connected from the last runner (or Delay) in the sequence of soapUI test cases that a virtual user is to invoke. It also needs one output terminal that would invoke the first soapUI runner. However, what I can't figure out is how to associate the input terminal that receives messages from the last runner (or Delay) with a certain virtual user and keep track of the number of iterations that has been performed.
I know there's loop functionality in soapUI, but that's not really where I wan't to put the iteration logic, because then the soapUI testcase would have to consist of all the service invocations a certain virtual user woould make during one iteration (or am I missing something?).
Any input on how to solve this problem is appreciated.
Lars