This commit is contained in:
aozhiwei 2024-04-05 18:45:29 +08:00
parent 57bbea93db
commit 4f176d0e99
3 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
node ../../../tools/robot/app.js -hwss://friend-test.kingsome.cn/2/ -utest134345 -d../../../server/imserver_new/
node ../../../tools/robot/app.js -h=ws://friend-test.kingsome.cn/2/ -utest134345 -d../../../server/imserver_new/

View File

@ -67,6 +67,7 @@ class ClientNet {
}
async connect() {
console.log(this.url);
this.conn = await ws.connect(this.url);
this.on('binary', this.onReceive.bind(this));
}

View File

@ -47,6 +47,7 @@ class TestCase {
constructor(url) {
this.relationUrl = getArgv('h');
console.log(this.relationUrl);
this.openId = getArgv('u');
this.protoDir = getArgv('d');
this.loginData = null;