2

In The Grinder, the script context includes a thread number, a process number, and a run number. I believe the thread number identifies a thread within a group of threads spawned by a worker process. The process number identifies a worker processes created by an agent. What is the run number? To put it another way, what actions result in a new run number?

2 Answers2

3

From my experience with JMeter, when you run the load test the Virtual Users execute the same script over and over again for either the specified time period or the specified number of loops.

I would assume that each time the user (thread) executes the script (loop), it is counted as a run.

rishimaharaj
  • 407
  • 4
  • 13
  • Yes, that agrees with what http://grinder.sourceforge.net/g3/properties.html says about the grinder.runs property. –  Apr 19 '12 at 23:18
2

to be more precise, this is the number of times that call method has been called by grinder agent.

For example, line 16:

http://grinder.sourceforge.net/g3/script-gallery.html#http.py

corsiKa
  • 7,092
  • 7
  • 39
  • 53
Karlo Smid
  • 189
  • 3