Generated by TestNG with ReportNG at 23:14 PDT on Thursday 27 August 2020
root@18d694fe8e0a / 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 : 9.892s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2020-08-27 23:30:27 |

2020-08-27 23:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:27 | ------------------------------------

2020-08-27 23:30:27 | [Mutex] waiting for: [configured:node:node-1a1d794c-9b42-4a41-b593-c6331638287f:node-a19e6459-3668-40d6-9e45-4f7f025a90b9]

2020-08-27 23:30:27 | [Mutex] received everything.

2020-08-27 23:30:27 | [Mutex] isItemNotified: configured:node:node-1a1d794c-9b42-4a41-b593-c6331638287f:node-a19e6459-3668-40d6-9e45-4f7f025a90b9 :: true

2020-08-27 23:30:28 | [Mutex] waiting for: [received:nodes:5189a5e1-b87b-4ba5-949e-d29671619080:localhost]

2020-08-27 23:30:28 | [Mutex] received everything.

2020-08-27 23:30:28 | [Mutex] isItemNotified: received:node:5189a5e1-b87b-4ba5-949e-d29671619080:localhost:node-1a1d794c-9b42-4a41-b593-c6331638287f:Node 1a1d794c-9b42-4a41-b593-c6331638287f :: true

2020-08-27 23:30:28 | [Mutex] waiting for: [received:nodes:4d9bcba9-bbdd-4f59-958a-0b9952035cf8:localhost]

2020-08-27 23:30:28 | [Mutex] received everything.

2020-08-27 23:30:28 | [Mutex] isItemNotified: received:node:4d9bcba9-bbdd-4f59-958a-0b9952035cf8:localhost:node-1a1d794c-9b42-4a41-b593-c6331638287f:Node 1a1d794c-9b42-4a41-b593-c6331638287f :: false

createNodes 1.411s
2020-08-27 23:30:25 |

2020-08-27 23:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:25 | ------------------------------------

2020-08-27 23:30:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1a1d794c-9b42-4a41-b593-c6331638287f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1a1d794c-9b42-4a41-b593-c6331638287f</title></pubsub></data>

2020-08-27 23:30:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 23:30:26 | [Mutex] waiting for: [received:nodes:9b6edc61-67b8-4d2d-872c-d30576bcef9a:localhost]

2020-08-27 23:30:26 | [Mutex] received everything.

2020-08-27 23:30:26 | [Mutex] isItemNotified: received:node:9b6edc61-67b8-4d2d-872c-d30576bcef9a:localhost:node-1a1d794c-9b42-4a41-b593-c6331638287f:Node 1a1d794c-9b42-4a41-b593-c6331638287f :: true

createSubnodes 1.030s
2020-08-27 23:30:26 |

2020-08-27 23:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:26 | ------------------------------------

2020-08-27 23:30:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a19e6459-3668-40d6-9e45-4f7f025a90b9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a19e6459-3668-40d6-9e45-4f7f025a90b9</title></pubsub></data>

2020-08-27 23:30:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 23:30:27 | [Mutex] waiting for: [received:nodes:cb77f044-25d0-4ade-a929-9f44a0bb4482:localhost]

2020-08-27 23:30:27 | [Mutex] received everything.

2020-08-27 23:30:27 | [Mutex] isItemNotified: received:node:cb77f044-25d0-4ade-a929-9f44a0bb4482:localhost:node-a19e6459-3668-40d6-9e45-4f7f025a90b9:Node a19e6459-3668-40d6-9e45-4f7f025a90b9 :: true

deleteNodes 1.022s
2020-08-27 23:30:33 |

2020-08-27 23:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:33 | ------------------------------------

2020-08-27 23:30:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a19e6459-3668-40d6-9e45-4f7f025a90b9</node></data>

2020-08-27 23:30:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 23:30:34 | [Mutex] waiting for: [received:nodes:2ac19160-4d70-42f6-ae68-027ba4f815b6:localhost]

2020-08-27 23:30:34 | [Mutex] received everything.

2020-08-27 23:30:34 | [Mutex] isItemNotified: received:node:2ac19160-4d70-42f6-ae68-027ba4f815b6:localhost:node-a19e6459-3668-40d6-9e45-4f7f025a90b9:Node a19e6459-3668-40d6-9e45-4f7f025a90b9 :: false

deleteSubnodes 1.108s
2020-08-27 23:30:32 |

2020-08-27 23:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:32 | ------------------------------------

2020-08-27 23:30:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1a1d794c-9b42-4a41-b593-c6331638287f</node></data>

2020-08-27 23:30:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-27 23:30:33 | [Mutex] waiting for: [received:nodes:bca62695-b1ec-4545-bfe2-45d83606bf29:localhost]

2020-08-27 23:30:33 | [Mutex] received everything.

2020-08-27 23:30:33 | [Mutex] isItemNotified: received:node:bca62695-b1ec-4545-bfe2-45d83606bf29:localhost:node-1a1d794c-9b42-4a41-b593-c6331638287f:Node 1a1d794c-9b42-4a41-b593-c6331638287f :: false

2020-08-27 23:30:33 | [Mutex] waiting for: [received:nodes:af80a3f1-3c50-4bc4-a913-515b4e31d464:localhost]

2020-08-27 23:30:33 | [Mutex] received everything.

2020-08-27 23:30:33 | [Mutex] isItemNotified: received:node:af80a3f1-3c50-4bc4-a913-515b4e31d464:localhost:node-1a1d794c-9b42-4a41-b593-c6331638287f:Node 1a1d794c-9b42-4a41-b593-c6331638287f :: false

publishItemsToNodes 0.189s
2020-08-27 23:30:29 |

2020-08-27 23:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:29 | ------------------------------------

2020-08-27 23:30:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1a1d794c-9b42-4a41-b593-c6331638287f</node><item-id>item-2575a13a-39a6-407b-9fc4-c2f10c121163</item-id><entry><test>item-2575a13a-39a6-407b-9fc4-c2f10c121163</test></entry></data>

2020-08-27 23:30:30 | 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-2575a13a-39a6-407b-9fc4-c2f10c121163</value></item-id></result>

2020-08-27 23:30:30 | [Mutex] waiting for: [published:item:notifieditem-2575a13a-39a6-407b-9fc4-c2f10c121163:admin@test-domain.com]

2020-08-27 23:30:30 | [Mutex] received everything.

2020-08-27 23:30:30 | [Mutex] isItemNotified: published:item:notifieditem-2575a13a-39a6-407b-9fc4-c2f10c121163:admin@test-domain.com :: true

retractItemsFromNodes 0.383s
2020-08-27 23:30:30 |

2020-08-27 23:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:30 | ------------------------------------

2020-08-27 23:30:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1a1d794c-9b42-4a41-b593-c6331638287f</node><item-id>item-2575a13a-39a6-407b-9fc4-c2f10c121163</item-id></data>

2020-08-27 23:30:30 | 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-2575a13a-39a6-407b-9fc4-c2f10c121163</value></item-id></result>

2020-08-27 23:30:30 | [Mutex] received everything.

2020-08-27 23:30:30 | [Mutex] isItemNotified: retracted:item:notifieditem-2575a13a-39a6-407b-9fc4-c2f10c121163:admin@test-domain.com :: true

retrieveItemsFromNodes 0.280s
2020-08-27 23:30:30 |

2020-08-27 23:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:30 | ------------------------------------

2020-08-27 23:30:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1a1d794c-9b42-4a41-b593-c6331638287f</node><item-id>item-2575a13a-39a6-407b-9fc4-c2f10c121163</item-id></data>

2020-08-27 23:30:30 | 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-1a1d794c-9b42-4a41-b593-c6331638287f</value></node><item-id label="Item ID" type="text-single"><value>item-2575a13a-39a6-407b-9fc4-c2f10c121163</value></item-id><item label="Item" type="text-multi"><value><item id="item-2575a13a-39a6-407b-9fc4-c2f10c121163"><test>item-2575a13a-39a6-407b-9fc4-c2f10c121163</test></item></value></item></result>

2020-08-27 23:30:30 | [Mutex] notify: [retrieved:item:item-2575a13a-39a6-407b-9fc4-c2f10c121163:payload-matches:true:localhost]

2020-08-27 23:30:30 | [Mutex] received everything.

2020-08-27 23:30:30 | [Mutex] isItemNotified: retrieved:item:item-2575a13a-39a6-407b-9fc4-c2f10c121163:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2020-08-27 23:30:30 |

2020-08-27 23:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:30 | ------------------------------------

2020-08-27 23:30:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-27 23:30:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-1a1d794c-9b42-4a41-b593-c6331638287f</value><value>test</value><value>node-a19e6459-3668-40d6-9e45-4f7f025a90b9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2020-08-27 23:30:30 |

2020-08-27 23:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:30 | ------------------------------------

2020-08-27 23:30:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1a1d794c-9b42-4a41-b593-c6331638287f)</node-pattern></data>

2020-08-27 23:30:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.092s
2020-08-27 23:30:28 |

2020-08-27 23:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:28 | ------------------------------------

2020-08-27 23:30:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1a1d794c-9b42-4a41-b593-c6331638287f</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-27 23:30:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.283s
2020-08-27 23:30:30 |

2020-08-27 23:30:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-27 23:30:30 | ------------------------------------

2020-08-27 23:30:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1a1d794c-9b42-4a41-b593-c6331638287f</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-27 23:30:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>