Test duration : 9.448s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2022-08-25 22:34:11 |
2022-08-25 22:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:11 | ------------------------------------ 2022-08-25 22:34:11 | [Mutex] waiting for: [configured:node:node-dbbf6258-d129-4386-ad47-73bac52f09f8:node-e42c2c11-b331-4410-a3a3-f8beacd83a5c] 2022-08-25 22:34:11 | [Mutex] received everything. 2022-08-25 22:34:11 | [Mutex] isItemNotified: configured:node:node-dbbf6258-d129-4386-ad47-73bac52f09f8:node-e42c2c11-b331-4410-a3a3-f8beacd83a5c :: true 2022-08-25 22:34:12 | [Mutex] waiting for: [received:nodes:0c9f501b-dbff-4a8d-b8ac-96da09c7a382:localhost] 2022-08-25 22:34:12 | [Mutex] received everything. 2022-08-25 22:34:12 | [Mutex] isItemNotified: received:node:0c9f501b-dbff-4a8d-b8ac-96da09c7a382:localhost:node-dbbf6258-d129-4386-ad47-73bac52f09f8:Node dbbf6258-d129-4386-ad47-73bac52f09f8 :: true 2022-08-25 22:34:12 | [Mutex] waiting for: [received:nodes:90ebc452-4150-4e2b-a618-5d409c7c44b9:localhost] 2022-08-25 22:34:12 | [Mutex] received everything. 2022-08-25 22:34:12 | [Mutex] isItemNotified: received:node:90ebc452-4150-4e2b-a618-5d409c7c44b9:localhost:node-dbbf6258-d129-4386-ad47-73bac52f09f8:Node dbbf6258-d129-4386-ad47-73bac52f09f8 :: false |
createNodes | 1.440s |
2022-08-25 22:34:08 |
2022-08-25 22:34:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:08 | ------------------------------------ 2022-08-25 22:34:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dbbf6258-d129-4386-ad47-73bac52f09f8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dbbf6258-d129-4386-ad47-73bac52f09f8</title></pubsub></data> 2022-08-25 22:34:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-25 22:34:10 | [Mutex] waiting for: [received:nodes:94281407-618b-4f0e-a3f1-81d011766a15:localhost] 2022-08-25 22:34:10 | [Mutex] received everything. 2022-08-25 22:34:10 | [Mutex] isItemNotified: received:node:94281407-618b-4f0e-a3f1-81d011766a15:localhost:node-dbbf6258-d129-4386-ad47-73bac52f09f8:Node dbbf6258-d129-4386-ad47-73bac52f09f8 :: true |
createSubnodes | 1.032s |
2022-08-25 22:34:10 |
2022-08-25 22:34:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:10 | ------------------------------------ 2022-08-25 22:34:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e42c2c11-b331-4410-a3a3-f8beacd83a5c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e42c2c11-b331-4410-a3a3-f8beacd83a5c</title></pubsub></data> 2022-08-25 22:34:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-25 22:34:11 | [Mutex] waiting for: [received:nodes:6fdcc097-1c34-497f-bf5e-745e8ea4850c:localhost] 2022-08-25 22:34:11 | [Mutex] received everything. 2022-08-25 22:34:11 | [Mutex] isItemNotified: received:node:6fdcc097-1c34-497f-bf5e-745e8ea4850c:localhost:node-e42c2c11-b331-4410-a3a3-f8beacd83a5c:Node e42c2c11-b331-4410-a3a3-f8beacd83a5c :: true |
deleteNodes | 1.019s |
2022-08-25 22:34:16 |
2022-08-25 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:16 | ------------------------------------ 2022-08-25 22:34:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e42c2c11-b331-4410-a3a3-f8beacd83a5c</node></data> 2022-08-25 22:34:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-25 22:34:17 | [Mutex] waiting for: [received:nodes:f7d058ac-8931-4b7b-ad34-794462ff71f0:localhost] 2022-08-25 22:34:17 | [Mutex] waiting for: [received:nodes:f7d058ac-8931-4b7b-ad34-794462ff71f0:localhost] 2022-08-25 22:34:17 | [Mutex] received everything. 2022-08-25 22:34:17 | [Mutex] isItemNotified: received:node:f7d058ac-8931-4b7b-ad34-794462ff71f0:localhost:node-e42c2c11-b331-4410-a3a3-f8beacd83a5c:Node e42c2c11-b331-4410-a3a3-f8beacd83a5c :: false |
deleteSubnodes | 1.116s |
2022-08-25 22:34:15 |
2022-08-25 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:15 | ------------------------------------ 2022-08-25 22:34:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dbbf6258-d129-4386-ad47-73bac52f09f8</node></data> 2022-08-25 22:34:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-25 22:34:16 | [Mutex] waiting for: [received:nodes:06af3020-e1c9-4ff8-bbcf-9d4e74f36add:localhost] 2022-08-25 22:34:16 | [Mutex] received everything. 2022-08-25 22:34:16 | [Mutex] isItemNotified: received:node:06af3020-e1c9-4ff8-bbcf-9d4e74f36add:localhost:node-dbbf6258-d129-4386-ad47-73bac52f09f8:Node dbbf6258-d129-4386-ad47-73bac52f09f8 :: false 2022-08-25 22:34:16 | [Mutex] waiting for: [received:nodes:6fef457e-f79e-4110-9ac0-ebc536364247:localhost] 2022-08-25 22:34:16 | [Mutex] received everything. 2022-08-25 22:34:16 | [Mutex] isItemNotified: received:node:6fef457e-f79e-4110-9ac0-ebc536364247:localhost:node-dbbf6258-d129-4386-ad47-73bac52f09f8:Node dbbf6258-d129-4386-ad47-73bac52f09f8 :: false |
publishItemsToNodes | 0.194s |
2022-08-25 22:34:13 |
2022-08-25 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:13 | ------------------------------------ 2022-08-25 22:34:13 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-dbbf6258-d129-4386-ad47-73bac52f09f8</node><item-id>item-c3e60933-b08e-4ac7-a0d3-16c1e78ac359</item-id><entry><test>item-c3e60933-b08e-4ac7-a0d3-16c1e78ac359</test></entry></data> 2022-08-25 22:34:13 | 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-c3e60933-b08e-4ac7-a0d3-16c1e78ac359</value></item-id></result> 2022-08-25 22:34:13 | [Mutex] waiting for: [published:item:notifieditem-c3e60933-b08e-4ac7-a0d3-16c1e78ac359:admin@test-domain.com] 2022-08-25 22:34:13 | [Mutex] received everything. 2022-08-25 22:34:13 | [Mutex] isItemNotified: published:item:notifieditem-c3e60933-b08e-4ac7-a0d3-16c1e78ac359:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-08-25 22:34:13 |
2022-08-25 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:13 | ------------------------------------ 2022-08-25 22:34:13 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-dbbf6258-d129-4386-ad47-73bac52f09f8</node><item-id>item-c3e60933-b08e-4ac7-a0d3-16c1e78ac359</item-id></data> 2022-08-25 22:34:14 | 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-c3e60933-b08e-4ac7-a0d3-16c1e78ac359</value></item-id></result> 2022-08-25 22:34:14 | [Mutex] waiting for: [retracted:item:notifieditem-c3e60933-b08e-4ac7-a0d3-16c1e78ac359:admin@test-domain.com] 2022-08-25 22:34:14 | [Mutex] received everything. 2022-08-25 22:34:14 | [Mutex] isItemNotified: retracted:item:notifieditem-c3e60933-b08e-4ac7-a0d3-16c1e78ac359:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.281s |
2022-08-25 22:34:13 |
2022-08-25 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:13 | ------------------------------------ 2022-08-25 22:34:13 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-dbbf6258-d129-4386-ad47-73bac52f09f8</node><item-id>item-c3e60933-b08e-4ac7-a0d3-16c1e78ac359</item-id></data> 2022-08-25 22:34:13 | 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-dbbf6258-d129-4386-ad47-73bac52f09f8</value></node><item-id type="text-single" label="Item ID"><value>item-c3e60933-b08e-4ac7-a0d3-16c1e78ac359</value></item-id><item type="text-multi" label="Item"><value><item id="item-c3e60933-b08e-4ac7-a0d3-16c1e78ac359"><test>item-c3e60933-b08e-4ac7-a0d3-16c1e78ac359</test></item></value></item></result> 2022-08-25 22:34:13 | [Mutex] notify: [retrieved:item:item-c3e60933-b08e-4ac7-a0d3-16c1e78ac359:payload-matches:true:localhost] 2022-08-25 22:34:13 | [Mutex] received everything. 2022-08-25 22:34:13 | [Mutex] isItemNotified: retrieved:item:item-c3e60933-b08e-4ac7-a0d3-16c1e78ac359:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-25 22:34:13 |
2022-08-25 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:13 | ------------------------------------ 2022-08-25 22:34:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-25 22:34:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-e42c2c11-b331-4410-a3a3-f8beacd83a5c</value><value>test</value><value>node-dbbf6258-d129-4386-ad47-73bac52f09f8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-25 22:34:13 |
2022-08-25 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:13 | ------------------------------------ 2022-08-25 22:34:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dbbf6258-d129-4386-ad47-73bac52f09f8)</node-pattern></data> 2022-08-25 22:34:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.102s |
2022-08-25 22:34:12 |
2022-08-25 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:12 | ------------------------------------ 2022-08-25 22:34:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-dbbf6258-d129-4386-ad47-73bac52f09f8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-25 22:34:12 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.179s |
2022-08-25 22:34:14 |
2022-08-25 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-25 22:34:14 | ------------------------------------ 2022-08-25 22:34:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-dbbf6258-d129-4386-ad47-73bac52f09f8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-25 22:34:14 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |