Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

number of requests per second #19

Open
omesanni opened this issue Feb 13, 2016 · 1 comment
Open

number of requests per second #19

omesanni opened this issue Feb 13, 2016 · 1 comment
Labels

Comments

@omesanni
Copy link

Hi,
Just want to ask a question. Does the stats.main.meter.mean refer to the number of requests per second the server was able to do? Because the word you used on the page was iterations per second, so i don't really know if they are the same thing.

Thanks

@jeffbski
Copy link
Owner

I used the term iterations rather than requests per second since it is referring to the whole sequence of requests in the main part of your flow.

So if you only have a single request in the flow it, then an iteration / sec == requests / sec.

If you have more than one operation (or request) in your flow then it represents the number of times per second that all those operations were executed. Also note that it only is referring to the iterations in the main section, not any before or after iterations which are basically setup and teardown operations that are excluded from the measurement.

Maybe an example would help clarify.

var flow = {
    main: [
      { put: 'http://localhost:8000/foo_#{INDEX}', json: 'mydata_#{INDEX}' },
      { get: 'http://localhost:8000/foo_#{INDEX}' }
    ]
  };

IN this case we have a put and a get operation making up an iteration.

Thus if we are doing 100 iterations / second it means we have done 100 puts and get combinations per second. Thus if you want pure requests / second you would multiply iterations by number of requests, meaning it would be 200 requests / second.

If you have only 1 operation in your flow then iterations == requests.

Let me know if this helps explain it better or you still have questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants