HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

VUsers with unique data Messages in this topic - RSS

Unregistered User
Unregistered User
Posts: 509


12/10/2021
Unregistered User
Unregistered User
Posts: 509
Q1: I have a specific need to lock 176 VUsers to use only 176 unique data parameters during the performance test run. I have so far not been able to achieve this and wanted to find out from you as to how this can be possible?
Each user should use only one unique value and never be used any other VUser.

Q2: What I wanted is the following scenario:

Scenario: 20 Vusers using ID1 parameter values. There are 100 parameters in the file, imported from csv. I want the following config:
  • VUser1 to pick up Id value from ID1 first row, only
  • VUser1 to pick up Id value from ID1 second row, only
  • VUser1 to pick up Id value from ID1 third row, only
  • ….
  • VUser20 to pick up Id value from ID1 twentieth row, only.

This way I can configure test to pick up unique values and not repeat them as there are data concurrency issues due to the same data picked by more than one user.
0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 554


12/10/2021
George @StresStimulus
George @StresStimulus
Administrator
Posts: 554
A1:
It depends on how you plan to provide the 176 unique data values.
For example, if they should be randomly generated, you can use data generators, as described here https://support.stresstimulus.com/display/doc54/Data-Generators
If you provide them as a dataset, then create a dataset as described here https://support.stresstimulus.com/display/doc54/Creating+Datasets and set the databind method to VU-Iter-Bound as described https://support.stresstimulus.com/display/doc54/Default+databinding
Creating parameters is described here https://support.stresstimulus.com/display/doc54/Creating+a+Parameter
When running the test, select steady load pattern, 176 VUs and 1 iteration per VU, as described here https://support.stresstimulus.com/display/doc54/Steady+Load and https://support.stresstimulus.com/display/doc54/Number+of+Iterations



A2: In order to bind each VU to its own row, VU-Bound databinding should be used as described https://support.stresstimulus.com/display/doc54/Databinding
0 link






Copyright © 2024 Stimulus Technology