-
Notifications
You must be signed in to change notification settings - Fork 7
/
tests.yml
105 lines (105 loc) · 3.01 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# ::Begin sample YAML::
#
# - Name: Sample Test Name
# Description: >
# Stress Test Description...what it tests or what a client does and expects.
# The description text can accept template data {{.NumberOfRequests}}
# and renders as **Markdown**.
# NumberOfConnections: 125
#
# NumberOfRequests: 100000
# or
# Duration: 5s
#
# Timeout: 15s
# Method: POST
# BodyFile: ./request_payload.json
# Headers:
# Key: Value
# URL: http://localhost:5000
# Envs:
# - Repo: username/repo
# Name: projectName
# Language: Go
# Dir: ./_code/sample/framework_name
# Link: ./code_sample/framework_name # overrides the Repo if not empty (or Dir if Repo was empty).
# Exec: >-
# command 1
# command 2
# go run main.go
# or
# NotSupported: true
#
# ::End sample YAML::
- Name: Static
Description: Fires {{.NumberOfRequests}} requests, receives a static message as response.
NumberOfRequests: 100000
# Duration: 5s
Method: GET
URL: http://localhost:5000
Envs:
- Repo: expressjs/express
Language: Javascript
- Repo: gin-gonic/gin
- Repo: koajs/koa
Language: Javascript
- Repo: kataras/iris
# - Repo: kataras/iris-private
# Dir: ./_code/static/iris-next
- Repo: labstack/echo
- Name: Kestrel
Repo: dotnet/aspnetcore
Language: "C#"
- Repo: go-martini/martini
- Repo: go-chi/chi
- Repo: gobuffalo/buffalo
- Name: Parameterized
Description: >-
Fires {{.NumberOfRequests}} requests with a dynamic parameter of string,
receives a hello text based on the parameter as response.
NumberOfRequests: 100000
# Duration: 5s
Method: GET
URL: http://localhost:5000/hello/world
Envs:
- Repo: expressjs/express
Language: Javascript
- Repo: gin-gonic/gin
- Repo: koajs/koa
Language: Javascript
# - Repo: kataras/iris
# - Repo: kataras/iris-private
Dir: ./_code/parameterized/iris-next
- Repo: labstack/echo
- Name: Kestrel
Repo: dotnet/aspnetcore
Language: "C#"
- Repo: go-martini/martini
- Repo: go-chi/chi
- Repo: gobuffalo/buffalo
- Name: REST
Description: >-
Fires {{.NumberOfRequests}} requests with a dynamic parameter of int,
sends 1MB JSON as request body and receives JSON as response.
NumberOfRequests: 100000
# Duration: 8s
Method: POST
# BodyFile: ./_code/rest/request.json
BodyFile: "https://microsoftedge.github.io/Demos/json-dummy-data/1MB.json"
URL: http://localhost:5000/42
Envs:
- Repo: expressjs/express
Language: Javascript
- Repo: gin-gonic/gin
- Repo: koajs/koa
Language: Javascript
- Repo: kataras/iris
# - Repo: kataras/iris-private
# Dir: ./_code/rest/iris-next
- Repo: labstack/echo
- Name: Kestrel
Repo: dotnet/aspnetcore
Language: "C#"
- Repo: go-martini/martini
- Repo: go-chi/chi
- Repo: gobuffalo/buffalo