How to use Property file in jmeter




while executing or run the jmx file like in continuous integration ., we need to open jmx file and change the variables in user defined variables.

to avoid this inconviniounce we can use property file with out open jmx file

ie., we can configure ip , no of iterations etc..

Setup:

Check wheter property file reader is available or not if not download



 tag-jmeter-extn-1.1.zip (20992 downloads)






myprop.properites sample data

#properties
ip=invrh73axonperf06
port=9997


sampleprop.jmx









Use Variable as

${__P(ip)}:${__P(port)}








Comments

Popular posts from this blog

Convert Swagger apis into jmeter script

Script for replace the data into the file content using groovy with jsr223

Jmeter Preprocessor to add Dynamic parameters