reportportal / agent-Python-RobotFramework

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

Error "No message available" #35

Closed nam-edi closed 3 years ago

nam-edi commented 5 years ago

Hello,

I have a problem when I run a test with the listener

=> robot --listener robotframework_reportportal.listener --variable RP_UUID:"XXXXXXXXXXXXXX" --variable RP_ENDPOINT:"http://localhost:8080/api/v1" --variable RP_LAUNCH:"superadmin_TEST_EXAMPLE" --variable RP_PROJECT:"Test" test.robot

File "/usr/local/lib/python2.7/site-packages/reportportal_client/service_async.py", line 208, in process_item
getattr(self.rp_client, method)(**kwargs)

File "/usr/local/lib/python2.7/site-packages/reportportal_client/service.py", line 129, in start_launch
    self.launch_id = _get_id(r)

File "/usr/local/lib/python2.7/site-packages/reportportal_client/service.py", line 14, in _get_id
    return _get_data(response)["id"]

File "/usr/local/lib/python2.7/site-packages/reportportal_client/service.py", line 37, in _get_data
    raise ResponseError(error_messages[0])
ResponseError: No message available

I do not understand where the mistake can be

Thank you

iivanou commented 5 years ago

@CapDam I think that the value of the RP_ENDPOINT variable should be changed to "http://localhost:8080". Can you try to start your test with that change made?