diff options
author | 2017-06-20 17:40:38 +0800 | |
---|---|---|
committer | 2017-06-20 17:45:42 +0800 | |
commit | d96bf32a81e1c109c87013db5799940c0f9d726b (patch) | |
tree | bd496f878173b51d1cd298d38dbf1ee8920748c9 /utils/test/testapi/etc | |
parent | b9492a0eaac9838fdfb6b070bcec328387881129 (diff) |
support pagination in TestAPI
In this patch, pagination is supported, so you can go through results
leveraging: http://testresults.opnfv.org/test/api/v1/results?page=2
Change-Id: Ibe31c787643f27dbb06c4899e713b3c8e716e784
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/etc')
-rw-r--r-- | utils/test/testapi/etc/config.ini | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/test/testapi/etc/config.ini b/utils/test/testapi/etc/config.ini index 692e48897..cf46bf71b 100644 --- a/utils/test/testapi/etc/config.ini +++ b/utils/test/testapi/etc/config.ini @@ -10,6 +10,10 @@ dbname = test_results_collection # Listening port url = http://localhost:8000/api/v1 port = 8000 + +# Number of results for one page (integer value) +#results_per_page = 20 + # With debug_on set to true, error traces will be shown in HTTP responses debug = True authenticate = False |