简体   繁体   中英

JMeter command line: Can I output the run log to STDOUT?

I just want the JMeter run log (-l parameter) piped to STDOUT for processing in a script, is there an easy way to do this? Using /tmp files is so icky.

没有尝试过,但可能JMeter -l /dev/stdout会有所帮助吗?

Maybe you can try mkfifo :

$ mkfifo log.txt
$ cat log.txt | ./script.sh
$ JMeter -l log.txt

您能详细说明一下script.sh的确切含义吗?

This worked for me -j /dev/stdout as per this solution:

https://stackoverflow.com/a/71508222/2303693

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM