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

[QUESTION]: is there a way to Merge the Parallel threads in one #35

Open
bheemreddy181-zz opened this issue Mar 15, 2019 · 10 comments
Open
Labels

Comments

@bheemreddy181-zz
Copy link

No description provided.

@DzmitryHumianiuk
Copy link
Member

@bheemreddy181 there 2 ways, how another integrations make this:

  1. Start launch in advance to threads. Share launch id with threads. Run threads. Finish launch once latest thread completed

  2. Run all threads separately. Collect IDs of launches or add specific tag to find launches later. Call Merge function via API for collected array of IDs.

http://reportportal.io/docs/Operations-under-launches%3Emerge-launches

cc @aliaksandr-trush

@bheemreddy181-zz
Copy link
Author

@DzmitryHumianiuk Can I get some help on doing this on agent-ruby?

@DzmitryHumianiuk
Copy link
Member

@bheemreddy181 we don’t have support team for that.
But you can find some help in SLACK chat, within community.

Link available from landing page

@aliaksandr-trush
Copy link
Collaborator

@bheemreddy181 did you try ReportPortal::Cucumber::ParallelFormatter ?
It's reporting all threads to a single launch.

If you need implement your own solution you can how it is already implemented in parallel_report.rb

@bheemreddy181-zz
Copy link
Author

bheemreddy181-zz commented Mar 18, 2019

ReportPortal::Cucumber::ParallelFormatter does push each thread to one report on the dashboard it doesn't automatically merge the threads for me @aliaksandr-trush

and your statement above is wrong :-)

@vasirajuv
Copy link

Hi, My project starts multiple pytest executions in parallel. How can i send parallel execution results to same launch

@bheemreddy181-zz
Copy link
Author

right now there isn't a way to do it unless someone contributes to this repo

@vasirajuv
Copy link

In that case can you please provide the details of the Merge API of ReportPortal? How to fetch launch ids from the parallel runs so that i can send them to the merge API?

@bheemreddy181-zz
Copy link
Author

https://stackoverflow.com/questions/42110425/rest-api-documentation-for-reportportal, fetching launch ID's is something which we have to code for on this repo

@vasirajuv
Copy link

thanks @bheemreddy181, but i need to give the launch names (along with ids) to this API to merge, is there anyway to get these details from the present pytest run?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants