<p>I'm working on Kubernetes on Microsoft azure with real data. Now,  I need to generate a sample of data on JMeter then use it as workload to stress the CPU in Tea-Store microservices on Kubernetes. Any hint or source about How to do that, and which type of files work with JMeter?</p>

L AL
<p>If you want a specific answer you need to ask more specific question.</p>
<p>The most common parameterization options are:</p>
<ol>
<li><p>If you need to ingest data from external data sources:</p>
<ul>
<li><a href="https://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config" rel="nofollow noreferrer">CSV Data Set Config</a> allows reading CSV files into <a href="https://jmeter.apache.org/usermanual/functions.html" rel="nofollow noreferrer">JMeter Variables</a> so each virtual user on each iteration reads next line from the CSV file</li>
<li><a href="https://jmeter.apache.org/usermanual/functions.html#__CSVRead" rel="nofollow noreferrer">__CSVRead() function</a> does more or less the same however it can be declared/used in the runtime so you can have dynamic filename/path and you decide when to proceed to next column/row</li>
<li><a href="https://jmeter.apache.org/usermanual/component_reference.html#JDBC_Request" rel="nofollow noreferrer">JDBC Request</a> sampler allows reading test data from the database or <a href="https://www.blazemeter.com/blog/how-to-create-test-data-in-a-database-with-jmeter/" rel="nofollow noreferrer">creating test data in the database</a></li>
<li><a href="https://jmeter.apache.org/usermanual/functions.html#__StringFromFile" rel="nofollow noreferrer">__StringFromFile() function</a> reads next line from file each time it's being called</li>
<li><a href="https://jmeter.apache.org/usermanual/functions.html#__FileToString" rel="nofollow noreferrer">__FileToString() function</a> reads whole file into memory/variable</li>
</ul>
</li>
<li><p>If you need to generate brand new/random data:</p>
<ul>
<li><a href="https://jmeter.apache.org/usermanual/functions.html#__threadNum" rel="nofollow noreferrer">__threadNum()</a> - number of current thread</li>
<li><a href="https://jmeter.apache.org/usermanual/functions.html#__time" rel="nofollow noreferrer">__time()</a> and <a href="https://jmeter.apache.org/usermanual/functions.html#__timeShift" rel="nofollow noreferrer">__timeShift()</a> - current timestamp in various formats plus possibility to generate dates in future or past</li>
<li><a href="https://jmeter.apache.org/usermanual/functions.html#__Random" rel="nofollow noreferrer">__Random()</a> - generate a random number</li>
<li><a href="https://jmeter.apache.org/usermanual/functions.html#__RandomString" rel="nofollow noreferrer">__RandomString()</a>  - generate a random string out of provided characters</li>
<li><a href="https://jmeter.apache.org/usermanual/functions.html#__UUID" rel="nofollow noreferrer">__UUID()</a> - generate unique GUID-like structure</li>
<li><a href="https://jmeter.apache.org/usermanual/functions.html#__groovy" rel="nofollow noreferrer">__groovy()</a> - for everything else, it executes arbitrary Groovy code and returns the result</li>
</ul>
</li>
</ol>
