testIT-LivingDoc / livingdoc-core

This is the GitHub Repository of testIT LivingDoc core components - The exclusive solution to bring your acceptance tests to Atlassian Confluence.
https://testit-livingdoc.atlassian.net/wiki
GNU General Public License v3.0
34 stars 18 forks source link

Communication problem with the runner #30

Open Lraharison opened 8 years ago

Lraharison commented 8 years ago

Hello, I test TestIt livingDoc and I feel we can not communicate with the runner. I run runner in localhost with the command : /usr/java/JDK8/bin/java -jar livingdoc-remote-agent-1.1.1-complete.jar -port 56000 and when I execute the test I have the following errors: org.apache.xmlrpc.XmlRpcException: null values not supported by XML-RPC at org.apache.xmlrpc.XmlWriter.writeObject(XmlWriter.java:231) at org.apache.xmlrpc.XmlWriter.writeObject(XmlWriter.java:297) at org.apache.xmlrpc.XmlWriter.writeObject(XmlWriter.java:297) at org.apache.xmlrpc.XmlWriter.writeObject(XmlWriter.java:297) at org.apache.xmlrpc.XmlRpcClientRequestProcessor.encodeRequest(XmlRpcClientRequestProcessor.java:70) [wrapped] org.apache.xmlrpc.XmlRpcClientException: Failure writing request at org.apache.xmlrpc.XmlRpcClientRequestProcessor.encodeRequest(XmlRpcClientRequestProcessor.java:74) at org.apache.xmlrpc.XmlRpcClientRequestProcessor.encodeRequestBytes(XmlRpcClientRequestProcessor.java:100) at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:69) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177) at info.novatec.testit.livingdoc.server.rpc.xmlrpc.client.XmlRpcV2ClientImpl.execute(XmlRpcV2ClientImpl.java:54) [wrapped] info.novatec.testit.livingdoc.server.rpc.xmlrpc.client.XmlRpcClientExecutorException: org.apache.xmlrpc.XmlRpcClientException: Failure writing request at info.novatec.testit.livingdoc.server.rpc.xmlrpc.client.XmlRpcV2ClientImpl.execute(XmlRpcV2ClientImpl.java:56) I throw the runner or not, I still have the same problem. About my config and test :

pkleimann commented 8 years ago

Hi Lraharison, please check if the Remote API is enabled. Under Further Configuration you can activate the Remote API (XML-RPC & SOAP) of your Confluence.

Lraharison commented 8 years ago

Yes, it is enabled : https://drive.google.com/open?id=0B7E4-uvMfAYXY1VnT1YyY01lMFU

Lraharison commented 8 years ago

Maybe he is not find the classpath of the project, I do not know, I tried everything but it does not work.

pkleimann commented 8 years ago

Hi, yes maybe it does not find any classes. Did you tried to add the following folders to the classpath? /pathtoyourworkspace/target/classes and if exists /pathtoyourworkspace/target/libs/*.jar

Lraharison commented 8 years ago

I have already done it before. I will send you screeshots about the project:

benhamidene commented 8 years ago

which confluence version are you using?

LivingDoc 1.1.x supports only 5.9.x

Lraharison commented 8 years ago

I have installed the latest version of confluence : 5.9.9