Thursday, 14 March 2013

How to get jpeg file size in JMeter ?

Guys have you ever tried to get the size of the "jpeg file" and pass it in a sampler ?
 Below is the function which you can use in Jmeter to get the size of the jpeg file .

${__eval(${__strLen(${__FileToString(${FILE_PATH},,)},length)})}

FILE_PATH : Replace this variable with your jpeg file location. 


1 comment:

  1. Hi guys,

    I am manual tester and i want to learn Database testing so pls guide me what i have to do? I plan to join course for database and load testing can you suggest me what tools and which is the best training center in bangalore

    ReplyDelete