<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by JMeter Learning on Medium]]></title>
        <description><![CDATA[Stories by JMeter Learning on Medium]]></description>
        <link>https://medium.com/@jmeterlearning?source=rss-69763cca663c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*SlyufOEKnirYrdsg.jpg</url>
            <title>Stories by JMeter Learning on Medium</title>
            <link>https://medium.com/@jmeterlearning?source=rss-69763cca663c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 04:43:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jmeterlearning/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[JMeter — Beanshell Script — Define Arrays and Get Values]]></title>
            <link>https://medium.com/@jmeterlearning/jmeter-beanshell-script-define-arrays-and-get-values-5d424f1d5efc?source=rss-69763cca663c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d424f1d5efc</guid>
            <category><![CDATA[arraylist]]></category>
            <category><![CDATA[performance-testing]]></category>
            <category><![CDATA[jmeter]]></category>
            <dc:creator><![CDATA[JMeter Learning]]></dc:creator>
            <pubDate>Mon, 20 May 2019 02:44:22 GMT</pubDate>
            <atom:updated>2019-05-20T02:44:22.778Z</atom:updated>
            <content:encoded><![CDATA[<h3>JMeter — Beanshell Script — Define Arrays and Get Values</h3><p>JMeter — Beanshell Script, Below You can use the Code to create a Array and Get All extracted Values into that Array.</p><p>import java.util.List;<br>import java.util.ArrayList;</p><p>//get total count here<br>Integer total = Integer.valueOf(vars.get(“Variable1_matchNr”));</p><p>// define empty array here<br>List myList = new ArrayList();</p><p>//loop through all the values here<br>for (int i = 1; i &lt;= total; i++) {</p><p>//Create the List adding values here below<br> myList.add(vars.get(“Variable1_”+i+”_g0&quot;));</p><p>//Put/Add all array values into the variable this will add all values into array with comma separated<br> vars.putObject(“myList”, myList);<br> }</p><p>// here write the array values into the csv file.<br>f = new FileOutputStream(“Variable1_Arrary_list.csv”, true);<br>p = new PrintStream(f); <br>this.interpreter.setOut(p); <br>print(myList);<br>f.close();</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d424f1d5efc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JMeter — Beanshell Write Extracted Data into CSV or TXT file]]></title>
            <link>https://medium.com/@jmeterlearning/jmeter-beanshell-write-extracted-data-into-csv-or-txt-file-112acaba2ca1?source=rss-69763cca663c------2</link>
            <guid isPermaLink="false">https://medium.com/p/112acaba2ca1</guid>
            <category><![CDATA[performance-testing]]></category>
            <category><![CDATA[jmeter]]></category>
            <dc:creator><![CDATA[JMeter Learning]]></dc:creator>
            <pubDate>Mon, 20 May 2019 02:36:11 GMT</pubDate>
            <atom:updated>2019-05-20T02:36:11.488Z</atom:updated>
            <content:encoded><![CDATA[<h3>JMeter — Beanshell Write Extracted Data into CSV or TXT file</h3><p>Below the code you can use to save the data into either csv or txt file.</p><p>//Defined the integer to get the total no. of variables exists (this can use only when use are extracting multiple values from PostProcessor using (-1)<br>Integer total = Integer.valueOf(vars.get(“VariableName_matchNr”));</p><p>//Loop through the total found values<br>for(i=1;i&lt;=total;i++){<br> GetVariableName= vars.get(“VariableName_”+String.valueOf(i)+”_g1&quot;);<br>vars.put(“GetVariableName” + i, finalArr);</p><p>//create a csv or txt file here and add values.<br>f = new FileOutputStream(“AllVariablesNames.csv”, true);<br>p = new PrintStream(f); <br>this.interpreter.setOut(p); <br>print(GetVariableName);<br>f.close();<br>}</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=112acaba2ca1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>