1

I'm trying to load test with 3 remote servers, after test ends all the requests are shown in result tree, but I cannot find out which ip address (remote server) sent the request.

for example if I send one request from each remote server, then I see three total request in result tree, but I cannot understand which is for which

Hana Bzh
  • 2,212
  • 3
  • 18
  • 38

1 Answers1

2

Use __machineName() or __machineIP() functions as prefix or postfix for your Sampler labels - this way you will be able to distinguish the results coming from different remote slaves.

Check out Apache JMeter Functions - An Introduction to learn more about JMeter Functions concept.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • @should I disable calling this function in real test? Does it have any performance issue? – Hana Bzh Dec 28 '18 at 10:16
  • 1
    You can create an [User Defined Variable](https://guide.blazemeter.com/hc/en-us/articles/207421395-Using-User-Defined-Variables) at the beginning of the test so the function will be called only once. The function of course has its cost but it doesn't do any intensive computing so the overhead will be minimal – Dmitri T Dec 28 '18 at 10:39