Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kcech committed Nov 5, 2020
1 parent e18837e commit 94665fd
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docs/platform_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ prefer CLI, via

::

newman run postman-script.json -e postman-script-env.json --delay-request 2000 --reporters cli,json --reporter-json-export outputfile.json
newman run postman-script.json -e postman-script-env.json --delay-request 5000 --reporters cli,json --reporter-json-export outputfile.json

where files *postman-script.json* and *postman-script-env.json* are
located in subdirectory
Expand All @@ -64,6 +64,17 @@ from your local copy of Sentilo.
This script provides tests all Sentilo REST API resources and can serve
you also as example of the API usage.

.. note::

Before executing tests with newman, you should review the values of the variables
api_url, api_port, provider and provider_token in the environment file postman-script-env.json
so that they match your Sentilo instance


.. |status_170_001.jpg| image:: _static/images/platform_testing/status_170_001.jpg
.. |status_170_002.jpg| image:: _static/images/platform_testing/status_170_002.jpg
.. |status_170_003.jpg| image:: _static/images/platform_testing/status_170_003.jpg
.. |status_170_003.jpg| image:: _static/images/platform_testing/status_170_003.jpg


Before executing the postman script / or you should replace default values (extracted from the init_test_data.js file)
with the ones that you want to use to execute it (api_url, api_port, provider and provider_token)

0 comments on commit 94665fd

Please sign in to comment.