Test duration : 9.382s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2023-03-29 23:00:12 |
2023-03-29 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:12 | ------------------------------------ 2023-03-29 23:00:12 | [Mutex] waiting for: [configured:node:node-4e12701c-79fb-44cc-a8e4-657415c4e8b4:node-01c58f38-4037-4824-8b92-81cd83c09ca7] 2023-03-29 23:00:12 | [Mutex] received everything. 2023-03-29 23:00:12 | [Mutex] isItemNotified: configured:node:node-4e12701c-79fb-44cc-a8e4-657415c4e8b4:node-01c58f38-4037-4824-8b92-81cd83c09ca7 :: true 2023-03-29 23:00:13 | [Mutex] waiting for: [received:nodes:8f3824f9-e0da-4a5a-a0a2-6d5a63f6e4b8:localhost] 2023-03-29 23:00:13 | [Mutex] received everything. 2023-03-29 23:00:13 | [Mutex] isItemNotified: received:node:8f3824f9-e0da-4a5a-a0a2-6d5a63f6e4b8:localhost:node-4e12701c-79fb-44cc-a8e4-657415c4e8b4:Node 4e12701c-79fb-44cc-a8e4-657415c4e8b4 :: true 2023-03-29 23:00:13 | [Mutex] waiting for: [received:nodes:93a676b2-7208-430f-9346-90bef2eab0ee:localhost] 2023-03-29 23:00:13 | [Mutex] waiting for: [received:nodes:93a676b2-7208-430f-9346-90bef2eab0ee:localhost] 2023-03-29 23:00:13 | [Mutex] waiting for: [received:nodes:93a676b2-7208-430f-9346-90bef2eab0ee:localhost] 2023-03-29 23:00:13 | [Mutex] received everything. 2023-03-29 23:00:13 | [Mutex] isItemNotified: received:node:93a676b2-7208-430f-9346-90bef2eab0ee:localhost:node-4e12701c-79fb-44cc-a8e4-657415c4e8b4:Node 4e12701c-79fb-44cc-a8e4-657415c4e8b4 :: false |
createNodes | 1.455s |
2023-03-29 23:00:09 |
2023-03-29 23:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:09 | ------------------------------------ 2023-03-29 23:00:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4e12701c-79fb-44cc-a8e4-657415c4e8b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4e12701c-79fb-44cc-a8e4-657415c4e8b4</title></pubsub></data> 2023-03-29 23:00:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 23:00:11 | [Mutex] waiting for: [received:nodes:e5f9e699-2a8e-4948-87f5-68742356514a:localhost] 2023-03-29 23:00:11 | [Mutex] waiting for: [received:nodes:e5f9e699-2a8e-4948-87f5-68742356514a:localhost] 2023-03-29 23:00:11 | [Mutex] waiting for: [received:nodes:e5f9e699-2a8e-4948-87f5-68742356514a:localhost] 2023-03-29 23:00:11 | [Mutex] waiting for: [received:nodes:e5f9e699-2a8e-4948-87f5-68742356514a:localhost] 2023-03-29 23:00:11 | [Mutex] received everything. 2023-03-29 23:00:11 | [Mutex] isItemNotified: received:node:e5f9e699-2a8e-4948-87f5-68742356514a:localhost:node-4e12701c-79fb-44cc-a8e4-657415c4e8b4:Node 4e12701c-79fb-44cc-a8e4-657415c4e8b4 :: true |
createSubnodes | 1.023s |
2023-03-29 23:00:11 |
2023-03-29 23:00:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:11 | ------------------------------------ 2023-03-29 23:00:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-01c58f38-4037-4824-8b92-81cd83c09ca7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 01c58f38-4037-4824-8b92-81cd83c09ca7</title></pubsub></data> 2023-03-29 23:00:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 23:00:12 | [Mutex] waiting for: [received:nodes:1bb6257a-881e-4855-9fd4-759d53674715:localhost] 2023-03-29 23:00:12 | [Mutex] received everything. 2023-03-29 23:00:12 | [Mutex] isItemNotified: received:node:1bb6257a-881e-4855-9fd4-759d53674715:localhost:node-01c58f38-4037-4824-8b92-81cd83c09ca7:Node 01c58f38-4037-4824-8b92-81cd83c09ca7 :: true |
deleteNodes | 1.016s |
2023-03-29 23:00:17 |
2023-03-29 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:17 | ------------------------------------ 2023-03-29 23:00:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-01c58f38-4037-4824-8b92-81cd83c09ca7</node></data> 2023-03-29 23:00:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 23:00:18 | [Mutex] waiting for: [received:nodes:60acfd21-c2a6-42d3-9034-70bf85d6be25:localhost] 2023-03-29 23:00:18 | [Mutex] received everything. 2023-03-29 23:00:18 | [Mutex] isItemNotified: received:node:60acfd21-c2a6-42d3-9034-70bf85d6be25:localhost:node-01c58f38-4037-4824-8b92-81cd83c09ca7:Node 01c58f38-4037-4824-8b92-81cd83c09ca7 :: false |
deleteSubnodes | 1.115s |
2023-03-29 23:00:16 |
2023-03-29 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:16 | ------------------------------------ 2023-03-29 23:00:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4e12701c-79fb-44cc-a8e4-657415c4e8b4</node></data> 2023-03-29 23:00:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 23:00:17 | [Mutex] waiting for: [received:nodes:fd7d671d-2830-49a3-a230-51d9c09cf721:localhost] 2023-03-29 23:00:17 | [Mutex] waiting for: [received:nodes:fd7d671d-2830-49a3-a230-51d9c09cf721:localhost] 2023-03-29 23:00:17 | [Mutex] waiting for: [received:nodes:fd7d671d-2830-49a3-a230-51d9c09cf721:localhost] 2023-03-29 23:00:17 | [Mutex] received everything. 2023-03-29 23:00:17 | [Mutex] isItemNotified: received:node:fd7d671d-2830-49a3-a230-51d9c09cf721:localhost:node-4e12701c-79fb-44cc-a8e4-657415c4e8b4:Node 4e12701c-79fb-44cc-a8e4-657415c4e8b4 :: false 2023-03-29 23:00:17 | [Mutex] waiting for: [received:nodes:9081db29-bf9e-4557-923e-6c534b73a581:localhost] 2023-03-29 23:00:17 | [Mutex] received everything. 2023-03-29 23:00:17 | [Mutex] isItemNotified: received:node:9081db29-bf9e-4557-923e-6c534b73a581:localhost:node-4e12701c-79fb-44cc-a8e4-657415c4e8b4:Node 4e12701c-79fb-44cc-a8e4-657415c4e8b4 :: false |
publishItemsToNodes | 0.189s |
2023-03-29 23:00:14 |
2023-03-29 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:14 | ------------------------------------ 2023-03-29 23:00:14 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4e12701c-79fb-44cc-a8e4-657415c4e8b4</node><item-id>item-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3</item-id><entry><test>item-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3</test></entry></data> 2023-03-29 23:00:14 | 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-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3</value></item-id></result> 2023-03-29 23:00:14 | [Mutex] waiting for: [published:item:notifieditem-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3:admin@test-domain.com] 2023-03-29 23:00:14 | [Mutex] received everything. 2023-03-29 23:00:14 | [Mutex] isItemNotified: published:item:notifieditem-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.211s |
2023-03-29 23:00:15 |
2023-03-29 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:15 | ------------------------------------ 2023-03-29 23:00:15 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4e12701c-79fb-44cc-a8e4-657415c4e8b4</node><item-id>item-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3</item-id></data> 2023-03-29 23:00:15 | 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-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3</value></item-id></result> 2023-03-29 23:00:15 | [Mutex] received everything. 2023-03-29 23:00:15 | [Mutex] isItemNotified: retracted:item:notifieditem-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.276s |
2023-03-29 23:00:14 |
2023-03-29 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:14 | ------------------------------------ 2023-03-29 23:00:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4e12701c-79fb-44cc-a8e4-657415c4e8b4</node><item-id>item-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3</item-id></data> 2023-03-29 23:00:14 | 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-4e12701c-79fb-44cc-a8e4-657415c4e8b4</value></node><item-id type="text-single" label="Item ID"><value>item-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3</value></item-id><item type="text-multi" label="Item"><value><item id="item-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3"><test>item-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3</test></item></value></item></result> 2023-03-29 23:00:14 | [Mutex] notify: [retrieved:item:item-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3:payload-matches:true:localhost] 2023-03-29 23:00:14 | [Mutex] received everything. 2023-03-29 23:00:14 | [Mutex] isItemNotified: retrieved:item:item-c4c34bb4-a16a-46bd-bdc4-b7d63a16b8e3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-29 23:00:14 |
2023-03-29 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:14 | ------------------------------------ 2023-03-29 23:00:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-29 23:00:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-01c58f38-4037-4824-8b92-81cd83c09ca7</value><value>test</value><value>node-4e12701c-79fb-44cc-a8e4-657415c4e8b4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2023-03-29 23:00:15 |
2023-03-29 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:15 | ------------------------------------ 2023-03-29 23:00:15 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4e12701c-79fb-44cc-a8e4-657415c4e8b4)</node-pattern></data> 2023-03-29 23:00:15 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.113s |
2023-03-29 23:00:13 |
2023-03-29 23:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:13 | ------------------------------------ 2023-03-29 23:00:13 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4e12701c-79fb-44cc-a8e4-657415c4e8b4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-29 23:00:13 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.236s |
2023-03-29 23:00:15 |
2023-03-29 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:00:15 | ------------------------------------ 2023-03-29 23:00:15 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4e12701c-79fb-44cc-a8e4-657415c4e8b4</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-29 23:00:15 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |