1

How to use more than one Server Name or IPs(see screenshot) by using variables in jmeter for same Http Request ? better providing example?

enter image description here

0

If you have a list of domains (hostnames or IP addresses) you can substitute this awe.bcu.com hard-coded value with i.e. __StringFromFile function pointing to the file containing this list like:

JMeter String From File

Another option is using CSV Data Set Config configured like:

CSV Data Set Config JMeter

In that case put ${hostname} into the "Server Name or IP" field.

  • if we are using first option __StringFromFile then what kind of file need to be used? csv,txt...so on? thanks – lak Mar 13 '17 at 17:07
  • any type of text file (non-binary) given each domain name comes on next line – Dmitri T Mar 13 '17 at 21:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.