I'am trying to extract values from session only once, and use it in next sessions.
//First transaction used in scenario
val goHomepage = http("OpenHomepage")
.get("/")
.headers(headers_0)
.check(css("ul.sublist a" , "href").findAll.saveAs("categories"))
In last line I've extract all the categories (e.g. Notebooks, Phones, etc.) This is my very first transaction in scenario. This categories is used in next ones.
So if I have more than one virtual user, does this mean that every time this line will perform same action and will save List of this categories for every session or overwrite itself?
If so how can I get this list only once and save it between requests, without overwriting it ? Or it's extracted just once and no need to worry about resource consumption?