Forum Discussion

Seed's avatar
Seed
Occasional Contributor
16 years ago

Command Line Limit Not Being Respected

This is what I get when I try and overwrite the limit that is already "1" with "1".

14:17:14,611 INFO  [SoapUIProLoadTestRunner] Running LoadTest [Login]
14:17:14,613 INFO  [SoapUIProLoadTestRunner] Overriding limit [1] with specified [1]
Progress: 1 - Creating Virtual User 1
Progress: 1 - Started thread 1
14:17:14,688 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.0, 1
14:17:15,692 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.0, 1
14:17:16,695 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.0, 1


I would expect the login loadtest to run once as it does in the UI.

In the UI there are 3 options but I am unsure how to even specify one of these in the CL:



Am I missing something here or is this a bug?

Another issue I see is this:

[DefaultSoapUICore] Creating new settings at [/root/soapui-settings.xml]

but there is no xml file generated here.

4 Replies

  • Hi!

    hmm.. thanks for this, I'll try to reproduce..

    the settings file should be created first when existing soapUI, does that seem to happen?

    regards!

    /Ole
    eviware.com
  • Seed's avatar
    Seed
    Occasional Contributor
    override = 2: (-m2 -n1)

    16:07:39,046 INFO  [SoapUIProLoadTestRunner] Running LoadTest [Login]
    16:07:39,046 INFO  [SoapUIProLoadTestRunner] Overriding limit [1] with specified
    [2]

    16:07:39,046 INFO  [SoapUIProLoadTestRunner] Overriding threadCount [1] with spe
    cified [1]
    Progress: 1 - Creating Virtual User 1
    Progress: 1 - Started thread 1
    16:07:39,093 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.0, 1
    16:07:40,093 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.0, 1
    16:07:41,093 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.5, 1

    16:07:42,093 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] finished with stat
    us FINISHED
    16:07:42,093 INFO  [SoapUIProLoadTestRunner] soapUI suite [Login] finished in 30
    78ms

    Override = 3 -m3 -n1

    16:07:50,155 INFO  [SoapUIProLoadTestRunner] Overriding limit [1] with specified
    [3]

    16:07:50,155 INFO  [SoapUIProLoadTestRunner] Overriding threadCount [1] with spe
    cified [1]
    Progress: 1 - Creating Virtual User 1
    Progress: 1 - Started thread 1
    16:07:50,202 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.0, 1
    16:07:51,218 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.0, 1
    16:07:52,218 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.333333
    34, 1
    16:07:53,218 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.666666
    7, 1
    16:07:54,218 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] progress: 0.666666[/font:27ilxtqr]

    7, 1
    16:07:55,218 INFO  [SoapUIProLoadTestRunner] LoadTest [Login] finished with stat
    us FINISHED
    16:07:55,218 INFO  [SoapUIProLoadTestRunner] soapUI suite [Login] finished in 50
    94ms

    The above makes no sense. If I specify 2 it runs 3 times, if I specify 3 it runs it 5 times.
  • Hi!

    wait a sec here.. the number of progress lines shown in the output is not the same as the number of runs, it just shows the progress of the loadtest every 1000ms (the first number is the progress between 0 and 1, the second the current number of threads). So if your login takes more than one second you will see more than one progress row in the output.

    so, what makes you think that the testcase is run too many times? are you receiving too many calls on the server?

    regards!

    /Ole
    eviware.com
  • Seed's avatar
    Seed
    Occasional Contributor
    Ok that makes sense. I assumed the result was for each call. Where can I see the performance of each call?