Forum Discussion

IAmThatStrange's avatar
IAmThatStrange
Occasional Contributor
12 years ago

LoadUI testing Soapui Runner and queued requests

Hi, I apologize but I'm really (really) new to LoadUI, actually this is my second day. I've read almost all the info on the LoadUI site and although much confuses me (it must be referring to an older version as somethings are totally different and I can't find some of the settings) I roughly understand, all except one thing, the Queue.

I setup LoadUI to run one my soapui tests. Really it's nothing more than a simple request that goes through our server to another clients server. With the rate set at 10 req/s it worked wonderfully. I then poked it up to 20. That was when I thought I noticed something odd between the queue and the discarded/failed numbers (one of the servers we send the requests onto is rather slow). So I forced the issue (upped the # requests to 40 req/s) to get a lot in the queue and watch what happened and couldn't explain the results.

During the run, 2 seconds before the run was over the test stood at

Requests 273
Running 100
Completed 173
Queued 593
Discarded 0
Failed 0

All fine and good. I expected either the queue to complete or be discarded. But was surprised by the final results (2 more seconds elapsed)

Requests 285
Running 0
Completed 285
Queued 0
Discarded 0
Failed 0

So, where did the (roughly) 591 go? (273 + 593 - 285) (I know the number isn't exact but...). Why weren't they in the discarded?

Not sure how to report results to my boss when I can't explain this.

Thanks so much!

PS I can upload a screenshot of the results vs the 2 seconds prior to the end of the test.

7 Replies

  • Hi!

    I think that you understood everything correctly. This seems like LoadUI is doing something that it shouldn't.

    Let me try to reproduce this and get back to you.

    Henrik
    LoadUI team
  • Hi!

    I was wrong. What you're seeing is the expected LoadUI behavior:

    When a test is stopped, all Runners clears their queue. I've updated the runner flowchart to reflect this.

    Regards

    Henrik
  • IAmThatStrange's avatar
    IAmThatStrange
    Occasional Contributor
    I did think of one question then. Or one I'd like clarified. the Discarded then are the requests that are over the max-limit for queued? So for example I have 10 for the max-limit for queued, if a 11 and 12 pop into the queue it will officially discard them? Correct?