Generated by TestNG with ReportNG at 13:34 PST on Wednesday 16 December 2020
root@43fec6d4badf / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 10.068s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2020-12-16 13:50:36 |

2020-12-16 13:50:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:36 | ------------------------------------

2020-12-16 13:50:36 | [Mutex] waiting for: [configured:node:node-0dd11831-d458-42f9-b58a-0df0decc8eda:node-853e8546-6f3a-4641-b8ed-4b862233728f]

2020-12-16 13:50:36 | [Mutex] received everything.

2020-12-16 13:50:36 | [Mutex] isItemNotified: configured:node:node-0dd11831-d458-42f9-b58a-0df0decc8eda:node-853e8546-6f3a-4641-b8ed-4b862233728f :: true

2020-12-16 13:50:37 | [Mutex] waiting for: [received:nodes:7c43ed56-21ce-4687-8057-74b0c9dcb7ab:localhost]

2020-12-16 13:50:37 | [Mutex] received everything.

2020-12-16 13:50:37 | [Mutex] isItemNotified: received:node:7c43ed56-21ce-4687-8057-74b0c9dcb7ab:localhost:node-0dd11831-d458-42f9-b58a-0df0decc8eda:Node 0dd11831-d458-42f9-b58a-0df0decc8eda :: true

2020-12-16 13:50:37 | [Mutex] waiting for: [received:nodes:c56ea105-ba83-4587-9251-5dc7011a1107:localhost]

2020-12-16 13:50:37 | [Mutex] waiting for: [received:nodes:c56ea105-ba83-4587-9251-5dc7011a1107:localhost]

2020-12-16 13:50:37 | [Mutex] received everything.

2020-12-16 13:50:37 | [Mutex] isItemNotified: received:node:c56ea105-ba83-4587-9251-5dc7011a1107:localhost:node-0dd11831-d458-42f9-b58a-0df0decc8eda:Node 0dd11831-d458-42f9-b58a-0df0decc8eda :: false

createNodes 1.446s
2020-12-16 13:50:33 |

2020-12-16 13:50:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:33 | ------------------------------------

2020-12-16 13:50:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0dd11831-d458-42f9-b58a-0df0decc8eda</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0dd11831-d458-42f9-b58a-0df0decc8eda</title></pubsub></data>

2020-12-16 13:50:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-16 13:50:35 | [Mutex] waiting for: [received:nodes:c00d48cd-934b-41a1-9f44-be46914a802b:localhost]

2020-12-16 13:50:35 | [Mutex] received everything.

2020-12-16 13:50:35 | [Mutex] isItemNotified: received:node:c00d48cd-934b-41a1-9f44-be46914a802b:localhost:node-0dd11831-d458-42f9-b58a-0df0decc8eda:Node 0dd11831-d458-42f9-b58a-0df0decc8eda :: true

createSubnodes 1.029s
2020-12-16 13:50:35 |

2020-12-16 13:50:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:35 | ------------------------------------

2020-12-16 13:50:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-853e8546-6f3a-4641-b8ed-4b862233728f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 853e8546-6f3a-4641-b8ed-4b862233728f</title></pubsub></data>

2020-12-16 13:50:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-16 13:50:36 | [Mutex] waiting for: [received:nodes:bb112dc5-f929-495c-84bb-115fcc3db3ae:localhost]

2020-12-16 13:50:36 | [Mutex] received everything.

2020-12-16 13:50:36 | [Mutex] isItemNotified: received:node:bb112dc5-f929-495c-84bb-115fcc3db3ae:localhost:node-853e8546-6f3a-4641-b8ed-4b862233728f:Node 853e8546-6f3a-4641-b8ed-4b862233728f :: true

deleteNodes 1.022s
2020-12-16 13:50:42 |

2020-12-16 13:50:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:42 | ------------------------------------

2020-12-16 13:50:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-853e8546-6f3a-4641-b8ed-4b862233728f</node></data>

2020-12-16 13:50:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-16 13:50:43 | [Mutex] waiting for: [received:nodes:1136fe8d-388c-439a-bae0-3d04c538528c:localhost]

2020-12-16 13:50:43 | [Mutex] received everything.

2020-12-16 13:50:43 | [Mutex] isItemNotified: received:node:1136fe8d-388c-439a-bae0-3d04c538528c:localhost:node-853e8546-6f3a-4641-b8ed-4b862233728f:Node 853e8546-6f3a-4641-b8ed-4b862233728f :: false

