Test duration : 9.347s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2023-05-04 23:01:14 |
2023-05-04 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:14 | ------------------------------------ 2023-05-04 23:01:14 | [Mutex] waiting for: [configured:node:node-332cb488-8142-452f-ad69-d794f49c9438:node-cc9c4a7b-8b58-496b-b824-2d030271faf4] 2023-05-04 23:01:14 | [Mutex] received everything. 2023-05-04 23:01:14 | [Mutex] isItemNotified: configured:node:node-332cb488-8142-452f-ad69-d794f49c9438:node-cc9c4a7b-8b58-496b-b824-2d030271faf4 :: true 2023-05-04 23:01:15 | [Mutex] waiting for: [received:nodes:295b0bce-3986-4d73-9b40-fa4410accbc8:localhost] 2023-05-04 23:01:15 | [Mutex] received everything. 2023-05-04 23:01:15 | [Mutex] isItemNotified: received:node:295b0bce-3986-4d73-9b40-fa4410accbc8:localhost:node-332cb488-8142-452f-ad69-d794f49c9438:Node 332cb488-8142-452f-ad69-d794f49c9438 :: true 2023-05-04 23:01:15 | [Mutex] waiting for: [received:nodes:125afb28-9f49-4b01-8e0f-5712a9bf3d1d:localhost] 2023-05-04 23:01:15 | [Mutex] waiting for: [received:nodes:125afb28-9f49-4b01-8e0f-5712a9bf3d1d:localhost] 2023-05-04 23:01:15 | [Mutex] waiting for: [received:nodes:125afb28-9f49-4b01-8e0f-5712a9bf3d1d:localhost] 2023-05-04 23:01:15 | [Mutex] received everything. 2023-05-04 23:01:15 | [Mutex] isItemNotified: received:node:125afb28-9f49-4b01-8e0f-5712a9bf3d1d:localhost:node-332cb488-8142-452f-ad69-d794f49c9438:Node 332cb488-8142-452f-ad69-d794f49c9438 :: false |
createNodes | 1.432s |
2023-05-04 23:01:12 |
2023-05-04 23:01:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:12 | ------------------------------------ 2023-05-04 23:01:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-332cb488-8142-452f-ad69-d794f49c9438</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 332cb488-8142-452f-ad69-d794f49c9438</title></pubsub></data> 2023-05-04 23:01:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-04 23:01:13 | [Mutex] waiting for: [received:nodes:94ff3ae6-150d-448a-bc44-f571c7d36566:localhost] 2023-05-04 23:01:13 | [Mutex] waiting for: [received:nodes:94ff3ae6-150d-448a-bc44-f571c7d36566:localhost] 2023-05-04 23:01:13 | [Mutex] waiting for: [received:nodes:94ff3ae6-150d-448a-bc44-f571c7d36566:localhost] 2023-05-04 23:01:13 | [Mutex] received everything. 2023-05-04 23:01:13 | [Mutex] isItemNotified: received:node:94ff3ae6-150d-448a-bc44-f571c7d36566:localhost:node-332cb488-8142-452f-ad69-d794f49c9438:Node 332cb488-8142-452f-ad69-d794f49c9438 :: true |
createSubnodes | 1.020s |
2023-05-04 23:01:13 |
2023-05-04 23:01:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:13 | ------------------------------------ 2023-05-04 23:01:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cc9c4a7b-8b58-496b-b824-2d030271faf4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cc9c4a7b-8b58-496b-b824-2d030271faf4</title></pubsub></data> 2023-05-04 23:01:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-04 23:01:14 | [Mutex] waiting for: [received:nodes:6e7bf15d-d9dd-4fe4-bd7c-25bb08cf013a:localhost] 2023-05-04 23:01:14 | [Mutex] waiting for: [received:nodes:6e7bf15d-d9dd-4fe4-bd7c-25bb08cf013a:localhost] 2023-05-04 23:01:14 | [Mutex] waiting for: [received:nodes:6e7bf15d-d9dd-4fe4-bd7c-25bb08cf013a:localhost] 2023-05-04 23:01:14 | [Mutex] received everything. 2023-05-04 23:01:14 | [Mutex] isItemNotified: received:node:6e7bf15d-d9dd-4fe4-bd7c-25bb08cf013a:localhost:node-cc9c4a7b-8b58-496b-b824-2d030271faf4:Node cc9c4a7b-8b58-496b-b824-2d030271faf4 :: true |
deleteNodes | 1.018s |
2023-05-04 23:01:20 |
2023-05-04 23:01:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:20 | ------------------------------------ 2023-05-04 23:01:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cc9c4a7b-8b58-496b-b824-2d030271faf4</node></data> 2023-05-04 23:01:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-04 23:01:21 | [Mutex] waiting for: [received:nodes:74e03100-0f82-45c5-8a99-757a6891333f:localhost] 2023-05-04 23:01:21 | [Mutex] waiting for: [received:nodes:74e03100-0f82-45c5-8a99-757a6891333f:localhost] 2023-05-04 23:01:21 | [Mutex] waiting for: [received:nodes:74e03100-0f82-45c5-8a99-757a6891333f:localhost] 2023-05-04 23:01:21 | [Mutex] received everything. 2023-05-04 23:01:21 | [Mutex] isItemNotified: received:node:74e03100-0f82-45c5-8a99-757a6891333f:localhost:node-cc9c4a7b-8b58-496b-b824-2d030271faf4:Node cc9c4a7b-8b58-496b-b824-2d030271faf4 :: false |
deleteSubnodes | 1.100s |
2023-05-04 23:01:19 |
2023-05-04 23:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:19 | ------------------------------------ 2023-05-04 23:01:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-332cb488-8142-452f-ad69-d794f49c9438</node></data> 2023-05-04 23:01:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-05-04 23:01:20 | [Mutex] waiting for: [received:nodes:dc2beda4-30ef-4a99-853a-191f9e6a5f02:localhost] 2023-05-04 23:01:20 | [Mutex] waiting for: [received:nodes:dc2beda4-30ef-4a99-853a-191f9e6a5f02:localhost] 2023-05-04 23:01:20 | [Mutex] waiting for: [received:nodes:dc2beda4-30ef-4a99-853a-191f9e6a5f02:localhost] 2023-05-04 23:01:20 | [Mutex] received everything. 2023-05-04 23:01:20 | [Mutex] isItemNotified: received:node:dc2beda4-30ef-4a99-853a-191f9e6a5f02:localhost:node-332cb488-8142-452f-ad69-d794f49c9438:Node 332cb488-8142-452f-ad69-d794f49c9438 :: false 2023-05-04 23:01:20 | [Mutex] waiting for: [received:nodes:11d247f6-9624-44a7-811f-608a6df5ed4d:localhost] 2023-05-04 23:01:20 | [Mutex] received everything. 2023-05-04 23:01:20 | [Mutex] isItemNotified: received:node:11d247f6-9624-44a7-811f-608a6df5ed4d:localhost:node-332cb488-8142-452f-ad69-d794f49c9438:Node 332cb488-8142-452f-ad69-d794f49c9438 :: false |
publishItemsToNodes | 0.238s |
2023-05-04 23:01:17 |
2023-05-04 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:17 | ------------------------------------ 2023-05-04 23:01:17 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-332cb488-8142-452f-ad69-d794f49c9438</node><item-id>item-89de8c96-f772-465e-a01d-0b05cf92558b</item-id><entry><test>item-89de8c96-f772-465e-a01d-0b05cf92558b</test></entry></data> 2023-05-04 23:01:17 | 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-89de8c96-f772-465e-a01d-0b05cf92558b</value></item-id></result> 2023-05-04 23:01:17 | [Mutex] received everything. 2023-05-04 23:01:17 | [Mutex] isItemNotified: published:item:notifieditem-89de8c96-f772-465e-a01d-0b05cf92558b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2023-05-04 23:01:17 |
2023-05-04 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:17 | ------------------------------------ 2023-05-04 23:01:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-332cb488-8142-452f-ad69-d794f49c9438</node><item-id>item-89de8c96-f772-465e-a01d-0b05cf92558b</item-id></data> 2023-05-04 23:01:17 | 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-89de8c96-f772-465e-a01d-0b05cf92558b</value></item-id></result> 2023-05-04 23:01:17 | [Mutex] received everything. 2023-05-04 23:01:17 | [Mutex] isItemNotified: retracted:item:notifieditem-89de8c96-f772-465e-a01d-0b05cf92558b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.177s |
2023-05-04 23:01:17 |
2023-05-04 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:17 | ------------------------------------ 2023-05-04 23:01:17 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-332cb488-8142-452f-ad69-d794f49c9438</node><item-id>item-89de8c96-f772-465e-a01d-0b05cf92558b</item-id></data> 2023-05-04 23:01:17 | 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-332cb488-8142-452f-ad69-d794f49c9438</value></node><item-id label="Item ID" type="text-single"><value>item-89de8c96-f772-465e-a01d-0b05cf92558b</value></item-id><item label="Item" type="text-multi"><value><item id="item-89de8c96-f772-465e-a01d-0b05cf92558b"><test>item-89de8c96-f772-465e-a01d-0b05cf92558b</test></item></value></item></result> 2023-05-04 23:01:17 | [Mutex] notify: [retrieved:item:item-89de8c96-f772-465e-a01d-0b05cf92558b:payload-matches:true:localhost] 2023-05-04 23:01:17 | [Mutex] received everything. 2023-05-04 23:01:17 | [Mutex] isItemNotified: retrieved:item:item-89de8c96-f772-465e-a01d-0b05cf92558b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-05-04 23:01:17 |
2023-05-04 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:17 | ------------------------------------ 2023-05-04 23:01:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-05-04 23:01:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-cc9c4a7b-8b58-496b-b824-2d030271faf4</value><value>node-332cb488-8142-452f-ad69-d794f49c9438</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.065s |
2023-05-04 23:01:17 |
2023-05-04 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:17 | ------------------------------------ 2023-05-04 23:01:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-332cb488-8142-452f-ad69-d794f49c9438)</node-pattern></data> 2023-05-04 23:01:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.107s |
2023-05-04 23:01:15 |
2023-05-04 23:01:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:15 | ------------------------------------ 2023-05-04 23:01:15 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-332cb488-8142-452f-ad69-d794f49c9438</node><jids><value>admin@test-domain.com</value></jids></data> 2023-05-04 23:01:16 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.195s |
2023-05-04 23:01:17 |
2023-05-04 23:01:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-05-04 23:01:17 | ------------------------------------ 2023-05-04 23:01:17 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-332cb488-8142-452f-ad69-d794f49c9438</node><jids><value>admin@test-domain.com</value></jids></data> 2023-05-04 23:01:18 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |