Pabot Parallel Thread using GET Method to HTTP Request handler Library and Exception

39 views
Skip to first unread message

Vikas Kumar

unread,
Sep 20, 2024, 8:48:07 AM9/20/24
to robotframework-users
Hello All

I am using Robot Framework library and Pabot for parallel test execution.

In we have notification catcher by hosting local URL for HTTP forwarder in application. When we do the get of the URL from notification handler using Pabot as we need it as single instance of HTTP notif server, it throws a regular error as below.

Any idea how we can fix it by Pabot parameterization? 

KEYWORD pabot.SharedLibrary . Checking Expected Number Of Notifications Received
Start / End / Elapsed:20240920 17:35:08.624 / 20240920 17:35:09.681 / 00:00:01.057
17:35:09.640FAIL<class 'AttributeError'>:'_io.TextIOWrapper' object has no attribute 'getvalue'
17:35:09.681DEBUGTraceback (most recent call last): File "C:\git\ggts-cloud\src\lib\pipLib\pabot\SharedLibrary.py", line 53, in run_keyword return self._remote.run_keyword(name, args, kwargs) File "C:\git\ggts-cloud\src\lib\pipLib\robot\libraries\Remote.py", line 100, in run_keyword result = RemoteResult(self._client.run_keyword(name, args, kwargs)) File "C:\git\ggts-cloud\src\lib\pipLib\robot\libraries\Remote.py", line 253, in run_keyword raise RuntimeError(message) RuntimeError: <class 'AttributeError'>:'_io.TextIOWrapper' object has no attribute 'getvalue'
Reply all
Reply to author
Forward
0 new messages