deleteSubnodes 1.178s
2020-12-16 13:50:40 |

2020-12-16 13:50:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:40 | ------------------------------------

2020-12-16 13:50:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0dd11831-d458-42f9-b58a-0df0decc8eda</node></data>

2020-12-16 13:50:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-12-16 13:50:42 | [Mutex] waiting for: [received:nodes:0a6bfc2a-8df6-40c7-80b4-3798081850c6:localhost]

2020-12-16 13:50:42 | [Mutex] received everything.

2020-12-16 13:50:42 | [Mutex] isItemNotified: received:node:0a6bfc2a-8df6-40c7-80b4-3798081850c6:localhost:node-0dd11831-d458-42f9-b58a-0df0decc8eda:Node 0dd11831-d458-42f9-b58a-0df0decc8eda :: false

2020-12-16 13:50:42 | [Mutex] waiting for: [received:nodes:11b966bf-9362-42c9-9a66-3b792b8d4130:localhost]

2020-12-16 13:50:42 | [Mutex] received everything.

2020-12-16 13:50:42 | [Mutex] isItemNotified: received:node:11b966bf-9362-42c9-9a66-3b792b8d4130:localhost:node-0dd11831-d458-42f9-b58a-0df0decc8eda:Node 0dd11831-d458-42f9-b58a-0df0decc8eda :: false

publishItemsToNodes 0.312s
2020-12-16 13:50:38 |

2020-12-16 13:50:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:38 | ------------------------------------

2020-12-16 13:50:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0dd11831-d458-42f9-b58a-0df0decc8eda</node><item-id>item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a</item-id><entry><test>item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a</test></entry></data>

2020-12-16 13:50:38 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a</value></item-id></result>

2020-12-16 13:50:38 | [Mutex] waiting for: [published:item:notifieditem-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a:admin@test-domain.com]

2020-12-16 13:50:39 | [Mutex] received everything.

2020-12-16 13:50:39 | [Mutex] isItemNotified: published:item:notifieditem-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a:admin@test-domain.com :: true

retractItemsFromNodes 0.244s
2020-12-16 13:50:39 |

2020-12-16 13:50:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:39 | ------------------------------------

2020-12-16 13:50:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0dd11831-d458-42f9-b58a-0df0decc8eda</node><item-id>item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a</item-id></data>

2020-12-16 13:50:39 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a</value></item-id></result>

2020-12-16 13:50:39 | [Mutex] received everything.

2020-12-16 13:50:39 | [Mutex] isItemNotified: retracted:item:notifieditem-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.205s
2020-12-16 13:50:39 |

2020-12-16 13:50:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:39 | ------------------------------------

2020-12-16 13:50:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0dd11831-d458-42f9-b58a-0df0decc8eda</node><item-id>item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a</item-id></data>

2020-12-16 13:50:39 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-0dd11831-d458-42f9-b58a-0df0decc8eda</value></node><item-id label="Item ID" type="text-single"><value>item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a</value></item-id><item label="Item" type="text-multi"><value><item id="item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a"><test>item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a</test></item></value></item></result>

2020-12-16 13:50:39 | [Mutex] notify: [retrieved:item:item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a:payload-matches:true:localhost]

2020-12-16 13:50:39 | [Mutex] received everything.

2020-12-16 13:50:39 | [Mutex] isItemNotified: retrieved:item:item-e39c6c4a-29c5-48f0-bb65-cb6cfdbeb30a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-12-16 13:50:39 |

2020-12-16 13:50:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:39 | ------------------------------------

2020-12-16 13:50:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-16 13:50:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-0dd11831-d458-42f9-b58a-0df0decc8eda</value><value>test</value><value>node-853e8546-6f3a-4641-b8ed-4b862233728f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2020-12-16 13:50:39 |

2020-12-16 13:50:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:39 | ------------------------------------

2020-12-16 13:50:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0dd11831-d458-42f9-b58a-0df0decc8eda)</node-pattern></data>

2020-12-16 13:50:39 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.145s
2020-12-16 13:50:37 |

2020-12-16 13:50:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:37 | ------------------------------------

2020-12-16 13:50:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0dd11831-d458-42f9-b58a-0df0decc8eda</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-16 13:50:37 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.279s
2020-12-16 13:50:39 |

2020-12-16 13:50:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-16 13:50:39 | ------------------------------------

2020-12-16 13:50:39 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0dd11831-d458-42f9-b58a-0df0decc8eda</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-16 13:50:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>