Prerequisite:
- Python 3.9 venv
- setuptools==62.1.0 and zc.buildout==3.0.0rc3 installed
This is my minimal buildout to get a robot-server script:
[buildout]
extends =
http://dist.plone.org/release/6-latest/versions.cfg
parts += testserver
[testserver]
recipe = zc.recipe.egg
eggs =
plone.app.robotframework [test]
scripts =
robot-server
[versions]
plone.app.robotframework = 2.0.0a6
However if i start the server via:
$ ./bin/robot-server plone.app.testing.layers.PLONE_WSGISERVER -vvvv --debug
...
16:18:31 [ wait ] Set up plone.testing.zope.WSGIServer
INFO:Zope:Ready to handle requests
16:18:31 [ wait ] Set up plone.app.testing.layers.Plone:WSGIServer
16:18:31 [ ready ] Started Zope robot server
XMLRPC: http://127.0.0.1:49999
I'm not able to get anything from that instance. respectively I get a 501:
Error response
Error code: 501
Message: Unsupported method ('GET').
Error code explanation: HTTPStatus.NOT_IMPLEMENTED - Server does not support this operation.
I tried several other options, like creating my own mixin or use the volto testing layers (./bin/robot-server plone.app.robotframework.testing.VOLTO_ROBOT_TESTING -vvvv --debug). Same result.
It starts up, testing layer seems to get applied as well. But still 501.
Any help is really appreciated
I know I'm using the latest versions of everything and you guys are working hard on plone 6. Maybe somebody hat the same issues or I'm missing something obvious?