步骤如下:
添加JSP233 Sampler:右击线程组>添加>取样器>JSR223 Sampler 2.填写脚本,执行后查看日志。
res = "ipconfig".execute().text log.info(res) res = "python -c \"print(1+1)\"".execute().text log.info(res)