Joal has uploaded a new change for review. https://gerrit.wikimedia.org/r/280465
Change subject: Add manual test scripts in new test folder ...................................................................... Add manual test scripts in new test folder This test script facilitates local testing after deploy. Change-Id: Ie62056b526f285e2dab5fc2b7dc6739278de5268 --- A test/test_local_aqs_urls.sh 1 file changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/analytics/aqs/deploy refs/changes/65/280465/1 diff --git a/test/test_local_aqs_urls.sh b/test/test_local_aqs_urls.sh new file mode 100644 index 0000000..8eae21b --- /dev/null +++ b/test/test_local_aqs_urls.sh @@ -0,0 +1,10 @@ +/usr/local/lib/nagios/plugins/service_checker 127.0.0.1 http://localhost:7232/analytics.wikimedia.org/v1 + +echo '***************' +echo 'Manually testing some queries (should see Selfie, AC/DC, and Barak_Obama in red)' +echo '***************' + + +curl localhost:7232/analytics.wikimedia.org/v1/pageviews/per-article/en.wikipedia/all-access/all-agents/Selfie/daily/2016020100/2016020100 | grep --color -o Selfie +curl localhost:7232/analytics.wikimedia.org/v1/pageviews/per-article/en.wikipedia/all-access/all-agents/AC%2FDC/daily/2016020100/2016020100 | grep --color -o "AC/DC" +curl localhost:7232/analytics.wikimedia.org/v1/pageviews/per-article/en.wikipedia/all-access/all-agents/Barak%20Obama/daily/2016020100/2016020100 | grep --color -o Barak_Obama -- To view, visit https://gerrit.wikimedia.org/r/280465 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie62056b526f285e2dab5fc2b7dc6739278de5268 Gerrit-PatchSet: 1 Gerrit-Project: analytics/aqs/deploy Gerrit-Branch: master Gerrit-Owner: Joal <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
