Commit 4c06d308 authored by wang's avatar wang

f9

parent 77f1bdba
...@@ -105,8 +105,8 @@ class PxBypass { ...@@ -105,8 +105,8 @@ class PxBypass {
// Query for a movie that has the title 'The Room' // Query for a movie that has the title 'The Room'
const query = { const query = {
'env.funcs': {$ne: null}, 'env.funcs': {$ne: null},
'env.navigatorparams.platform': 'MacIntel', // 'env.navigatorparams.platform': 'MacIntel',
// 'env.navigatorparams.platform': 'Win32', 'env.navigatorparams.platform': 'Win32',
"env.navigatorparams.vendor": "Google Inc.", "env.navigatorparams.vendor": "Google Inc.",
// 'env.useragentdata.highvalue.uafullversion':{$ne:null}, // 'env.useragentdata.highvalue.uafullversion':{$ne:null},
'env.useragentdata.highvalue.uafullversion': {$ne: ""} 'env.useragentdata.highvalue.uafullversion': {$ne: ""}
...@@ -5098,7 +5098,7 @@ class PxBypass { ...@@ -5098,7 +5098,7 @@ class PxBypass {
} }
async step1() { async step1() {
this.log.info("PX12095") if (plt === 'darwin')this.log.info("PX12095")
// this.log.info('setp1') // this.log.info('setp1')
let t1 = new Date().getTime(); let t1 = new Date().getTime();
...@@ -5128,7 +5128,7 @@ class PxBypass { ...@@ -5128,7 +5128,7 @@ class PxBypass {
} }
async step2() { async step2() {
this.log.info("PX12167") if (plt === 'darwin')this.log.info("PX12167")
this.performanceNow += randint(1000, 2000) this.performanceNow += randint(1000, 2000)
...@@ -5138,7 +5138,7 @@ class PxBypass { ...@@ -5138,7 +5138,7 @@ class PxBypass {
} }
async step3() { async step3() {
this.log.info('11590') if (plt === 'darwin')this.log.info('11590')
this.performanceNow = randint(3000, 4000) this.performanceNow = randint(3000, 4000)
// 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,
...@@ -5149,7 +5149,7 @@ class PxBypass { ...@@ -5149,7 +5149,7 @@ class PxBypass {
} }
async step31() { async step31() {
this.log.info("px11951") if (plt === 'darwin')this.log.info("px11951")
this.performanceNow = randint(3000, 4000) this.performanceNow = randint(3000, 4000)
// 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,
...@@ -5161,7 +5161,7 @@ class PxBypass { ...@@ -5161,7 +5161,7 @@ class PxBypass {
} }
async step4() { async step4() {
this.log.info("px11547") if (plt === 'darwin') this.log.info("px11547")
this.performanceNow += randint(1000, 2000) 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,
...@@ -5210,7 +5210,7 @@ class PxBypass { ...@@ -5210,7 +5210,7 @@ class PxBypass {
} }
async do_func(func) { async do_func(func) {
this.log.info(func.t) if (plt === 'darwin')this.log.info(func.t)
this.performanceNow += randint(1000, 2000) this.performanceNow += randint(1000, 2000)
let data = [func] let data = [func]
let res = await this.do_collector(data) let res = await this.do_collector(data)
......
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