Test duration : 9.357s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.087s |
2023-08-27 22:31:49 |
2023-08-27 22:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:49 | ------------------------------------ 2023-08-27 22:31:49 | [Mutex] waiting for: [configured:node:node-48f60baf-8a67-4f16-9e2e-db76a338b088:node-b541617f-2236-48c3-9438-3759dfbde185] 2023-08-27 22:31:49 | [Mutex] received everything. 2023-08-27 22:31:49 | [Mutex] isItemNotified: configured:node:node-48f60baf-8a67-4f16-9e2e-db76a338b088:node-b541617f-2236-48c3-9438-3759dfbde185 :: true 2023-08-27 22:31:50 | [Mutex] waiting for: [received:nodes:a745f3da-2054-4822-a042-5366783d35e2:localhost] 2023-08-27 22:31:50 | [Mutex] received everything. 2023-08-27 22:31:50 | [Mutex] isItemNotified: received:node:a745f3da-2054-4822-a042-5366783d35e2:localhost:node-48f60baf-8a67-4f16-9e2e-db76a338b088:Node 48f60baf-8a67-4f16-9e2e-db76a338b088 :: true 2023-08-27 22:31:50 | [Mutex] waiting for: [received:nodes:ba0b44fa-7478-4614-8cea-b43d959c66cf:localhost] 2023-08-27 22:31:50 | [Mutex] waiting for: [received:nodes:ba0b44fa-7478-4614-8cea-b43d959c66cf:localhost] 2023-08-27 22:31:50 | [Mutex] waiting for: [received:nodes:ba0b44fa-7478-4614-8cea-b43d959c66cf:localhost] 2023-08-27 22:31:50 | [Mutex] waiting for: [received:nodes:ba0b44fa-7478-4614-8cea-b43d959c66cf:localhost] 2023-08-27 22:31:50 | [Mutex] received everything. 2023-08-27 22:31:50 | [Mutex] isItemNotified: received:node:ba0b44fa-7478-4614-8cea-b43d959c66cf:localhost:node-48f60baf-8a67-4f16-9e2e-db76a338b088:Node 48f60baf-8a67-4f16-9e2e-db76a338b088 :: false |
createNodes | 1.465s |
2023-08-27 22:31:47 |
2023-08-27 22:31:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:47 | ------------------------------------ 2023-08-27 22:31:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-48f60baf-8a67-4f16-9e2e-db76a338b088</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 48f60baf-8a67-4f16-9e2e-db76a338b088</title></pubsub></data> 2023-08-27 22:31:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-27 22:31:48 | [Mutex] waiting for: [received:nodes:917d2412-5fbc-44ea-9b44-da7c9fc25f65:localhost] 2023-08-27 22:31:48 | [Mutex] waiting for: [received:nodes:917d2412-5fbc-44ea-9b44-da7c9fc25f65:localhost] 2023-08-27 22:31:48 | [Mutex] waiting for: [received:nodes:917d2412-5fbc-44ea-9b44-da7c9fc25f65:localhost] 2023-08-27 22:31:48 | [Mutex] waiting for: [received:nodes:917d2412-5fbc-44ea-9b44-da7c9fc25f65:localhost] 2023-08-27 22:31:48 | [Mutex] received everything. 2023-08-27 22:31:48 | [Mutex] isItemNotified: received:node:917d2412-5fbc-44ea-9b44-da7c9fc25f65:localhost:node-48f60baf-8a67-4f16-9e2e-db76a338b088:Node 48f60baf-8a67-4f16-9e2e-db76a338b088 :: true |
createSubnodes | 1.028s |
2023-08-27 22:31:48 |
2023-08-27 22:31:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:48 | ------------------------------------ 2023-08-27 22:31:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b541617f-2236-48c3-9438-3759dfbde185</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b541617f-2236-48c3-9438-3759dfbde185</title></pubsub></data> 2023-08-27 22:31:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-27 22:31:49 | [Mutex] waiting for: [received:nodes:ef258802-2256-49a9-ba1d-47501bb2873d:localhost] 2023-08-27 22:31:49 | [Mutex] waiting for: [received:nodes:ef258802-2256-49a9-ba1d-47501bb2873d:localhost] 2023-08-27 22:31:49 | [Mutex] waiting for: [received:nodes:ef258802-2256-49a9-ba1d-47501bb2873d:localhost] 2023-08-27 22:31:49 | [Mutex] waiting for: [received:nodes:ef258802-2256-49a9-ba1d-47501bb2873d:localhost] 2023-08-27 22:31:49 | [Mutex] waiting for: [received:nodes:ef258802-2256-49a9-ba1d-47501bb2873d:localhost] 2023-08-27 22:31:49 | [Mutex] received everything. 2023-08-27 22:31:49 | [Mutex] isItemNotified: received:node:ef258802-2256-49a9-ba1d-47501bb2873d:localhost:node-b541617f-2236-48c3-9438-3759dfbde185:Node b541617f-2236-48c3-9438-3759dfbde185 :: true |
deleteNodes | 1.020s |
2023-08-27 22:31:55 |
2023-08-27 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:55 | ------------------------------------ 2023-08-27 22:31:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b541617f-2236-48c3-9438-3759dfbde185</node></data> 2023-08-27 22:31:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-27 22:31:56 | [Mutex] waiting for: [received:nodes:c3a9ca66-4a08-466c-9470-ea1818ec89e7:localhost] 2023-08-27 22:31:56 | [Mutex] waiting for: [received:nodes:c3a9ca66-4a08-466c-9470-ea1818ec89e7:localhost] 2023-08-27 22:31:56 | [Mutex] waiting for: [received:nodes:c3a9ca66-4a08-466c-9470-ea1818ec89e7:localhost] 2023-08-27 22:31:56 | [Mutex] received everything. 2023-08-27 22:31:56 | [Mutex] isItemNotified: received:node:c3a9ca66-4a08-466c-9470-ea1818ec89e7:localhost:node-b541617f-2236-48c3-9438-3759dfbde185:Node b541617f-2236-48c3-9438-3759dfbde185 :: false |
deleteSubnodes | 1.101s |
2023-08-27 22:31:53 |
2023-08-27 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:53 | ------------------------------------ 2023-08-27 22:31:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-48f60baf-8a67-4f16-9e2e-db76a338b088</node></data> 2023-08-27 22:31:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-08-27 22:31:55 | [Mutex] waiting for: [received:nodes:9723e9d4-413d-4748-84b4-78a2d330959f:localhost] 2023-08-27 22:31:55 | [Mutex] waiting for: [received:nodes:9723e9d4-413d-4748-84b4-78a2d330959f:localhost] 2023-08-27 22:31:55 | [Mutex] waiting for: [received:nodes:9723e9d4-413d-4748-84b4-78a2d330959f:localhost] 2023-08-27 22:31:55 | [Mutex] waiting for: [received:nodes:9723e9d4-413d-4748-84b4-78a2d330959f:localhost] 2023-08-27 22:31:55 | [Mutex] received everything. 2023-08-27 22:31:55 | [Mutex] isItemNotified: received:node:9723e9d4-413d-4748-84b4-78a2d330959f:localhost:node-48f60baf-8a67-4f16-9e2e-db76a338b088:Node 48f60baf-8a67-4f16-9e2e-db76a338b088 :: false 2023-08-27 22:31:55 | [Mutex] waiting for: [received:nodes:ac448e2a-ea04-46cd-b1b0-ed838bcb0d56:localhost] 2023-08-27 22:31:55 | [Mutex] received everything. 2023-08-27 22:31:55 | [Mutex] isItemNotified: received:node:ac448e2a-ea04-46cd-b1b0-ed838bcb0d56:localhost:node-48f60baf-8a67-4f16-9e2e-db76a338b088:Node 48f60baf-8a67-4f16-9e2e-db76a338b088 :: false |
publishItemsToNodes | 0.237s |
2023-08-27 22:31:51 |
2023-08-27 22:31:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:51 | ------------------------------------ 2023-08-27 22:31:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-48f60baf-8a67-4f16-9e2e-db76a338b088</node><item-id>item-e52612d2-6973-4c36-922e-f1b7f561a91f</item-id><entry><test>item-e52612d2-6973-4c36-922e-f1b7f561a91f</test></entry></data> 2023-08-27 22:31:52 | 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-e52612d2-6973-4c36-922e-f1b7f561a91f</value></item-id></result> 2023-08-27 22:31:52 | [Mutex] received everything. 2023-08-27 22:31:52 | [Mutex] isItemNotified: published:item:notifieditem-e52612d2-6973-4c36-922e-f1b7f561a91f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.237s |
2023-08-27 22:31:52 |
2023-08-27 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:52 | ------------------------------------ 2023-08-27 22:31:52 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-48f60baf-8a67-4f16-9e2e-db76a338b088</node><item-id>item-e52612d2-6973-4c36-922e-f1b7f561a91f</item-id></data> 2023-08-27 22:31:52 | 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-e52612d2-6973-4c36-922e-f1b7f561a91f</value></item-id></result> 2023-08-27 22:31:52 | [Mutex] received everything. 2023-08-27 22:31:52 | [Mutex] isItemNotified: retracted:item:notifieditem-e52612d2-6973-4c36-922e-f1b7f561a91f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.176s |
2023-08-27 22:31:52 |
2023-08-27 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:52 | ------------------------------------ 2023-08-27 22:31:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-48f60baf-8a67-4f16-9e2e-db76a338b088</node><item-id>item-e52612d2-6973-4c36-922e-f1b7f561a91f</item-id></data> 2023-08-27 22:31:52 | 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-48f60baf-8a67-4f16-9e2e-db76a338b088</value></node><item-id type="text-single" label="Item ID"><value>item-e52612d2-6973-4c36-922e-f1b7f561a91f</value></item-id><item type="text-multi" label="Item"><value><item id="item-e52612d2-6973-4c36-922e-f1b7f561a91f"><test>item-e52612d2-6973-4c36-922e-f1b7f561a91f</test></item></value></item></result> 2023-08-27 22:31:52 | [Mutex] notify: [retrieved:item:item-e52612d2-6973-4c36-922e-f1b7f561a91f:payload-matches:true:localhost] 2023-08-27 22:31:52 | [Mutex] received everything. 2023-08-27 22:31:52 | [Mutex] isItemNotified: retrieved:item:item-e52612d2-6973-4c36-922e-f1b7f561a91f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-08-27 22:31:52 |
2023-08-27 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:52 | ------------------------------------ 2023-08-27 22:31:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-08-27 22:31:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-b541617f-2236-48c3-9438-3759dfbde185</value><value>test</value><value>node-48f60baf-8a67-4f16-9e2e-db76a338b088</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-08-27 22:31:52 |
2023-08-27 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:52 | ------------------------------------ 2023-08-27 22:31:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-48f60baf-8a67-4f16-9e2e-db76a338b088)</node-pattern></data> 2023-08-27 22:31:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.104s |
2023-08-27 22:31:50 |
2023-08-27 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:50 | ------------------------------------ 2023-08-27 22:31:50 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-48f60baf-8a67-4f16-9e2e-db76a338b088</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-27 22:31:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.206s |
2023-08-27 22:31:52 |
2023-08-27 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-08-27 22:31:52 | ------------------------------------ 2023-08-27 22:31:52 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-48f60baf-8a67-4f16-9e2e-db76a338b088</node><jids><value>admin@test-domain.com</value></jids></data> 2023-08-27 22:31:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |