jmeter beanshell 获取当前运行环境的ip
摘要:
InetAddress ia = InetAddress.getLocalHost(); String ip = ia.getHostAddress(); String name = ia.getHostName(); log.info(ip); log.info(name); 阅读全文
posted @ 2024-11-18 14:37 yxchun 阅读(4) 评论(0) 推荐(0) 编辑