reportportal / agent-Python-RobotFramework

Robot Framework integration for Report Portal
Apache License 2.0
59 stars 32 forks source link

API robot test execution is very slow [v5] #63

Closed iamtech123 closed 4 years ago

iamtech123 commented 4 years ago

Describe the bug API robot test execution is very slow

To Reproduce Execute attached test case file ("RequestLib.txt") with report portal V5.

Actual Result The test file RequestLib.txt took 1 min while executing in local without RP parameters. Same test case took more than 7 mins while executing with RP parameters.

Please find the attached reports from above runs.

Library used in the attached test case file : RequestsLibrary - https://marketsquare.github.io/robotframework-requests/

RequestLib.txt API_Run_WithoutRP.zip API_Run_WithRP.zip piplist

iivanou commented 4 years ago

@iamtech123 Both robotframework-reportportal and your tests are using the requests Python library to establish sessions and to send HTTP requests. The current implementation of the reportportal-client does not support non-blocking HTTP requests that introduce a level of slowness in your tests. However, it is not gonna be solved quickly.

iamtech123 commented 4 years ago

Thanks @iivanou for the update. Is it possible to have a fix by this quarter(Apr-Jun).

iivanou commented 4 years ago

I do not think so.

iivanou commented 4 years ago

Closed. Nothing to do on the agent side. The client side will be improved.

iamtech123 commented 4 years ago

@iivanou Do we have a followup ticket for this? I need to track this issue / limitation. Could you please help.

iivanou commented 4 years ago

There is no issue exist for that. This work is being done within the development of a new client.

iamtech123 commented 4 years ago

@evjlobanova @iivanou sorry for too much bugging. can i assume that RP V6 will have the fix or do we have any intermediate release like 5.x.