Test duration : 9.591s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2022-12-16 04:58:41 |
2022-12-16 04:58:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:41 | ------------------------------------ 2022-12-16 04:58:41 | [Mutex] waiting for: [configured:node:node-de097359-4654-4161-99a2-d305da230192:node-d3897855-1344-4a51-9529-7ad866d9886a] 2022-12-16 04:58:41 | [Mutex] received everything. 2022-12-16 04:58:41 | [Mutex] isItemNotified: configured:node:node-de097359-4654-4161-99a2-d305da230192:node-d3897855-1344-4a51-9529-7ad866d9886a :: true 2022-12-16 04:58:42 | [Mutex] waiting for: [received:nodes:0ecf488e-f93d-406a-ba1d-e6b7cec517af:localhost] 2022-12-16 04:58:42 | [Mutex] received everything. 2022-12-16 04:58:42 | [Mutex] isItemNotified: received:node:0ecf488e-f93d-406a-ba1d-e6b7cec517af:localhost:node-de097359-4654-4161-99a2-d305da230192:Node de097359-4654-4161-99a2-d305da230192 :: true 2022-12-16 04:58:42 | [Mutex] waiting for: [received:nodes:07982641-8777-4460-bf0a-1c00ac4fd85d:localhost] 2022-12-16 04:58:42 | [Mutex] waiting for: [received:nodes:07982641-8777-4460-bf0a-1c00ac4fd85d:localhost] 2022-12-16 04:58:42 | [Mutex] waiting for: [received:nodes:07982641-8777-4460-bf0a-1c00ac4fd85d:localhost] 2022-12-16 04:58:42 | [Mutex] waiting for: [received:nodes:07982641-8777-4460-bf0a-1c00ac4fd85d:localhost] 2022-12-16 04:58:42 | [Mutex] received everything. 2022-12-16 04:58:42 | [Mutex] isItemNotified: received:node:07982641-8777-4460-bf0a-1c00ac4fd85d:localhost:node-de097359-4654-4161-99a2-d305da230192:Node de097359-4654-4161-99a2-d305da230192 :: false |
createNodes | 1.385s |
2022-12-16 04:58:38 |
2022-12-16 04:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:38 | ------------------------------------ 2022-12-16 04:58:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-de097359-4654-4161-99a2-d305da230192</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node de097359-4654-4161-99a2-d305da230192</title></pubsub></data> 2022-12-16 04:58:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 04:58:40 | [Mutex] waiting for: [received:nodes:b8c8302f-4842-4871-b893-c1e59357f8b1:localhost] 2022-12-16 04:58:40 | [Mutex] waiting for: [received:nodes:b8c8302f-4842-4871-b893-c1e59357f8b1:localhost] 2022-12-16 04:58:40 | [Mutex] waiting for: [received:nodes:b8c8302f-4842-4871-b893-c1e59357f8b1:localhost] 2022-12-16 04:58:40 | [Mutex] waiting for: [received:nodes:b8c8302f-4842-4871-b893-c1e59357f8b1:localhost] 2022-12-16 04:58:40 | [Mutex] received everything. 2022-12-16 04:58:40 | [Mutex] isItemNotified: received:node:b8c8302f-4842-4871-b893-c1e59357f8b1:localhost:node-de097359-4654-4161-99a2-d305da230192:Node de097359-4654-4161-99a2-d305da230192 :: true |
createSubnodes | 1.059s |
2022-12-16 04:58:40 |
2022-12-16 04:58:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:40 | ------------------------------------ 2022-12-16 04:58:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d3897855-1344-4a51-9529-7ad866d9886a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d3897855-1344-4a51-9529-7ad866d9886a</title></pubsub></data> 2022-12-16 04:58:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 04:58:41 | [Mutex] waiting for: [received:nodes:0536c4ad-154c-4cf5-b189-647e230e8e91:localhost] 2022-12-16 04:58:41 | [Mutex] received everything. 2022-12-16 04:58:41 | [Mutex] isItemNotified: received:node:0536c4ad-154c-4cf5-b189-647e230e8e91:localhost:node-d3897855-1344-4a51-9529-7ad866d9886a:Node d3897855-1344-4a51-9529-7ad866d9886a :: true |
deleteNodes | 1.016s |
2022-12-16 04:58:46 |
2022-12-16 04:58:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:46 | ------------------------------------ 2022-12-16 04:58:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d3897855-1344-4a51-9529-7ad866d9886a</node></data> 2022-12-16 04:58:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 04:58:47 | [Mutex] waiting for: [received:nodes:bb0682d3-8e9f-4be6-a3c3-8001b8249386:localhost] 2022-12-16 04:58:47 | [Mutex] waiting for: [received:nodes:bb0682d3-8e9f-4be6-a3c3-8001b8249386:localhost] 2022-12-16 04:58:47 | [Mutex] received everything. 2022-12-16 04:58:47 | [Mutex] isItemNotified: received:node:bb0682d3-8e9f-4be6-a3c3-8001b8249386:localhost:node-d3897855-1344-4a51-9529-7ad866d9886a:Node d3897855-1344-4a51-9529-7ad866d9886a :: false |
deleteSubnodes | 1.150s |
2022-12-16 04:58:45 |
2022-12-16 04:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:45 | ------------------------------------ 2022-12-16 04:58:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-de097359-4654-4161-99a2-d305da230192</node></data> 2022-12-16 04:58:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 04:58:46 | [Mutex] waiting for: [received:nodes:7c047ed6-3ffe-4528-acb4-a4d726cc1f5e:localhost] 2022-12-16 04:58:46 | [Mutex] waiting for: [received:nodes:7c047ed6-3ffe-4528-acb4-a4d726cc1f5e:localhost] 2022-12-16 04:58:46 | [Mutex] waiting for: [received:nodes:7c047ed6-3ffe-4528-acb4-a4d726cc1f5e:localhost] 2022-12-16 04:58:46 | [Mutex] received everything. 2022-12-16 04:58:46 | [Mutex] isItemNotified: received:node:7c047ed6-3ffe-4528-acb4-a4d726cc1f5e:localhost:node-de097359-4654-4161-99a2-d305da230192:Node de097359-4654-4161-99a2-d305da230192 :: false 2022-12-16 04:58:46 | [Mutex] waiting for: [received:nodes:bb234633-fb72-4a66-b0b2-108203bfbefa:localhost] 2022-12-16 04:58:46 | [Mutex] received everything. 2022-12-16 04:58:46 | [Mutex] isItemNotified: received:node:bb234633-fb72-4a66-b0b2-108203bfbefa:localhost:node-de097359-4654-4161-99a2-d305da230192:Node de097359-4654-4161-99a2-d305da230192 :: false |
publishItemsToNodes | 0.217s |
2022-12-16 04:58:43 |
2022-12-16 04:58:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:43 | ------------------------------------ 2022-12-16 04:58:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-de097359-4654-4161-99a2-d305da230192</node><item-id>item-efca7684-dd96-477c-bd57-d7d86770e1e5</item-id><entry><test>item-efca7684-dd96-477c-bd57-d7d86770e1e5</test></entry></data> 2022-12-16 04:58:43 | 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-efca7684-dd96-477c-bd57-d7d86770e1e5</value></item-id></result> 2022-12-16 04:58:43 | [Mutex] received everything. 2022-12-16 04:58:43 | [Mutex] isItemNotified: published:item:notifieditem-efca7684-dd96-477c-bd57-d7d86770e1e5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2022-12-16 04:58:44 |
2022-12-16 04:58:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:44 | ------------------------------------ 2022-12-16 04:58:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-de097359-4654-4161-99a2-d305da230192</node><item-id>item-efca7684-dd96-477c-bd57-d7d86770e1e5</item-id></data> 2022-12-16 04:58:44 | 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-efca7684-dd96-477c-bd57-d7d86770e1e5</value></item-id></result> 2022-12-16 04:58:44 | [Mutex] received everything. 2022-12-16 04:58:44 | [Mutex] isItemNotified: retracted:item:notifieditem-efca7684-dd96-477c-bd57-d7d86770e1e5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.218s |
2022-12-16 04:58:43 |
2022-12-16 04:58:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:43 | ------------------------------------ 2022-12-16 04:58:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-de097359-4654-4161-99a2-d305da230192</node><item-id>item-efca7684-dd96-477c-bd57-d7d86770e1e5</item-id></data> 2022-12-16 04:58:44 | 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-de097359-4654-4161-99a2-d305da230192</value></node><item-id label="Item ID" type="text-single"><value>item-efca7684-dd96-477c-bd57-d7d86770e1e5</value></item-id><item label="Item" type="text-multi"><value><item id="item-efca7684-dd96-477c-bd57-d7d86770e1e5"><test>item-efca7684-dd96-477c-bd57-d7d86770e1e5</test></item></value></item></result> 2022-12-16 04:58:44 | [Mutex] notify: [retrieved:item:item-efca7684-dd96-477c-bd57-d7d86770e1e5:payload-matches:true:localhost] 2022-12-16 04:58:44 | [Mutex] received everything. 2022-12-16 04:58:44 | [Mutex] isItemNotified: retrieved:item:item-efca7684-dd96-477c-bd57-d7d86770e1e5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-16 04:58:44 |
2022-12-16 04:58:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:44 | ------------------------------------ 2022-12-16 04:58:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-16 04:58:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-de097359-4654-4161-99a2-d305da230192</value><value>test</value><value>node-d3897855-1344-4a51-9529-7ad866d9886a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-12-16 04:58:44 |
2022-12-16 04:58:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:44 | ------------------------------------ 2022-12-16 04:58:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-de097359-4654-4161-99a2-d305da230192)</node-pattern></data> 2022-12-16 04:58:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.139s |
2022-12-16 04:58:42 |
2022-12-16 04:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:42 | ------------------------------------ 2022-12-16 04:58:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-de097359-4654-4161-99a2-d305da230192</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 04:58:42 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.264s |
2022-12-16 04:58:44 |
2022-12-16 04:58:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 04:58:44 | ------------------------------------ 2022-12-16 04:58:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-de097359-4654-4161-99a2-d305da230192</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 04:58:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |