git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP tests on Docker
[plcapi.git]
/
tests
/
benchmark.php
diff --git
a/tests/benchmark.php
b/tests/benchmark.php
index
0ca9e28
..
8ef4587
100644
(file)
--- a/
tests/benchmark.php
+++ b/
tests/benchmark.php
@@
-3,7
+3,7
@@
* Benchmarking suite for the PHP-XMLRPC lib.
*
* @author Gaetano Giunta
* Benchmarking suite for the PHP-XMLRPC lib.
*
* @author Gaetano Giunta
- * @copyright (c) 2005-20
15
G. Giunta
+ * @copyright (c) 2005-20
20
G. Giunta
* @license code licensed under the BSD License: see file license.txt
*
* @todo add a test for response ok in call testing
* @license code licensed under the BSD License: see file license.txt
*
* @todo add a test for response ok in call testing
@@
-206,13
+206,13
@@
if (!$xd) {
for ($i = 0; $i < 25; $i++) {
$reqs[] = $req;
}
for ($i = 0; $i < 25; $i++) {
$reqs[] = $req;
}
- $server = explode(':', $args['
LOCAL
SERVER']);
+ $server = explode(':', $args['
HTTP
SERVER']);
if (count($server) > 1) {
if (count($server) > 1) {
- $srv = $server[1] . '://' . $server[0] . $args['URI'];
- $c = new Client($args['URI'], $server[0], $server[1]);
+ $srv = $server[1] . '://' . $server[0] . $args['
HTTP
URI'];
+ $c = new Client($args['
HTTP
URI'], $server[0], $server[1]);
} else {
} else {
- $srv = $args['
LOCALSERVER'] . $args['
URI'];
- $c = new Client($args['
URI'], $args['LOCAL
SERVER']);
+ $srv = $args['
HTTPSERVER'] . $args['HTTP
URI'];
+ $c = new Client($args['
HTTPURI'], $args['HTTP
SERVER']);
}
// do not interfere with http compression
$c->accepted_compression = array();
}
// do not interfere with http compression
$c->accepted_compression = array();