This is an automated email from the git hooks/post-receive script. New commit to branch feature/init-perf-test in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 773805bd6f0c85a22ec34950db9641bda84ea425 Author: Yannick Martel <martel@codelutin.com> Date: Wed Apr 15 09:57:07 2020 +0200 try to start catalina and apache2 and update backend url for artillery --- .gitlab-ci.yml | 5 +++-- integration-tests/artillery/normalPollConf.yml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e4368a5e..d3cd3389 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -225,11 +225,12 @@ artillery: when : manual script: - - curl localhost:8080/v1/status + - catalina.sh start & service apache2 start - curl -sL https://deb.nodesource.com/setup_10.x | bash - - apt-get install -y nodejs - cp integration-tests/db/pollen-rest-api.mv.db /var/local/pollen/db/pollen-rest-api.mv.db - - curl http://localhost:8080/pollen-rest-api/v1/status + - curl localhost:8080/v1/status + - curl http://localhost:80/pollen-rest-api/v1/status - cd integration-tests/artillery/ - npm install artillery - ./node_modules/.bin/artillery -V diff --git a/integration-tests/artillery/normalPollConf.yml b/integration-tests/artillery/normalPollConf.yml index 1ef667a4..aa0c36d1 100644 --- a/integration-tests/artillery/normalPollConf.yml +++ b/integration-tests/artillery/normalPollConf.yml @@ -13,9 +13,9 @@ scenarios: - name: "Normal Poll" flow: - post: - url : "http://localhost:8080/pollen-rest-api/v1/polls/9MRHYsf6S4KGgiHPWoCXrQ/questi..." + url : "http://localhost:8080/v1/polls/9MRHYsf6S4KGgiHPWoCXrQ/questions/BFvyMWcpRZ66..." headers: - X-Pollen-UI-context: '{"uiEndPoint":"http://localhost:8080","userValidateUrl":"http://localhost:8080/#signcheck/{userId}/{token}","pollVoteUrl":"http://localhost:8080/#poll/{pollId}/vote/{token}","pollVoteEditUrl":"http://localhost:8080/#poll/{pollId}/vote/{voteId}/{token}","pollEditUrl":"http://localhost:8080/#poll/{pollId}/summary/{token}","resourceUrl":"http://localhost:8888/pollen-rest-api/v1/resources/{resourceId}","resourceDownloadUrl":"http://localhost:8888/pollen-rest-a [...] + X-Pollen-UI-context: '{"uiEndPoint":"http://localhost:8080","userValidateUrl":"http://localhost:8080/#signcheck/{userId}/{token}","pollVoteUrl":"http://localhost:8080/#poll/{pollId}/vote/{token}","pollVoteEditUrl":"http://localhost:8080/#poll/{pollId}/vote/{voteId}/{token}","pollEditUrl":"http://localhost:8080/#poll/{pollId}/summary/{token}","resourceUrl":"http://localhost:8888/v1/resources/{resourceId}","resourceDownloadUrl":"http://localhost:8888/v1/resources/{resourceId}/dow [...] json: voterName : "{{ votername }}" choice: -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.