Skip to main content

How to convert xml file to jmx file in jmeter?

Please refer the XML data below

http://stackoverflow.com/questions/8676249/jmeter-file-upload-and-file-download-scenario false false testURL www.datafilehost.com = testFile upload.txt = scriptPath ${__BeanShell(import org.apache.jmeter.services.FileServer; FileServer.getFileServer().getBaseDir();)}${__BeanShell(File.separator,)} = ${testURL} Java 4 false continue false 1 1 1 1429126843000 1429126843000 false / GET true false true false false 200 Assertion.response_code false 8 NOT_FOUND MAX_FILE_SIZE //input[@name="MAX_FILE_SIZE"]/@value false true false false ${MAX_FILE_SIZE} = true MAX_FILE_SIZE /upload.php POST true false true true ${scriptPath}${testFile} upfile text/plain false 200 Assertion.response_code false 8 Your file has been successfully uploaded! Assertion.response_data false 2 NOT_FOUND accessURL //input[@name='download']/@value false true false false downloadID ${testURL}/d/(.*) $1$ NOT_FOUND 1 variable accessURL ${accessURL} GET true false true false false 200 Assertion.response_code false 8 Invalid file ID. Assertion.response_data false 6 NOT_FOUND downloadURL //a[*[@alt='Download']]/@href false true false ${downloadURL} GET true false true false false 200 Assertion.response_code false 8 Invalid file ID. Assertion.response_data false 6 downloaded_${downloadID}_ false false false false downloadedFile true false true false false saveConfig true true true true true true true true true false true true false false false false false false false false 0 true true false saveConfig true true true true true true true true true false true true false false false false false false false false 0 true true