Test duration : 10.577s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.126s |
2022-02-01 22:16:33 |
2022-02-01 22:16:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:33 | ------------------------------------ 2022-02-01 22:16:33 | [Mutex] waiting for: [configured:node:node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21:node-548ce2d2-d5e4-4d08-bc3c-47eb0a000158] 2022-02-01 22:16:33 | [Mutex] received everything. 2022-02-01 22:16:33 | [Mutex] isItemNotified: configured:node:node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21:node-548ce2d2-d5e4-4d08-bc3c-47eb0a000158 :: true 2022-02-01 22:16:34 | [Mutex] waiting for: [received:nodes:4d848287-447e-4909-9899-5034ddfd923d:localhost] 2022-02-01 22:16:34 | [Mutex] received everything. 2022-02-01 22:16:34 | [Mutex] isItemNotified: received:node:4d848287-447e-4909-9899-5034ddfd923d:localhost:node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21:Node 719b32a1-a34b-43bf-8a2c-80a1a7b16c21 :: true 2022-02-01 22:16:34 | [Mutex] waiting for: [received:nodes:65acfb2f-bea8-46e1-9b5e-5f7a41c4dde8:localhost] 2022-02-01 22:16:34 | [Mutex] waiting for: [received:nodes:65acfb2f-bea8-46e1-9b5e-5f7a41c4dde8:localhost] 2022-02-01 22:16:34 | [Mutex] received everything. 2022-02-01 22:16:34 | [Mutex] isItemNotified: received:node:65acfb2f-bea8-46e1-9b5e-5f7a41c4dde8:localhost:node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21:Node 719b32a1-a34b-43bf-8a2c-80a1a7b16c21 :: false |
createNodes | 1.502s |
2022-02-01 22:16:30 |
2022-02-01 22:16:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:30 | ------------------------------------ 2022-02-01 22:16:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 719b32a1-a34b-43bf-8a2c-80a1a7b16c21</title></pubsub></data> 2022-02-01 22:16:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-01 22:16:32 | [Mutex] waiting for: [received:nodes:7faecb0e-5258-4b37-8141-1477b3577aa0:localhost] 2022-02-01 22:16:32 | [Mutex] received everything. 2022-02-01 22:16:32 | [Mutex] isItemNotified: received:node:7faecb0e-5258-4b37-8141-1477b3577aa0:localhost:node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21:Node 719b32a1-a34b-43bf-8a2c-80a1a7b16c21 :: true |
createSubnodes | 1.035s |
2022-02-01 22:16:32 |
2022-02-01 22:16:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:32 | ------------------------------------ 2022-02-01 22:16:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-548ce2d2-d5e4-4d08-bc3c-47eb0a000158</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 548ce2d2-d5e4-4d08-bc3c-47eb0a000158</title></pubsub></data> 2022-02-01 22:16:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-01 22:16:33 | [Mutex] waiting for: [received:nodes:28983859-04db-4d5e-b549-f1c44739cfa1:localhost] 2022-02-01 22:16:33 | [Mutex] received everything. 2022-02-01 22:16:33 | [Mutex] isItemNotified: received:node:28983859-04db-4d5e-b549-f1c44739cfa1:localhost:node-548ce2d2-d5e4-4d08-bc3c-47eb0a000158:Node 548ce2d2-d5e4-4d08-bc3c-47eb0a000158 :: true |
deleteNodes | 1.022s |
2022-02-01 22:16:39 |
2022-02-01 22:16:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:39 | ------------------------------------ 2022-02-01 22:16:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-548ce2d2-d5e4-4d08-bc3c-47eb0a000158</node></data> 2022-02-01 22:16:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-01 22:16:40 | [Mutex] waiting for: [received:nodes:58d81ef6-607c-4dbc-be0e-1d84063811bd:localhost] 2022-02-01 22:16:40 | [Mutex] waiting for: [received:nodes:58d81ef6-607c-4dbc-be0e-1d84063811bd:localhost] 2022-02-01 22:16:40 | [Mutex] received everything. 2022-02-01 22:16:40 | [Mutex] isItemNotified: received:node:58d81ef6-607c-4dbc-be0e-1d84063811bd:localhost:node-548ce2d2-d5e4-4d08-bc3c-47eb0a000158:Node 548ce2d2-d5e4-4d08-bc3c-47eb0a000158 :: false |
deleteSubnodes | 1.150s |
2022-02-01 22:16:37 |
2022-02-01 22:16:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:37 | ------------------------------------ 2022-02-01 22:16:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21</node></data> 2022-02-01 22:16:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-01 22:16:39 | [Mutex] waiting for: [received:nodes:f5860ff9-42a9-425f-9a5d-d532c21e2d23:localhost] 2022-02-01 22:16:39 | [Mutex] waiting for: [received:nodes:f5860ff9-42a9-425f-9a5d-d532c21e2d23:localhost] 2022-02-01 22:16:39 | [Mutex] received everything. 2022-02-01 22:16:39 | [Mutex] isItemNotified: received:node:f5860ff9-42a9-425f-9a5d-d532c21e2d23:localhost:node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21:Node 719b32a1-a34b-43bf-8a2c-80a1a7b16c21 :: false 2022-02-01 22:16:39 | [Mutex] waiting for: [received:nodes:6c62f7ac-186f-4032-8aa2-dc7b2c8a4cc3:localhost] 2022-02-01 22:16:39 | [Mutex] received everything. 2022-02-01 22:16:39 | [Mutex] isItemNotified: received:node:6c62f7ac-186f-4032-8aa2-dc7b2c8a4cc3:localhost:node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21:Node 719b32a1-a34b-43bf-8a2c-80a1a7b16c21 :: false |
publishItemsToNodes | 0.243s |
2022-02-01 22:16:35 |
2022-02-01 22:16:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:35 | ------------------------------------ 2022-02-01 22:16:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21</node><item-id>item-95ec6086-812e-4e50-89a3-6c453364dba1</item-id><entry><test>item-95ec6086-812e-4e50-89a3-6c453364dba1</test></entry></data> 2022-02-01 22:16:35 | 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-95ec6086-812e-4e50-89a3-6c453364dba1</value></item-id></result> 2022-02-01 22:16:35 | [Mutex] waiting for: [published:item:notifieditem-95ec6086-812e-4e50-89a3-6c453364dba1:admin@test-domain.com] 2022-02-01 22:16:35 | [Mutex] received everything. 2022-02-01 22:16:35 | [Mutex] isItemNotified: published:item:notifieditem-95ec6086-812e-4e50-89a3-6c453364dba1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.375s |
2022-02-01 22:16:36 |
2022-02-01 22:16:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:36 | ------------------------------------ 2022-02-01 22:16:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21</node><item-id>item-95ec6086-812e-4e50-89a3-6c453364dba1</item-id></data> 2022-02-01 22:16:36 | 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-95ec6086-812e-4e50-89a3-6c453364dba1</value></item-id></result> 2022-02-01 22:16:36 | [Mutex] received everything. 2022-02-01 22:16:36 | [Mutex] isItemNotified: retracted:item:notifieditem-95ec6086-812e-4e50-89a3-6c453364dba1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.338s |
2022-02-01 22:16:35 |
2022-02-01 22:16:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:35 | ------------------------------------ 2022-02-01 22:16:35 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21</node><item-id>item-95ec6086-812e-4e50-89a3-6c453364dba1</item-id></data> 2022-02-01 22:16:36 | 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-719b32a1-a34b-43bf-8a2c-80a1a7b16c21</value></node><item-id label="Item ID" type="text-single"><value>item-95ec6086-812e-4e50-89a3-6c453364dba1</value></item-id><item label="Item" type="text-multi"><value><item id="item-95ec6086-812e-4e50-89a3-6c453364dba1"><test>item-95ec6086-812e-4e50-89a3-6c453364dba1</test></item></value></item></result> 2022-02-01 22:16:36 | [Mutex] notify: [retrieved:item:item-95ec6086-812e-4e50-89a3-6c453364dba1:payload-matches:true:localhost] 2022-02-01 22:16:36 | [Mutex] received everything. 2022-02-01 22:16:36 | [Mutex] isItemNotified: retrieved:item:item-95ec6086-812e-4e50-89a3-6c453364dba1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-01 22:16:36 |
2022-02-01 22:16:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:36 | ------------------------------------ 2022-02-01 22:16:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-01 22:16:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-548ce2d2-d5e4-4d08-bc3c-47eb0a000158</value><value>node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-02-01 22:16:36 |
2022-02-01 22:16:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:36 | ------------------------------------ 2022-02-01 22:16:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21)</node-pattern></data> 2022-02-01 22:16:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.254s |
2022-02-01 22:16:34 |
2022-02-01 22:16:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:34 | ------------------------------------ 2022-02-01 22:16:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-01 22:16:34 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.411s |
2022-02-01 22:16:36 |
2022-02-01 22:16:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-01 22:16:36 | ------------------------------------ 2022-02-01 22:16:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-719b32a1-a34b-43bf-8a2c-80a1a7b16c21</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-01 22:16:36 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |