FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DockerNginxLoadBalancer/script.js at master · mrceylan/DockerNginxLoadBalancer · GitHub
mrceylan
/
DockerNginxLoadBalancer
Public
Notifications
You must be signed in to change notification settings
Fork
8
Star
8
Code
Issues
2
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
DockerNginxLoadBalancer
/
script.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
10 lines (9 loc) · 239 Bytes
Breadcrumbs
DockerNginxLoadBalancer
/
script.js
Copy path
File metadata and controls
10 lines (9 loc) · 239 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
import
{
check
}
from
"k6"
;
import
http
from
'k6/http'
;
export
default
function
(
)
{
var
url
=
"http://localhost:5100/"
;
let
res
=
http
.
get
(
url
)
;
check
(
res
,
{
"is status 200"
:
(
r
)
=>
r
.
status
===
200
}
,
{
my_tag
:
res
.
body
}
,
)
;
}
Back
|
FazBrowse Home
|
New Git URL