Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ed7e3662
Commit
ed7e3662
authored
Mar 26, 2019
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix url property format and use conn. pool
Also update arrivalRate to a max of 100
parent
5765c598
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
qa/Rakefile
qa/Rakefile
+3
-3
qa/load/artillery.yml
qa/load/artillery.yml
+10
-7
qa/qa/tools/generate_perf_testdata.rb
qa/qa/tools/generate_perf_testdata.rb
+1
-1
No files found.
qa/Rakefile
View file @
ed7e3662
...
...
@@ -27,9 +27,9 @@ task :run_artillery_load_tests do
end
urls
=
YAML
.
safe_load
(
File
.
read
(
urls_file
))
ENV
[
'HOST_URL'
]
=
urls
[
:host
]
ENV
[
'LARGE_ISSUE_URL'
]
=
urls
[
:large_issue
]
ENV
[
'LARGE_MR_URL'
]
=
urls
[
:large_mr
]
ENV
[
'HOST_URL'
]
=
urls
[
"host"
]
ENV
[
'LARGE_ISSUE_URL'
]
=
urls
[
"large_issue"
]
ENV
[
'LARGE_MR_URL'
]
=
urls
[
"large_mr"
]
end
sh
(
'artillery run load/artillery.yml -o report.json'
)
...
...
qa/load/artillery.yml
View file @
ed7e3662
config
:
target
:
"
{{
$processEnvironment.HOST_URL
}}"
http
:
pool
:
10
# All HTTP requests from all virtual users will be sent over the same <pool> connections.
# This also means that there is a limit on the number of requests sent per second.
phases
:
-
duration
:
6
0
arrivalRate
:
1
-
duration
:
3
0
arrivalRate
:
1
0
name
:
"
Warm
up"
-
duration
:
12
0
arrivalRate
:
1
rampTo
:
5
0
-
duration
:
9
0
arrivalRate
:
1
0
rampTo
:
10
0
name
:
"
Gradual
ramp
up"
-
duration
:
6
0
arrivalRate
:
5
0
-
duration
:
9
0
arrivalRate
:
10
0
name
:
"
Sustained
max
load"
scenarios
:
-
name
:
"
Visit
large
issue
url"
...
...
qa/qa/tools/generate_perf_testdata.rb
View file @
ed7e3662
...
...
@@ -46,7 +46,7 @@ module QA
threads_arr
.
each
(
&
:join
)
STDOUT
.
puts
"
\n
URLs:
#{
@urls
}
"
File
.
open
(
"urls.yml"
,
"w"
)
{
|
file
|
file
.
puts
@urls
.
to_yaml
}
File
.
open
(
"urls.yml"
,
"w"
)
{
|
file
|
file
.
puts
@urls
.
stringify_keys
.
to_yaml
}
STDOUT
.
puts
"
\n
Done"
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment