GlennEtchison
15 years agoNew Contributor
What is the best way to simulate users?
First off, I am a "green as grass" new SoapUI/LoadUI user. I am very excited about these tools, but I need an explanation of some of the settings.
Background Info:
I have an app that, on startup, will sequentially make a number of Soap requests from our Web Service. I have a SoapUI Test Case set up for a single instance, but I want to simulate X users accessing the app over Y time frame. I hope to be able to run the load test under a number of load profiles (heavy at first tapering off towards the end, fixed rate, etc) Including a load level that "breaks" the web service.
I see a number of settings that look like they may be on the path.
1) In SoapUI, I can create a load test and run it with a limit of Y time Using X threads but that would front load all of the tests.
2) In SoapUI, I can create a load test and run it with a limit of Y time using less than X threads, but that still doesn't seem like the best choice.
3) In LoadUI, I can have a project that calls the test case with a fixed rate generator creating X tests / Y time frame. This doesn't indicate the number of concurrent requests, just total requests over the time frame. Looking at the advanced tab of the SoapUI Runner I see a concurrent samples value. Is this how I determine how many concurrent users I have?
4) In LoadUI, there is also the "Virtual Users" generator which sounds great but the documentation says "This component needs to be connected to a sampler which will be used to provide the load." I am not certain what this means. I don't see a "sampler" component. Also, how does this interact with the concurrent samples value in the SoapUI Runner.
Any explanation/advice is appreciated,
Glenn Etchison
Anyware Mobile Solutions.
Background Info:
I have an app that, on startup, will sequentially make a number of Soap requests from our Web Service. I have a SoapUI Test Case set up for a single instance, but I want to simulate X users accessing the app over Y time frame. I hope to be able to run the load test under a number of load profiles (heavy at first tapering off towards the end, fixed rate, etc) Including a load level that "breaks" the web service.
I see a number of settings that look like they may be on the path.
1) In SoapUI, I can create a load test and run it with a limit of Y time Using X threads but that would front load all of the tests.
2) In SoapUI, I can create a load test and run it with a limit of Y time using less than X threads, but that still doesn't seem like the best choice.
3) In LoadUI, I can have a project that calls the test case with a fixed rate generator creating X tests / Y time frame. This doesn't indicate the number of concurrent requests, just total requests over the time frame. Looking at the advanced tab of the SoapUI Runner I see a concurrent samples value. Is this how I determine how many concurrent users I have?
4) In LoadUI, there is also the "Virtual Users" generator which sounds great but the documentation says "This component needs to be connected to a sampler which will be used to provide the load." I am not certain what this means. I don't see a "sampler" component. Also, how does this interact with the concurrent samples value in the SoapUI Runner.
Any explanation/advice is appreciated,
Glenn Etchison
Anyware Mobile Solutions.