Forum Discussion

thomasfromla's avatar
thomasfromla
Occasional Contributor
12 years ago

Bug? Generators do not retain "Sec" setting

I think I found a bug. The Fixed Rate generator does not retain my settings for "Min" but instead, always reverts to "Sec".

Steps to reproduce:
1. Create new project
2. drag 10 Fixed Rate generators to the project and configure for 1/Min. each
3. drag 10 SoapUI Runner to the project
4. configure the SoapUI runners for valid SoapUI projects.
5. connect the Generator to the Runner and set limits for 1 minute
5b. run test for 1 minute.
6. save project and exit LoadUI
7. restart LoadUI
8. Re-run test.
Expected: requests run 10 per minute
Actual: requests run 10 per second.

4 Replies

  • Hello.
    I followed your steps but failed to reproduce the issue. Could you maybe clarify exactly how you are doing the 5b (exactly what buttons you are pressing etc ). Also could you confirm i set up the project the right way if you look at the attached picture?

    Thanks,
    Max
  • thomasfromla's avatar
    thomasfromla
    Occasional Contributor
    I click on the gray triangle in the top of the screen to start my tests. I'm attaching a screenshot.
  • From the screenshot it looks like you are using the Ramp Generator. I was able to reproduce your error with the Ramp generator.

    Also i found a fix for the issue. Please download the attached Ramp.groovy file and place it in your "script-components" folder in your LoadUI installation directory (usually C:\Program Files\SmartBear\LoadUI-2.6.7\script-components). You want to overwrite the previous file.

    Ill make sure that this fix will be included in upcoming versions.

    Regards,
    Max