50% Off/-

50% Off/-

Php

50% Off/-

50% Off/-

Web

50% Off/-

50% Off/-

JMeter Dynamically Change Server Name Using CSV Data File

24-02-2016

First of all, you should place your csv file where you saved your test script file. Normally test script can be saved as with jmx extension and placed your csv file in the same directory of it.

Content of the CSV file as follows:

url;www.test123.com
url;www.test1234.com
url;www.test12345.com

Note that in the Thread Group configuration, thread count must be minimum number of lines in the csv file. According to above CSV file, we should define minimum 3 thread in the Thread Group.

After this configuration, JMeter will automatically call Http Request Defaults configuration everytime when a thread is executed.

CSV Data Set Config

HTTP Request Defaults

HTTP Request (Only Path is set)

Regular Expression Extractor (Optional to find specific response)

Write found regex result to a file (Optional)

© 2019 Tüm Hakları Saklıdır. Codesenior.COM