Toggle navigation
Toggle navigation
This project
Loading...
Sign in
YPT
/
jmeter
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rong
8 years ago
Commit
7b424abf27770457869a6362962010c5b62b6fed
1 parent
002b2b34
add by shell
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
gor/yohoPerformanceTestAuto_Gor_InfluxDB.sh
gor/yohoPerformanceTestAuto_Gor_InfluxDB.sh
View file @
7b424ab
...
...
@@ -24,8 +24,8 @@ function exeInfluxdb(){
function
uploadLoadInfo
(){
v1
=
$(
cat
${
GOR_LOG_PATH
}
| grep output_http | tail -n 1 | awk -F
','
'{print $2}'
)
v2
=
$(
cat
${
GOR_LOG_PATH
}
| grep output_http | tail -n 1 | awk -F
','
'{print $5}'
)
exeInfluxdbStr
=
"
${
IP
}
.
${
TC_NAME
}
.ok.count value=
${
v1
}
${
IP
}
.
${
TC_NAME
}
.ok.pct90 value=
${
v2
}
"
exeInfluxdbStr
=
"
${
IP
}
.
${
TC_NAME
}
.ok.count value=
${
v2
}
${
IP
}
.
${
TC_NAME
}
.ok.pct90 value=
${
v1
}
"
exeInfluxdb
"
$exeInfluxdbStr
"
}
...
...
Please
register
or
login
to post a comment