Test duration : 9.357s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2022-12-28 22:02:25 |
2022-12-28 22:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:25 | ------------------------------------ 2022-12-28 22:02:25 | [Mutex] waiting for: [configured:node:node-f8ad3829-364b-4937-9cb1-63ced57ab3d5:node-067a368f-f9d6-413d-95fc-ce1839f7698d] 2022-12-28 22:02:25 | [Mutex] received everything. 2022-12-28 22:02:25 | [Mutex] isItemNotified: configured:node:node-f8ad3829-364b-4937-9cb1-63ced57ab3d5:node-067a368f-f9d6-413d-95fc-ce1839f7698d :: true 2022-12-28 22:02:26 | [Mutex] waiting for: [received:nodes:a447bb69-d36b-4df3-819a-418319364e41:localhost] 2022-12-28 22:02:26 | [Mutex] received everything. 2022-12-28 22:02:26 | [Mutex] isItemNotified: received:node:a447bb69-d36b-4df3-819a-418319364e41:localhost:node-f8ad3829-364b-4937-9cb1-63ced57ab3d5:Node f8ad3829-364b-4937-9cb1-63ced57ab3d5 :: true 2022-12-28 22:02:26 | [Mutex] waiting for: [received:nodes:8bde2337-280d-49c6-b870-0841363e5e04:localhost] 2022-12-28 22:02:26 | [Mutex] waiting for: [received:nodes:8bde2337-280d-49c6-b870-0841363e5e04:localhost] 2022-12-28 22:02:26 | [Mutex] waiting for: [received:nodes:8bde2337-280d-49c6-b870-0841363e5e04:localhost] 2022-12-28 22:02:26 | [Mutex] waiting for: [received:nodes:8bde2337-280d-49c6-b870-0841363e5e04:localhost] 2022-12-28 22:02:26 | [Mutex] received everything. 2022-12-28 22:02:26 | [Mutex] isItemNotified: received:node:8bde2337-280d-49c6-b870-0841363e5e04:localhost:node-f8ad3829-364b-4937-9cb1-63ced57ab3d5:Node f8ad3829-364b-4937-9cb1-63ced57ab3d5 :: false |
createNodes | 1.332s |
2022-12-28 22:02:22 |
2022-12-28 22:02:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:22 | ------------------------------------ 2022-12-28 22:02:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f8ad3829-364b-4937-9cb1-63ced57ab3d5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f8ad3829-364b-4937-9cb1-63ced57ab3d5</title></pubsub></data> 2022-12-28 22:02:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 22:02:24 | [Mutex] waiting for: [received:nodes:5d830f35-1025-470d-80c1-0809330311d5:localhost] 2022-12-28 22:02:24 | [Mutex] waiting for: [received:nodes:5d830f35-1025-470d-80c1-0809330311d5:localhost] 2022-12-28 22:02:24 | [Mutex] waiting for: [received:nodes:5d830f35-1025-470d-80c1-0809330311d5:localhost] 2022-12-28 22:02:24 | [Mutex] received everything. 2022-12-28 22:02:24 | [Mutex] isItemNotified: received:node:5d830f35-1025-470d-80c1-0809330311d5:localhost:node-f8ad3829-364b-4937-9cb1-63ced57ab3d5:Node f8ad3829-364b-4937-9cb1-63ced57ab3d5 :: true |
createSubnodes | 1.028s |
2022-12-28 22:02:24 |
2022-12-28 22:02:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:24 | ------------------------------------ 2022-12-28 22:02:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-067a368f-f9d6-413d-95fc-ce1839f7698d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 067a368f-f9d6-413d-95fc-ce1839f7698d</title></pubsub></data> 2022-12-28 22:02:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 22:02:25 | [Mutex] waiting for: [received:nodes:19ae7538-8631-4e23-b2c7-7d4048be58ee:localhost] 2022-12-28 22:02:25 | [Mutex] waiting for: [received:nodes:19ae7538-8631-4e23-b2c7-7d4048be58ee:localhost] 2022-12-28 22:02:25 | [Mutex] waiting for: [received:nodes:19ae7538-8631-4e23-b2c7-7d4048be58ee:localhost] 2022-12-28 22:02:25 | [Mutex] waiting for: [received:nodes:19ae7538-8631-4e23-b2c7-7d4048be58ee:localhost] 2022-12-28 22:02:25 | [Mutex] waiting for: [received:nodes:19ae7538-8631-4e23-b2c7-7d4048be58ee:localhost] 2022-12-28 22:02:25 | [Mutex] received everything. 2022-12-28 22:02:25 | [Mutex] isItemNotified: received:node:19ae7538-8631-4e23-b2c7-7d4048be58ee:localhost:node-067a368f-f9d6-413d-95fc-ce1839f7698d:Node 067a368f-f9d6-413d-95fc-ce1839f7698d :: true |
deleteNodes | 1.019s |
2022-12-28 22:02:30 |
2022-12-28 22:02:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:30 | ------------------------------------ 2022-12-28 22:02:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-067a368f-f9d6-413d-95fc-ce1839f7698d</node></data> 2022-12-28 22:02:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 22:02:31 | [Mutex] waiting for: [received:nodes:09f17243-4e89-40e9-8462-9f1c755c1baf:localhost] 2022-12-28 22:02:31 | [Mutex] received everything. 2022-12-28 22:02:31 | [Mutex] isItemNotified: received:node:09f17243-4e89-40e9-8462-9f1c755c1baf:localhost:node-067a368f-f9d6-413d-95fc-ce1839f7698d:Node 067a368f-f9d6-413d-95fc-ce1839f7698d :: false |
deleteSubnodes | 1.150s |
2022-12-28 22:02:29 |
2022-12-28 22:02:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:29 | ------------------------------------ 2022-12-28 22:02:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f8ad3829-364b-4937-9cb1-63ced57ab3d5</node></data> 2022-12-28 22:02:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 22:02:30 | [Mutex] waiting for: [received:nodes:30ae1723-ce4c-4339-a27c-9278689acf0f:localhost] 2022-12-28 22:02:30 | [Mutex] waiting for: [received:nodes:30ae1723-ce4c-4339-a27c-9278689acf0f:localhost] 2022-12-28 22:02:30 | [Mutex] waiting for: [received:nodes:30ae1723-ce4c-4339-a27c-9278689acf0f:localhost] 2022-12-28 22:02:30 | [Mutex] received everything. 2022-12-28 22:02:30 | [Mutex] isItemNotified: received:node:30ae1723-ce4c-4339-a27c-9278689acf0f:localhost:node-f8ad3829-364b-4937-9cb1-63ced57ab3d5:Node f8ad3829-364b-4937-9cb1-63ced57ab3d5 :: false 2022-12-28 22:02:30 | [Mutex] waiting for: [received:nodes:cc55e316-bace-42af-91c8-ff7cb444f6f3:localhost] 2022-12-28 22:02:30 | [Mutex] received everything. 2022-12-28 22:02:30 | [Mutex] isItemNotified: received:node:cc55e316-bace-42af-91c8-ff7cb444f6f3:localhost:node-f8ad3829-364b-4937-9cb1-63ced57ab3d5:Node f8ad3829-364b-4937-9cb1-63ced57ab3d5 :: false |
publishItemsToNodes | 0.295s |
2022-12-28 22:02:27 |
2022-12-28 22:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:27 | ------------------------------------ 2022-12-28 22:02:27 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f8ad3829-364b-4937-9cb1-63ced57ab3d5</node><item-id>item-3d40401b-935b-4dc8-861e-bc3c2107bb6b</item-id><entry><test>item-3d40401b-935b-4dc8-861e-bc3c2107bb6b</test></entry></data> 2022-12-28 22:02:27 | 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-3d40401b-935b-4dc8-861e-bc3c2107bb6b</value></item-id></result> 2022-12-28 22:02:27 | [Mutex] waiting for: [published:item:notifieditem-3d40401b-935b-4dc8-861e-bc3c2107bb6b:admin@test-domain.com] 2022-12-28 22:02:27 | [Mutex] received everything. 2022-12-28 22:02:27 | [Mutex] isItemNotified: published:item:notifieditem-3d40401b-935b-4dc8-861e-bc3c2107bb6b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.228s |
2022-12-28 22:02:27 |
2022-12-28 22:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:27 | ------------------------------------ 2022-12-28 22:02:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f8ad3829-364b-4937-9cb1-63ced57ab3d5</node><item-id>item-3d40401b-935b-4dc8-861e-bc3c2107bb6b</item-id></data> 2022-12-28 22:02:28 | 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-3d40401b-935b-4dc8-861e-bc3c2107bb6b</value></item-id></result> 2022-12-28 22:02:28 | [Mutex] received everything. 2022-12-28 22:02:28 | [Mutex] isItemNotified: retracted:item:notifieditem-3d40401b-935b-4dc8-861e-bc3c2107bb6b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.215s |
2022-12-28 22:02:27 |
2022-12-28 22:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:27 | ------------------------------------ 2022-12-28 22:02:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f8ad3829-364b-4937-9cb1-63ced57ab3d5</node><item-id>item-3d40401b-935b-4dc8-861e-bc3c2107bb6b</item-id></data> 2022-12-28 22:02:27 | 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-f8ad3829-364b-4937-9cb1-63ced57ab3d5</value></node><item-id type="text-single" label="Item ID"><value>item-3d40401b-935b-4dc8-861e-bc3c2107bb6b</value></item-id><item type="text-multi" label="Item"><value><item id="item-3d40401b-935b-4dc8-861e-bc3c2107bb6b"><test>item-3d40401b-935b-4dc8-861e-bc3c2107bb6b</test></item></value></item></result> 2022-12-28 22:02:27 | [Mutex] notify: [retrieved:item:item-3d40401b-935b-4dc8-861e-bc3c2107bb6b:payload-matches:true:localhost] 2022-12-28 22:02:27 | [Mutex] received everything. 2022-12-28 22:02:27 | [Mutex] isItemNotified: retrieved:item:item-3d40401b-935b-4dc8-861e-bc3c2107bb6b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-12-28 22:02:27 |
2022-12-28 22:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:27 | ------------------------------------ 2022-12-28 22:02:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-28 22:02:27 | 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-f8ad3829-364b-4937-9cb1-63ced57ab3d5</value><value>node-067a368f-f9d6-413d-95fc-ce1839f7698d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2022-12-28 22:02:27 |
2022-12-28 22:02:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:27 | ------------------------------------ 2022-12-28 22:02:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f8ad3829-364b-4937-9cb1-63ced57ab3d5)</node-pattern></data> 2022-12-28 22:02:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.109s |
2022-12-28 22:02:26 |
2022-12-28 22:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:26 | ------------------------------------ 2022-12-28 22:02:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f8ad3829-364b-4937-9cb1-63ced57ab3d5</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-28 22:02:26 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2022-12-28 22:02:28 |
2022-12-28 22:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:28 | ------------------------------------ 2022-12-28 22:02:28 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f8ad3829-364b-4937-9cb1-63ced57ab3d5</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-28 22:02:28 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |