 <p>A possible solution posted by <strong>Eugene Kazakov</strong> <a href="http://jmeter.512774.n5.nabble.com/Using-Python-or-Ruby-from-Jmeter-td5716088.html" rel="nofollow">here</a>:</p> <blockquote> <p>JSR223 sampler has good possibility to write and execute some code, just put jython.jar into /lib directory, choose in "Language" pop-up menu jython and write your code in this sampler.</p> </blockquote> <p><a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=47511" rel="nofollow">Sadly there is a bug in Jython, but there are some suggestion on the page.</a></p> <p><a href="https://www.google.com/search?q=jython%20jmeter" rel="nofollow">More here.</a></p>