Generated by TestNG with ReportNG at 22:18 PDT on Monday 25 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (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.376s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-07-25 22:32:19 |

2022-07-25 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:19 | ------------------------------------

2022-07-25 22:32:19 | [Mutex] waiting for: [configured:node:node-d7688d2a-b956-4cd2-b6d4-72982171096b:node-1695b577-3095-4c08-8d62-2a87be60eb79]

2022-07-25 22:32:19 | [Mutex] received everything.

2022-07-25 22:32:19 | [Mutex] isItemNotified: configured:node:node-d7688d2a-b956-4cd2-b6d4-72982171096b:node-1695b577-3095-4c08-8d62-2a87be60eb79 :: true

2022-07-25 22:32:20 | [Mutex] waiting for: [received:nodes:30319049-283a-495f-9f7f-5acc664bf62d:localhost]

2022-07-25 22:32:20 | [Mutex] received everything.

2022-07-25 22:32:20 | [Mutex] isItemNotified: received:node:30319049-283a-495f-9f7f-5acc664bf62d:localhost:node-d7688d2a-b956-4cd2-b6d4-72982171096b:Node d7688d2a-b956-4cd2-b6d4-72982171096b :: true

2022-07-25 22:32:20 | [Mutex] waiting for: [received:nodes:74223a25-a32e-4596-b348-06171d86d645:localhost]

2022-07-25 22:32:20 | [Mutex] received everything.

2022-07-25 22:32:20 | [Mutex] isItemNotified: received:node:74223a25-a32e-4596-b348-06171d86d645:localhost:node-d7688d2a-b956-4cd2-b6d4-72982171096b:Node d7688d2a-b956-4cd2-b6d4-72982171096b :: false

createNodes 1.435s
2022-07-25 22:32:16 |

2022-07-25 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:16 | ------------------------------------

2022-07-25 22:32:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d7688d2a-b956-4cd2-b6d4-72982171096b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d7688d2a-b956-4cd2-b6d4-72982171096b</title></pubsub></data>

2022-07-25 22:32:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-25 22:32:18 | [Mutex] waiting for: [received:nodes:caf402ca-863e-466e-b501-7b32811b0ef2:localhost]

2022-07-25 22:32:18 | [Mutex] received everything.

2022-07-25 22:32:18 | [Mutex] isItemNotified: received:node:caf402ca-863e-466e-b501-7b32811b0ef2:localhost:node-d7688d2a-b956-4cd2-b6d4-72982171096b:Node d7688d2a-b956-4cd2-b6d4-72982171096b :: true

createSubnodes 1.033s
2022-07-25 22:32:18 |

2022-07-25 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:18 | ------------------------------------

2022-07-25 22:32:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1695b577-3095-4c08-8d62-2a87be60eb79</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1695b577-3095-4c08-8d62-2a87be60eb79</title></pubsub></data>

2022-07-25 22:32:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-25 22:32:19 | [Mutex] waiting for: [received:nodes:59b90ece-4d17-4761-9a0f-8097ede229e2:localhost]

2022-07-25 22:32:19 | [Mutex] received everything.

2022-07-25 22:32:19 | [Mutex] isItemNotified: received:node:59b90ece-4d17-4761-9a0f-8097ede229e2:localhost:node-1695b577-3095-4c08-8d62-2a87be60eb79:Node 1695b577-3095-4c08-8d62-2a87be60eb79 :: true

deleteNodes 1.020s
2022-07-25 22:32:24 |

2022-07-25 22:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:24 | ------------------------------------

2022-07-25 22:32:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1695b577-3095-4c08-8d62-2a87be60eb79</node></data>

2022-07-25 22:32:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-25 22:32:25 | [Mutex] waiting for: [received:nodes:6382c6a4-35c4-4350-8d6b-a025443f6a5d:localhost]

2022-07-25 22:32:25 | [Mutex] received everything.

2022-07-25 22:32:25 | [Mutex] isItemNotified: received:node:6382c6a4-35c4-4350-8d6b-a025443f6a5d:localhost:node-1695b577-3095-4c08-8d62-2a87be60eb79:Node 1695b577-3095-4c08-8d62-2a87be60eb79 :: false

deleteSubnodes 1.162s
2022-07-25 22:32:23 |

2022-07-25 22:32:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:23 | ------------------------------------

2022-07-25 22:32:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d7688d2a-b956-4cd2-b6d4-72982171096b</node></data>

2022-07-25 22:32:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-25 22:32:24 | [Mutex] waiting for: [received:nodes:318f6cd2-5c03-46ce-b516-2c310b0b3b56:localhost]

2022-07-25 22:32:24 | [Mutex] received everything.

2022-07-25 22:32:24 | [Mutex] isItemNotified: received:node:318f6cd2-5c03-46ce-b516-2c310b0b3b56:localhost:node-d7688d2a-b956-4cd2-b6d4-72982171096b:Node d7688d2a-b956-4cd2-b6d4-72982171096b :: false

2022-07-25 22:32:24 | [Mutex] waiting for: [received:nodes:78f23e85-732d-4627-8d86-cebd5081de85:localhost]

2022-07-25 22:32:24 | [Mutex] received everything.

2022-07-25 22:32:24 | [Mutex] isItemNotified: received:node:78f23e85-732d-4627-8d86-cebd5081de85:localhost:node-d7688d2a-b956-4cd2-b6d4-72982171096b:Node d7688d2a-b956-4cd2-b6d4-72982171096b :: false

publishItemsToNodes 0.174s
2022-07-25 22:32:21 |

2022-07-25 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:21 | ------------------------------------

2022-07-25 22:32:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d7688d2a-b956-4cd2-b6d4-72982171096b</node><item-id>item-7d4348be-8830-4e60-9e0d-cdce343c3775</item-id><entry><test>item-7d4348be-8830-4e60-9e0d-cdce343c3775</test></entry></data>

2022-07-25 22:32:21 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-7d4348be-8830-4e60-9e0d-cdce343c3775</value></item-id></result>

2022-07-25 22:32:21 | [Mutex] waiting for: [published:item:notifieditem-7d4348be-8830-4e60-9e0d-cdce343c3775:admin@test-domain.com]

2022-07-25 22:32:21 | [Mutex] received everything.

2022-07-25 22:32:21 | [Mutex] isItemNotified: published:item:notifieditem-7d4348be-8830-4e60-9e0d-cdce343c3775:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2022-07-25 22:32:22 |

2022-07-25 22:32:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:22 | ------------------------------------

2022-07-25 22:32:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d7688d2a-b956-4cd2-b6d4-72982171096b</node><item-id>item-7d4348be-8830-4e60-9e0d-cdce343c3775</item-id></data>

2022-07-25 22:32:22 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-7d4348be-8830-4e60-9e0d-cdce343c3775</value></item-id></result>

2022-07-25 22:32:22 | [Mutex] received everything.

2022-07-25 22:32:22 | [Mutex] isItemNotified: retracted:item:notifieditem-7d4348be-8830-4e60-9e0d-cdce343c3775:admin@test-domain.com :: true

retrieveItemsFromNodes 0.218s
2022-07-25 22:32:21 |

2022-07-25 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:21 | ------------------------------------

2022-07-25 22:32:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d7688d2a-b956-4cd2-b6d4-72982171096b</node><item-id>item-7d4348be-8830-4e60-9e0d-cdce343c3775</item-id></data>

2022-07-25 22:32:21 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-d7688d2a-b956-4cd2-b6d4-72982171096b</value></node><item-id type="text-single" label="Item ID"><value>item-7d4348be-8830-4e60-9e0d-cdce343c3775</value></item-id><item type="text-multi" label="Item"><value><item id="item-7d4348be-8830-4e60-9e0d-cdce343c3775"><test>item-7d4348be-8830-4e60-9e0d-cdce343c3775</test></item></value></item></result>

2022-07-25 22:32:21 | [Mutex] notify: [retrieved:item:item-7d4348be-8830-4e60-9e0d-cdce343c3775:payload-matches:true:localhost]

2022-07-25 22:32:21 | [Mutex] received everything.

2022-07-25 22:32:21 | [Mutex] isItemNotified: retrieved:item:item-7d4348be-8830-4e60-9e0d-cdce343c3775:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-07-25 22:32:21 |

2022-07-25 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:21 | ------------------------------------

2022-07-25 22:32:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-25 22:32:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-1695b577-3095-4c08-8d62-2a87be60eb79</value><value>node-d7688d2a-b956-4cd2-b6d4-72982171096b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-25 22:32:22 |

2022-07-25 22:32:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:22 | ------------------------------------

2022-07-25 22:32:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d7688d2a-b956-4cd2-b6d4-72982171096b)</node-pattern></data>

2022-07-25 22:32:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.104s
2022-07-25 22:32:20 |

2022-07-25 22:32:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:20 | ------------------------------------

2022-07-25 22:32:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d7688d2a-b956-4cd2-b6d4-72982171096b</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-25 22:32:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.175s
2022-07-25 22:32:22 |

2022-07-25 22:32:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-25 22:32:22 | ------------------------------------

2022-07-25 22:32:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d7688d2a-b956-4cd2-b6d4-72982171096b</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-25 22:32:22 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>