Generated by TestNG with ReportNG at 22:45 PDT on Thursday 28 September 2023
root@8dfa9d99ff97 / Java 17.0.8 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.413s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-09-28 22:59:52 |

2023-09-28 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:52 | ------------------------------------

2023-09-28 22:59:52 | [Mutex] waiting for: [configured:node:node-9eef70b8-8a70-4e42-954c-20aaca0d8d34:node-d500f7b8-40aa-4b66-9a28-9d6c90319a0c]

2023-09-28 22:59:52 | [Mutex] received everything.

2023-09-28 22:59:52 | [Mutex] isItemNotified: configured:node:node-9eef70b8-8a70-4e42-954c-20aaca0d8d34:node-d500f7b8-40aa-4b66-9a28-9d6c90319a0c :: true

2023-09-28 22:59:53 | [Mutex] waiting for: [received:nodes:395dc794-a1e1-4c21-94b8-b2967fd21718:localhost]

2023-09-28 22:59:53 | [Mutex] received everything.

2023-09-28 22:59:53 | [Mutex] isItemNotified: received:node:395dc794-a1e1-4c21-94b8-b2967fd21718:localhost:node-9eef70b8-8a70-4e42-954c-20aaca0d8d34:Node 9eef70b8-8a70-4e42-954c-20aaca0d8d34 :: true

2023-09-28 22:59:53 | [Mutex] waiting for: [received:nodes:5da8a112-1882-4bdb-bce9-25772120d9d7:localhost]

2023-09-28 22:59:53 | [Mutex] waiting for: [received:nodes:5da8a112-1882-4bdb-bce9-25772120d9d7:localhost]

2023-09-28 22:59:53 | [Mutex] waiting for: [received:nodes:5da8a112-1882-4bdb-bce9-25772120d9d7:localhost]

2023-09-28 22:59:53 | [Mutex] waiting for: [received:nodes:5da8a112-1882-4bdb-bce9-25772120d9d7:localhost]

2023-09-28 22:59:53 | [Mutex] received everything.

2023-09-28 22:59:53 | [Mutex] isItemNotified: received:node:5da8a112-1882-4bdb-bce9-25772120d9d7:localhost:node-9eef70b8-8a70-4e42-954c-20aaca0d8d34:Node 9eef70b8-8a70-4e42-954c-20aaca0d8d34 :: false

createNodes 1.419s
2023-09-28 22:59:49 |

2023-09-28 22:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:49 | ------------------------------------

2023-09-28 22:59:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9eef70b8-8a70-4e42-954c-20aaca0d8d34</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9eef70b8-8a70-4e42-954c-20aaca0d8d34</title></pubsub></data>

2023-09-28 22:59:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-28 22:59:51 | [Mutex] waiting for: [received:nodes:97b81ce6-5788-47e4-aa99-7c92befd4de8:localhost]

2023-09-28 22:59:51 | [Mutex] waiting for: [received:nodes:97b81ce6-5788-47e4-aa99-7c92befd4de8:localhost]

2023-09-28 22:59:51 | [Mutex] waiting for: [received:nodes:97b81ce6-5788-47e4-aa99-7c92befd4de8:localhost]

2023-09-28 22:59:51 | [Mutex] waiting for: [received:nodes:97b81ce6-5788-47e4-aa99-7c92befd4de8:localhost]

2023-09-28 22:59:51 | [Mutex] received everything.

2023-09-28 22:59:51 | [Mutex] isItemNotified: received:node:97b81ce6-5788-47e4-aa99-7c92befd4de8:localhost:node-9eef70b8-8a70-4e42-954c-20aaca0d8d34:Node 9eef70b8-8a70-4e42-954c-20aaca0d8d34 :: true

createSubnodes 1.043s
2023-09-28 22:59:51 |

2023-09-28 22:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:51 | ------------------------------------

2023-09-28 22:59:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d500f7b8-40aa-4b66-9a28-9d6c90319a0c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d500f7b8-40aa-4b66-9a28-9d6c90319a0c</title></pubsub></data>

2023-09-28 22:59:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-28 22:59:52 | [Mutex] waiting for: [received:nodes:daf95396-631f-4fc2-bf69-dc72523e6e62:localhost]

2023-09-28 22:59:52 | [Mutex] received everything.

2023-09-28 22:59:52 | [Mutex] isItemNotified: received:node:daf95396-631f-4fc2-bf69-dc72523e6e62:localhost:node-d500f7b8-40aa-4b66-9a28-9d6c90319a0c:Node d500f7b8-40aa-4b66-9a28-9d6c90319a0c :: true

deleteNodes 1.017s
2023-09-28 22:59:57 |

2023-09-28 22:59:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:57 | ------------------------------------

2023-09-28 22:59:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d500f7b8-40aa-4b66-9a28-9d6c90319a0c</node></data>

2023-09-28 22:59:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-28 22:59:58 | [Mutex] waiting for: [received:nodes:24a7142a-63c6-433f-917d-f54166119b67:localhost]

2023-09-28 22:59:58 | [Mutex] waiting for: [received:nodes:24a7142a-63c6-433f-917d-f54166119b67:localhost]

2023-09-28 22:59:58 | [Mutex] waiting for: [received:nodes:24a7142a-63c6-433f-917d-f54166119b67:localhost]

2023-09-28 22:59:58 | [Mutex] received everything.

2023-09-28 22:59:58 | [Mutex] isItemNotified: received:node:24a7142a-63c6-433f-917d-f54166119b67:localhost:node-d500f7b8-40aa-4b66-9a28-9d6c90319a0c:Node d500f7b8-40aa-4b66-9a28-9d6c90319a0c :: false

deleteSubnodes 1.157s
2023-09-28 22:59:56 |

2023-09-28 22:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:56 | ------------------------------------

2023-09-28 22:59:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9eef70b8-8a70-4e42-954c-20aaca0d8d34</node></data>

2023-09-28 22:59:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-28 22:59:57 | [Mutex] waiting for: [received:nodes:1f753bc0-0084-4d83-ab52-2cf3883a8678:localhost]

2023-09-28 22:59:57 | [Mutex] waiting for: [received:nodes:1f753bc0-0084-4d83-ab52-2cf3883a8678:localhost]

2023-09-28 22:59:57 | [Mutex] waiting for: [received:nodes:1f753bc0-0084-4d83-ab52-2cf3883a8678:localhost]

2023-09-28 22:59:57 | [Mutex] waiting for: [received:nodes:1f753bc0-0084-4d83-ab52-2cf3883a8678:localhost]

2023-09-28 22:59:57 | [Mutex] received everything.

2023-09-28 22:59:57 | [Mutex] isItemNotified: received:node:1f753bc0-0084-4d83-ab52-2cf3883a8678:localhost:node-9eef70b8-8a70-4e42-954c-20aaca0d8d34:Node 9eef70b8-8a70-4e42-954c-20aaca0d8d34 :: false

2023-09-28 22:59:57 | [Mutex] waiting for: [received:nodes:833d0c39-ab87-4234-b561-d4a48a55e46e:localhost]

2023-09-28 22:59:57 | [Mutex] received everything.

2023-09-28 22:59:57 | [Mutex] isItemNotified: received:node:833d0c39-ab87-4234-b561-d4a48a55e46e:localhost:node-9eef70b8-8a70-4e42-954c-20aaca0d8d34:Node 9eef70b8-8a70-4e42-954c-20aaca0d8d34 :: false

publishItemsToNodes 0.179s
2023-09-28 22:59:54 |

2023-09-28 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:54 | ------------------------------------

2023-09-28 22:59:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9eef70b8-8a70-4e42-954c-20aaca0d8d34</node><item-id>item-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e</item-id><entry><test>item-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e</test></entry></data>

2023-09-28 22:59:54 | 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-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e</value></item-id></result>

2023-09-28 22:59:54 | [Mutex] received everything.

2023-09-28 22:59:54 | [Mutex] isItemNotified: published:item:notifieditem-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2023-09-28 22:59:55 |

2023-09-28 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:55 | ------------------------------------

2023-09-28 22:59:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9eef70b8-8a70-4e42-954c-20aaca0d8d34</node><item-id>item-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e</item-id></data>

2023-09-28 22:59:55 | 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-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e</value></item-id></result>

2023-09-28 22:59:55 | [Mutex] received everything.

2023-09-28 22:59:55 | [Mutex] isItemNotified: retracted:item:notifieditem-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.229s
2023-09-28 22:59:54 |

2023-09-28 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:54 | ------------------------------------

2023-09-28 22:59:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9eef70b8-8a70-4e42-954c-20aaca0d8d34</node><item-id>item-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e</item-id></data>

2023-09-28 22:59:54 | 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-9eef70b8-8a70-4e42-954c-20aaca0d8d34</value></node><item-id label="Item ID" type="text-single"><value>item-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e</value></item-id><item label="Item" type="text-multi"><value><item id="item-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e"><test>item-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e</test></item></value></item></result>

2023-09-28 22:59:54 | [Mutex] notify: [retrieved:item:item-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e:payload-matches:true:localhost]

2023-09-28 22:59:54 | [Mutex] received everything.

2023-09-28 22:59:54 | [Mutex] isItemNotified: retrieved:item:item-cb9385b9-7c6c-4b07-90f6-9520d1a33a8e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-09-28 22:59:54 |

2023-09-28 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:54 | ------------------------------------

2023-09-28 22:59:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-09-28 22:59:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-9eef70b8-8a70-4e42-954c-20aaca0d8d34</value><value>node-d500f7b8-40aa-4b66-9a28-9d6c90319a0c</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-09-28 22:59:55 |

2023-09-28 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:55 | ------------------------------------

2023-09-28 22:59:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9eef70b8-8a70-4e42-954c-20aaca0d8d34)</node-pattern></data>

2023-09-28 22:59:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.136s
2023-09-28 22:59:53 |

2023-09-28 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:53 | ------------------------------------

2023-09-28 22:59:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9eef70b8-8a70-4e42-954c-20aaca0d8d34</node><jids><value>admin@test-domain.com</value></jids></data>

2023-09-28 22:59:53 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.183s
2023-09-28 22:59:55 |

2023-09-28 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-28 22:59:55 | ------------------------------------

2023-09-28 22:59:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9eef70b8-8a70-4e42-954c-20aaca0d8d34</node><jids><value>admin@test-domain.com</value></jids></data>

2023-09-28 22:59:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>