jmeter
1.java
AudioSystem.getAudioInputStream(File)
到底如何转换??
java sound
- beanshell 预处理
vars.put("bytes", s);
ws write
${bytes}
暂时失败告终,有空再学习.....
python websocket-client
对jmeter 实在是不怎么熟悉,先用比较熟悉的python 实现一下吧。
短连接
import websocket
ws = websocket.WebSocket()
ws.connect(url)
ws.send("123")
print(ws.recv())
ws.close()
长连接
import websocket
def on_message(ws,message):
print(message)
# 这里的ws必须和on_message的ws同名
ws = websocket.WebSocketApp(url,on_message=on_message)
ws.run_forever()
js
https://github.com/websockets/ws
https://blog.csdn.net/qq_32252957/article/details/88586497
electron 打包成exe
https://github.com/electron/electron