perf_check 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/perf_check/config.rb +1 -0
- data/lib/perf_check/test_case.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c9de073c9a842393f42b25f300465e7b504be65
|
4
|
+
data.tar.gz: 35142b1c5a1476aa487d6f615ade810329381652
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f22cb7a95b11694582a554eb20900230f913a983b8e781f3e3be71fd18ecc9851575e3d06e3498bc7d30e809d451d7360b194caab654ce37e6eda087723c5387
|
7
|
+
data.tar.gz: cda3c33ea5c320b9973c8ebc118e21256c261c0b44488baabc5604266999a8dba5dec6645c57cc02fef2b86188aa6e436438f43d36da9be0c5ad8a47164a15cd
|
data/lib/perf_check/config.rb
CHANGED
data/lib/perf_check/test_case.rb
CHANGED
@@ -27,6 +27,7 @@ class PerfCheck
|
|
27
27
|
|
28
28
|
headers = {'Cookie' => "#{cookie}".strip}
|
29
29
|
headers['Accept'] = 'text/html,application/xhtml+xml,application/xml'
|
30
|
+
headers.merge!(PerfCheck.config.headers)
|
30
31
|
|
31
32
|
(options.number_of_requests+1).times do |i|
|
32
33
|
profile = server.profile do |http|
|