Closed outstanding1301 closed 1 year ago
@outstanding1301
Why do you need targetHosts
in your script?
By the way, this feature seems good.
@imbyungjun review and merge it.
@outstanding1301
What's the difference between ngrinder.etc.hosts
and targetHosts
? I don't understand this property addition is necessary.
These are the result what I printing ngrinder.etc.hosts
and targetHosts
.
Perftest Configuration
Test Script
grinder.logger.info("{}", System.getProperty("ngrinder.etc.hosts"))
grinder.logger.info("{}", System.getProperty("targetHosts"))
Result Log
2022-09-28 14:56:35,859 INFO mylaptop.local:127.0.0.1,localhost:127.0.0.1,www.naver.com:0.0.0.1,www.google.com:1.1.1.1
2022-09-28 14:56:35,859 INFO www.naver.com:0.0.0.1,www.google.com:1.1.1.1
Close this PR because there is no response for a long time. Please open it again if necessary.
There's no way to get
perfTest.targetHosts
in test script.I found there's
ngrinder.etc.hosts
property but it indicatestargetHosts
only in specific conditionSo I made a feature that pass
targetHosts
property toAgent
following steps bellowngrinder.target.hosts
property toGrinderProperties
in PerfTestService ifperfTest
hastargetHosts
.targetHosts
inPropertyBuilder