Message is not printing on the console in jmeter using JSR223 and groovy

后端 未结 5 1543
忘掉有多难
忘掉有多难 2021-01-04 00:19

println() inside static void main method is not printing anything anywhere, whereas only println() prints in terminal. Here is my code:

class Ca         


        
5条回答
  •  旧巷少年郎
    2021-01-04 01:09

    Chapter "2. OUT" shows the answer:

    https://jmetervn.com/2016/12/05/jsr223-with-groovy-variables-part-1/

    use the OUT command.

    OUT.println("INPUT MESSAGE HERE");
    

提交回复
热议问题