mardi 27 novembre 2018

Does vars.putObject and vars.getObject consumes extra memory in jmeter

I have a test plan that looks like

Test plan
  Jsr223 sampler
  {
    def lst = [100 elements];
    vars.putObject("lst",lst);    
  }
  loop controller(100 times)
  {
    Http request
      preprocessor
      {
        lst = vars.getObject("lst");
      }
  }

Now does the lst in preprocessor uses the same memory of lst in jsr223 sampler or it creates its new memory and uses. Q2) Another question is, does the lst memory in preprocessor gets cleared for every iteration or does it created new memory for each iteration.

Aucun commentaire:

Enregistrer un commentaire