Commit eb2f93c0 authored by wang's avatar wang

js

parent 3702e27d
...@@ -229,13 +229,15 @@ class PxBypass { ...@@ -229,13 +229,15 @@ class PxBypass {
} }
async step2() { async step2() {
this.log.info('setp2') this.performanceNow += randint(1000, 2000)
let data = [{"t": "PX12167", "d": {"PX11648": true}}] let data = [{"t": "PX12167", "d": {"PX11648": true}}]
let res = await this.do_collector(data) let res = await this.do_collector(data)
} }
async step3() { async step3() {
this.performanceNow += randint(1000, 2000)
let data = genPayload2(this.url, this.sid, this.vid, this.ts, this.num1, this.num2, let data = genPayload2(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
this.str1, this.uuid, this.str1, this.uuid,
this.startTs, this.startTs2, this.performanceNow, this.px12280) this.startTs, this.startTs2, this.performanceNow, this.px12280)
...@@ -244,6 +246,7 @@ class PxBypass { ...@@ -244,6 +246,7 @@ class PxBypass {
} }
async step4() { async step4() {
this.performanceNow += randint(1000, 2000)
let data = genPayload4(this.url, this.sid, this.vid, this.ts, this.num1, this.num2, let data = genPayload4(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
this.str1, this.uuid, this.str1, this.uuid,
this.startTs, this.startTs2, this.performanceNow, this.px12280) this.startTs, this.startTs2, this.performanceNow, this.px12280)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment