1、下載jython
https://www.jython.org/downloads.html
下載Download Jython 2.7.0 - Standalone Jar : For embedding Jython in Java applications
2、下載后,將jython-standalone-2.7.0.jar放到Jmeter的lib目錄下
3、重啟Jmeter
4、添加線程組,在線程組中添加取樣器,取樣器選擇JSR223
5、腳本語言選擇python
6、傳入python腳本(待補充)