Test duration : 9.704s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.093s |
2022-08-22 23:01:27 |
2022-08-22 23:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:27 | ------------------------------------ 2022-08-22 23:01:27 | [Mutex] waiting for: [configured:node:node-c13ce9f0-3636-4755-b427-88389e1b5467:node-1de25e1f-5c83-4f65-90d6-ae0bcfc209b6] 2022-08-22 23:01:27 | [Mutex] received everything. 2022-08-22 23:01:27 | [Mutex] isItemNotified: configured:node:node-c13ce9f0-3636-4755-b427-88389e1b5467:node-1de25e1f-5c83-4f65-90d6-ae0bcfc209b6 :: true 2022-08-22 23:01:28 | [Mutex] waiting for: [received:nodes:3a47fa92-1e24-403f-b353-cd871eff8c0a:localhost] 2022-08-22 23:01:28 | [Mutex] received everything. 2022-08-22 23:01:28 | [Mutex] isItemNotified: received:node:3a47fa92-1e24-403f-b353-cd871eff8c0a:localhost:node-c13ce9f0-3636-4755-b427-88389e1b5467:Node c13ce9f0-3636-4755-b427-88389e1b5467 :: true 2022-08-22 23:01:28 | [Mutex] waiting for: [received:nodes:d1fe978e-a726-4989-b420-8b23a4b8b109:localhost] 2022-08-22 23:01:28 | [Mutex] received everything. 2022-08-22 23:01:28 | [Mutex] isItemNotified: received:node:d1fe978e-a726-4989-b420-8b23a4b8b109:localhost:node-c13ce9f0-3636-4755-b427-88389e1b5467:Node c13ce9f0-3636-4755-b427-88389e1b5467 :: false |
createNodes | 1.497s |
2022-08-22 23:01:24 |
2022-08-22 23:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:24 | ------------------------------------ 2022-08-22 23:01:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c13ce9f0-3636-4755-b427-88389e1b5467</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c13ce9f0-3636-4755-b427-88389e1b5467</title></pubsub></data> 2022-08-22 23:01:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 23:01:26 | [Mutex] waiting for: [received:nodes:24bdaa78-55d9-4721-816e-691d7fb9eb6a:localhost] 2022-08-22 23:01:26 | [Mutex] received everything. 2022-08-22 23:01:26 | [Mutex] isItemNotified: received:node:24bdaa78-55d9-4721-816e-691d7fb9eb6a:localhost:node-c13ce9f0-3636-4755-b427-88389e1b5467:Node c13ce9f0-3636-4755-b427-88389e1b5467 :: true |
createSubnodes | 1.022s |
2022-08-22 23:01:26 |
2022-08-22 23:01:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:26 | ------------------------------------ 2022-08-22 23:01:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1de25e1f-5c83-4f65-90d6-ae0bcfc209b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1de25e1f-5c83-4f65-90d6-ae0bcfc209b6</title></pubsub></data> 2022-08-22 23:01:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 23:01:27 | [Mutex] waiting for: [received:nodes:4493e40b-8fb1-4c1d-a4a4-f193125abbfc:localhost] 2022-08-22 23:01:27 | [Mutex] received everything. 2022-08-22 23:01:27 | [Mutex] isItemNotified: received:node:4493e40b-8fb1-4c1d-a4a4-f193125abbfc:localhost:node-1de25e1f-5c83-4f65-90d6-ae0bcfc209b6:Node 1de25e1f-5c83-4f65-90d6-ae0bcfc209b6 :: true |
deleteNodes | 1.019s |
2022-08-22 23:01:32 |
2022-08-22 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:32 | ------------------------------------ 2022-08-22 23:01:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1de25e1f-5c83-4f65-90d6-ae0bcfc209b6</node></data> 2022-08-22 23:01:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 23:01:33 | [Mutex] waiting for: [received:nodes:353fcda8-5853-44b7-9a6e-5afc0ec48cb4:localhost] 2022-08-22 23:01:33 | [Mutex] received everything. 2022-08-22 23:01:33 | [Mutex] isItemNotified: received:node:353fcda8-5853-44b7-9a6e-5afc0ec48cb4:localhost:node-1de25e1f-5c83-4f65-90d6-ae0bcfc209b6:Node 1de25e1f-5c83-4f65-90d6-ae0bcfc209b6 :: false |
deleteSubnodes | 1.116s |
2022-08-22 23:01:31 |
2022-08-22 23:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:31 | ------------------------------------ 2022-08-22 23:01:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c13ce9f0-3636-4755-b427-88389e1b5467</node></data> 2022-08-22 23:01:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-22 23:01:32 | [Mutex] waiting for: [received:nodes:1e55c4f8-ce01-4916-a2b8-43fe5c2a08ac:localhost] 2022-08-22 23:01:32 | [Mutex] waiting for: [received:nodes:1e55c4f8-ce01-4916-a2b8-43fe5c2a08ac:localhost] 2022-08-22 23:01:32 | [Mutex] received everything. 2022-08-22 23:01:32 | [Mutex] isItemNotified: received:node:1e55c4f8-ce01-4916-a2b8-43fe5c2a08ac:localhost:node-c13ce9f0-3636-4755-b427-88389e1b5467:Node c13ce9f0-3636-4755-b427-88389e1b5467 :: false 2022-08-22 23:01:32 | [Mutex] waiting for: [received:nodes:07fdd6c5-27bb-4949-bc3e-be3fd3f5a423:localhost] 2022-08-22 23:01:32 | [Mutex] received everything. 2022-08-22 23:01:32 | [Mutex] isItemNotified: received:node:07fdd6c5-27bb-4949-bc3e-be3fd3f5a423:localhost:node-c13ce9f0-3636-4755-b427-88389e1b5467:Node c13ce9f0-3636-4755-b427-88389e1b5467 :: false |
publishItemsToNodes | 0.272s |
2022-08-22 23:01:29 |
2022-08-22 23:01:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:29 | ------------------------------------ 2022-08-22 23:01:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c13ce9f0-3636-4755-b427-88389e1b5467</node><item-id>item-979af532-b4d9-4b0f-97a5-951f4f93673c</item-id><entry><test>item-979af532-b4d9-4b0f-97a5-951f4f93673c</test></entry></data> 2022-08-22 23:01:29 | 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-979af532-b4d9-4b0f-97a5-951f4f93673c</value></item-id></result> 2022-08-22 23:01:29 | [Mutex] waiting for: [published:item:notifieditem-979af532-b4d9-4b0f-97a5-951f4f93673c:admin@test-domain.com] 2022-08-22 23:01:29 | [Mutex] received everything. 2022-08-22 23:01:29 | [Mutex] isItemNotified: published:item:notifieditem-979af532-b4d9-4b0f-97a5-951f4f93673c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.280s |
2022-08-22 23:01:30 |
2022-08-22 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:30 | ------------------------------------ 2022-08-22 23:01:30 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c13ce9f0-3636-4755-b427-88389e1b5467</node><item-id>item-979af532-b4d9-4b0f-97a5-951f4f93673c</item-id></data> 2022-08-22 23:01:30 | 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-979af532-b4d9-4b0f-97a5-951f4f93673c</value></item-id></result> 2022-08-22 23:01:30 | [Mutex] waiting for: [retracted:item:notifieditem-979af532-b4d9-4b0f-97a5-951f4f93673c:admin@test-domain.com] 2022-08-22 23:01:30 | [Mutex] received everything. 2022-08-22 23:01:30 | [Mutex] isItemNotified: retracted:item:notifieditem-979af532-b4d9-4b0f-97a5-951f4f93673c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.193s |
2022-08-22 23:01:29 |
2022-08-22 23:01:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:29 | ------------------------------------ 2022-08-22 23:01:29 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c13ce9f0-3636-4755-b427-88389e1b5467</node><item-id>item-979af532-b4d9-4b0f-97a5-951f4f93673c</item-id></data> 2022-08-22 23:01:30 | 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-c13ce9f0-3636-4755-b427-88389e1b5467</value></node><item-id type="text-single" label="Item ID"><value>item-979af532-b4d9-4b0f-97a5-951f4f93673c</value></item-id><item type="text-multi" label="Item"><value><item id="item-979af532-b4d9-4b0f-97a5-951f4f93673c"><test>item-979af532-b4d9-4b0f-97a5-951f4f93673c</test></item></value></item></result> 2022-08-22 23:01:30 | [Mutex] notify: [retrieved:item:item-979af532-b4d9-4b0f-97a5-951f4f93673c:payload-matches:true:localhost] 2022-08-22 23:01:30 | [Mutex] received everything. 2022-08-22 23:01:30 | [Mutex] isItemNotified: retrieved:item:item-979af532-b4d9-4b0f-97a5-951f4f93673c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-08-22 23:01:30 |
2022-08-22 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:30 | ------------------------------------ 2022-08-22 23:01:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-22 23:01:30 | 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-c13ce9f0-3636-4755-b427-88389e1b5467</value><value>node-1de25e1f-5c83-4f65-90d6-ae0bcfc209b6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-22 23:01:30 |
2022-08-22 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:30 | ------------------------------------ 2022-08-22 23:01:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c13ce9f0-3636-4755-b427-88389e1b5467)</node-pattern></data> 2022-08-22 23:01:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.147s |
2022-08-22 23:01:28 |
2022-08-22 23:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:28 | ------------------------------------ 2022-08-22 23:01:28 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c13ce9f0-3636-4755-b427-88389e1b5467</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-22 23:01:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.250s |
2022-08-22 23:01:30 |
2022-08-22 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-22 23:01:30 | ------------------------------------ 2022-08-22 23:01:30 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c13ce9f0-3636-4755-b427-88389e1b5467</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-22 23:01:30 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |