Generated by TestNG with ReportNG at 21:28 PST on Sunday 05 December 2021
root@b2c2a8eba6e6 / 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.391s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2021-12-05 21:43:44 |

2021-12-05 21:43:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:44 | ------------------------------------

2021-12-05 21:43:44 | [Mutex] waiting for: [configured:node:node-d0360b68-34ca-41b4-bdbb-9acd391bf016:node-3a85c4be-c752-48ef-b756-a701965f7b28]

2021-12-05 21:43:44 | [Mutex] received everything.

2021-12-05 21:43:44 | [Mutex] isItemNotified: configured:node:node-d0360b68-34ca-41b4-bdbb-9acd391bf016:node-3a85c4be-c752-48ef-b756-a701965f7b28 :: true

2021-12-05 21:43:45 | [Mutex] waiting for: [received:nodes:c8fc6de2-b66c-4deb-ac7e-2e1e0cf82d41:localhost]

2021-12-05 21:43:45 | [Mutex] received everything.

2021-12-05 21:43:45 | [Mutex] isItemNotified: received:node:c8fc6de2-b66c-4deb-ac7e-2e1e0cf82d41:localhost:node-d0360b68-34ca-41b4-bdbb-9acd391bf016:Node d0360b68-34ca-41b4-bdbb-9acd391bf016 :: true

2021-12-05 21:43:45 | [Mutex] waiting for: [received:nodes:ad14ac40-df56-4e2a-97d4-b4daffefb95b:localhost]

2021-12-05 21:43:45 | [Mutex] received everything.

2021-12-05 21:43:45 | [Mutex] isItemNotified: received:node:ad14ac40-df56-4e2a-97d4-b4daffefb95b:localhost:node-d0360b68-34ca-41b4-bdbb-9acd391bf016:Node d0360b68-34ca-41b4-bdbb-9acd391bf016 :: false

createNodes 1.567s
2021-12-05 21:43:41 |

2021-12-05 21:43:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:41 | ------------------------------------

2021-12-05 21:43:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d0360b68-34ca-41b4-bdbb-9acd391bf016</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d0360b68-34ca-41b4-bdbb-9acd391bf016</title></pubsub></data>

2021-12-05 21:43:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 21:43:43 | [Mutex] waiting for: [received:nodes:3769d5f1-55f9-4bb9-842a-56e203ec0062:localhost]

2021-12-05 21:43:43 | [Mutex] received everything.

2021-12-05 21:43:43 | [Mutex] isItemNotified: received:node:3769d5f1-55f9-4bb9-842a-56e203ec0062:localhost:node-d0360b68-34ca-41b4-bdbb-9acd391bf016:Node d0360b68-34ca-41b4-bdbb-9acd391bf016 :: true

createSubnodes 1.029s
2021-12-05 21:43:43 |

2021-12-05 21:43:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:43 | ------------------------------------

2021-12-05 21:43:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3a85c4be-c752-48ef-b756-a701965f7b28</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3a85c4be-c752-48ef-b756-a701965f7b28</title></pubsub></data>

2021-12-05 21:43:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 21:43:44 | [Mutex] waiting for: [received:nodes:9eb5c884-37d4-45f8-9a63-7c2d2f50e136:localhost]

2021-12-05 21:43:44 | [Mutex] received everything.

2021-12-05 21:43:44 | [Mutex] isItemNotified: received:node:9eb5c884-37d4-45f8-9a63-7c2d2f50e136:localhost:node-3a85c4be-c752-48ef-b756-a701965f7b28:Node 3a85c4be-c752-48ef-b756-a701965f7b28 :: true

deleteNodes 1.024s
2021-12-05 21:43:50 |

2021-12-05 21:43:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:50 | ------------------------------------

2021-12-05 21:43:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3a85c4be-c752-48ef-b756-a701965f7b28</node></data>

2021-12-05 21:43:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 21:43:51 | [Mutex] waiting for: [received:nodes:5f7f0327-613e-41d9-a886-7121d3e38dd5:localhost]

2021-12-05 21:43:51 | [Mutex] received everything.

2021-12-05 21:43:51 | [Mutex] isItemNotified: received:node:5f7f0327-613e-41d9-a886-7121d3e38dd5:localhost:node-3a85c4be-c752-48ef-b756-a701965f7b28:Node 3a85c4be-c752-48ef-b756-a701965f7b28 :: false

deleteSubnodes 1.218s
2021-12-05 21:43:49 |

2021-12-05 21:43:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:49 | ------------------------------------

2021-12-05 21:43:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d0360b68-34ca-41b4-bdbb-9acd391bf016</node></data>

2021-12-05 21:43:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 21:43:50 | [Mutex] waiting for: [received:nodes:cc35ee78-e44f-478c-982c-5295b3cc5a71:localhost]

2021-12-05 21:43:50 | [Mutex] waiting for: [received:nodes:cc35ee78-e44f-478c-982c-5295b3cc5a71:localhost]

2021-12-05 21:43:50 | [Mutex] received everything.

2021-12-05 21:43:50 | [Mutex] isItemNotified: received:node:cc35ee78-e44f-478c-982c-5295b3cc5a71:localhost:node-d0360b68-34ca-41b4-bdbb-9acd391bf016:Node d0360b68-34ca-41b4-bdbb-9acd391bf016 :: false

2021-12-05 21:43:50 | [Mutex] waiting for: [received:nodes:fb63d875-e2c1-4d9d-98ed-847c19c60ba8:localhost]

2021-12-05 21:43:50 | [Mutex] received everything.

2021-12-05 21:43:50 | [Mutex] isItemNotified: received:node:fb63d875-e2c1-4d9d-98ed-847c19c60ba8:localhost:node-d0360b68-34ca-41b4-bdbb-9acd391bf016:Node d0360b68-34ca-41b4-bdbb-9acd391bf016 :: false

publishItemsToNodes 0.346s
2021-12-05 21:43:46 |

2021-12-05 21:43:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:46 | ------------------------------------

2021-12-05 21:43:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d0360b68-34ca-41b4-bdbb-9acd391bf016</node><item-id>item-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6</item-id><entry><test>item-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6</test></entry></data>

2021-12-05 21:43:47 | 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-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6</value></item-id></result>

2021-12-05 21:43:47 | [Mutex] waiting for: [published:item:notifieditem-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6:admin@test-domain.com]

2021-12-05 21:43:47 | [Mutex] received everything.

2021-12-05 21:43:47 | [Mutex] isItemNotified: published:item:notifieditem-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6:admin@test-domain.com :: true

retractItemsFromNodes 0.315s
2021-12-05 21:43:47 |

2021-12-05 21:43:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:47 | ------------------------------------

2021-12-05 21:43:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d0360b68-34ca-41b4-bdbb-9acd391bf016</node><item-id>item-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6</item-id></data>

2021-12-05 21:43:47 | 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-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6</value></item-id></result>

2021-12-05 21:43:47 | [Mutex] received everything.

2021-12-05 21:43:47 | [Mutex] isItemNotified: retracted:item:notifieditem-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.261s
2021-12-05 21:43:47 |

2021-12-05 21:43:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:47 | ------------------------------------

2021-12-05 21:43:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d0360b68-34ca-41b4-bdbb-9acd391bf016</node><item-id>item-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6</item-id></data>

2021-12-05 21:43:47 | 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-d0360b68-34ca-41b4-bdbb-9acd391bf016</value></node><item-id label="Item ID" type="text-single"><value>item-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6</value></item-id><item label="Item" type="text-multi"><value><item id="item-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6"><test>item-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6</test></item></value></item></result>

2021-12-05 21:43:47 | [Mutex] notify: [retrieved:item:item-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6:payload-matches:true:localhost]

2021-12-05 21:43:47 | [Mutex] received everything.

2021-12-05 21:43:47 | [Mutex] isItemNotified: retrieved:item:item-ad4c63db-ff64-4c4f-9f9c-8a59fa0bb2c6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-12-05 21:43:47 |

2021-12-05 21:43:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:47 | ------------------------------------

2021-12-05 21:43:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-12-05 21:43:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-3a85c4be-c752-48ef-b756-a701965f7b28</value><value>node-d0360b68-34ca-41b4-bdbb-9acd391bf016</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-12-05 21:43:47 |

2021-12-05 21:43:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:47 | ------------------------------------

2021-12-05 21:43:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d0360b68-34ca-41b4-bdbb-9acd391bf016)</node-pattern></data>

2021-12-05 21:43:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.175s
2021-12-05 21:43:45 |

2021-12-05 21:43:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:45 | ------------------------------------

2021-12-05 21:43:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d0360b68-34ca-41b4-bdbb-9acd391bf016</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-05 21:43:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.287s
2021-12-05 21:43:47 |

2021-12-05 21:43:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:47 | ------------------------------------

2021-12-05 21:43:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d0360b68-34ca-41b4-bdbb-9acd391bf016</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-05 21:43:48 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>