Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single http request for posting results and generating report from them #18

Open
Xotabu4 opened this issue Aug 20, 2020 · 3 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@Xotabu4
Copy link

Xotabu4 commented Aug 20, 2020

Currently to generate report you need to:

  • zip folder
  • upload it with HTTP form request
  • store id from response
  • use results-id in next request with some additional params to actually trigger report generation and publish

To do this, i had to write .js script to make these requests
image

So my pipeline looks like:
image

Would be nice to have one single endpoint to publish results and generate report with one request, so it can be done with single curl command. Report generation params probably can be passed as form data values.

@kochetkov-ma kochetkov-ma self-assigned this Aug 21, 2020
@kochetkov-ma kochetkov-ma added the enhancement New feature or request label Aug 21, 2020
@kochetkov-ma kochetkov-ma added the documentation Improvements or additions to documentation label Apr 12, 2021
@kochetkov-ma
Copy link
Owner

in next major release

@grybakov
Copy link

grybakov commented Aug 4, 2021

To do this, i had to write .js script to make these requests

Hi! Now i do the same. Python script only: https://gist.github.com/grybakov/219a6f9717a4ab280d6da834bc0a5dd5
Step in Gitlab CI: python3 send-allure-results.py -n ${CI_PROJECT_NAME} -i ${CI_PIPELINE_ID} -h ${ALLURE_SERVER_HOST}

@px137
Copy link

px137 commented Dec 28, 2021

org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException: the request was rejected because its size exceeds the configured maximum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants