Test duration : 9.215s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.123s |
2022-12-22 22:02:41 |
2022-12-22 22:02:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:41 | ------------------------------------ 2022-12-22 22:02:41 | [Mutex] waiting for: [configured:node:node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e:node-7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1] 2022-12-22 22:02:41 | [Mutex] received everything. 2022-12-22 22:02:41 | [Mutex] isItemNotified: configured:node:node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e:node-7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1 :: true 2022-12-22 22:02:42 | [Mutex] waiting for: [received:nodes:451cd28f-935b-423d-ae02-396c195da263:localhost] 2022-12-22 22:02:42 | [Mutex] received everything. 2022-12-22 22:02:42 | [Mutex] isItemNotified: received:node:451cd28f-935b-423d-ae02-396c195da263:localhost:node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e:Node 8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e :: true 2022-12-22 22:02:42 | [Mutex] waiting for: [received:nodes:d0af9c32-d357-4f12-9136-7689ae24f0f3:localhost] 2022-12-22 22:02:42 | [Mutex] waiting for: [received:nodes:d0af9c32-d357-4f12-9136-7689ae24f0f3:localhost] 2022-12-22 22:02:42 | [Mutex] waiting for: [received:nodes:d0af9c32-d357-4f12-9136-7689ae24f0f3:localhost] 2022-12-22 22:02:42 | [Mutex] waiting for: [received:nodes:d0af9c32-d357-4f12-9136-7689ae24f0f3:localhost] 2022-12-22 22:02:42 | [Mutex] received everything. 2022-12-22 22:02:42 | [Mutex] isItemNotified: received:node:d0af9c32-d357-4f12-9136-7689ae24f0f3:localhost:node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e:Node 8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e :: false |
createNodes | 1.395s |
2022-12-22 22:02:38 |
2022-12-22 22:02:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:38 | ------------------------------------ 2022-12-22 22:02:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</title></pubsub></data> 2022-12-22 22:02:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-22 22:02:40 | [Mutex] waiting for: [received:nodes:f8ca66f3-8c9c-4db8-9ef6-c5fc2831e272:localhost] 2022-12-22 22:02:40 | [Mutex] waiting for: [received:nodes:f8ca66f3-8c9c-4db8-9ef6-c5fc2831e272:localhost] 2022-12-22 22:02:40 | [Mutex] waiting for: [received:nodes:f8ca66f3-8c9c-4db8-9ef6-c5fc2831e272:localhost] 2022-12-22 22:02:40 | [Mutex] waiting for: [received:nodes:f8ca66f3-8c9c-4db8-9ef6-c5fc2831e272:localhost] 2022-12-22 22:02:40 | [Mutex] received everything. 2022-12-22 22:02:40 | [Mutex] isItemNotified: received:node:f8ca66f3-8c9c-4db8-9ef6-c5fc2831e272:localhost:node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e:Node 8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e :: true |
createSubnodes | 1.020s |
2022-12-22 22:02:40 |
2022-12-22 22:02:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:40 | ------------------------------------ 2022-12-22 22:02:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1</title></pubsub></data> 2022-12-22 22:02:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-22 22:02:41 | [Mutex] waiting for: [received:nodes:35c9fca8-eb83-41fd-9e4a-86832dcac893:localhost] 2022-12-22 22:02:41 | [Mutex] waiting for: [received:nodes:35c9fca8-eb83-41fd-9e4a-86832dcac893:localhost] 2022-12-22 22:02:41 | [Mutex] waiting for: [received:nodes:35c9fca8-eb83-41fd-9e4a-86832dcac893:localhost] 2022-12-22 22:02:41 | [Mutex] waiting for: [received:nodes:35c9fca8-eb83-41fd-9e4a-86832dcac893:localhost] 2022-12-22 22:02:41 | [Mutex] received everything. 2022-12-22 22:02:41 | [Mutex] isItemNotified: received:node:35c9fca8-eb83-41fd-9e4a-86832dcac893:localhost:node-7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1:Node 7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1 :: true |
deleteNodes | 1.018s |
2022-12-22 22:02:46 |
2022-12-22 22:02:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:46 | ------------------------------------ 2022-12-22 22:02:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1</node></data> 2022-12-22 22:02:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-22 22:02:47 | [Mutex] waiting for: [received:nodes:a4d5c161-0bf6-421b-a572-37a64991d7cf:localhost] 2022-12-22 22:02:47 | [Mutex] waiting for: [received:nodes:a4d5c161-0bf6-421b-a572-37a64991d7cf:localhost] 2022-12-22 22:02:47 | [Mutex] waiting for: [received:nodes:a4d5c161-0bf6-421b-a572-37a64991d7cf:localhost] 2022-12-22 22:02:47 | [Mutex] received everything. 2022-12-22 22:02:47 | [Mutex] isItemNotified: received:node:a4d5c161-0bf6-421b-a572-37a64991d7cf:localhost:node-7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1:Node 7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1 :: false |
deleteSubnodes | 1.132s |
2022-12-22 22:02:45 |
2022-12-22 22:02:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:45 | ------------------------------------ 2022-12-22 22:02:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</node></data> 2022-12-22 22:02:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-22 22:02:46 | [Mutex] waiting for: [received:nodes:994bb4b8-ecdf-4942-bba2-11b6038bdc36:localhost] 2022-12-22 22:02:46 | [Mutex] waiting for: [received:nodes:994bb4b8-ecdf-4942-bba2-11b6038bdc36:localhost] 2022-12-22 22:02:46 | [Mutex] waiting for: [received:nodes:994bb4b8-ecdf-4942-bba2-11b6038bdc36:localhost] 2022-12-22 22:02:46 | [Mutex] waiting for: [received:nodes:994bb4b8-ecdf-4942-bba2-11b6038bdc36:localhost] 2022-12-22 22:02:46 | [Mutex] received everything. 2022-12-22 22:02:46 | [Mutex] isItemNotified: received:node:994bb4b8-ecdf-4942-bba2-11b6038bdc36:localhost:node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e:Node 8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e :: false 2022-12-22 22:02:46 | [Mutex] waiting for: [received:nodes:e7509fcf-9cb0-41c4-ab79-fa6c39a19c6b:localhost] 2022-12-22 22:02:46 | [Mutex] received everything. 2022-12-22 22:02:46 | [Mutex] isItemNotified: received:node:e7509fcf-9cb0-41c4-ab79-fa6c39a19c6b:localhost:node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e:Node 8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e :: false |
publishItemsToNodes | 0.221s |
2022-12-22 22:02:43 |
2022-12-22 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:43 | ------------------------------------ 2022-12-22 22:02:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</node><item-id>item-23a95f6b-4d73-49fc-bf5d-44d171474e68</item-id><entry><test>item-23a95f6b-4d73-49fc-bf5d-44d171474e68</test></entry></data> 2022-12-22 22:02:43 | 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-23a95f6b-4d73-49fc-bf5d-44d171474e68</value></item-id></result> 2022-12-22 22:02:43 | [Mutex] received everything. 2022-12-22 22:02:43 | [Mutex] isItemNotified: published:item:notifieditem-23a95f6b-4d73-49fc-bf5d-44d171474e68:admin@test-domain.com :: true |
retractItemsFromNodes | 0.209s |
2022-12-22 22:02:43 |
2022-12-22 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:43 | ------------------------------------ 2022-12-22 22:02:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</node><item-id>item-23a95f6b-4d73-49fc-bf5d-44d171474e68</item-id></data> 2022-12-22 22:02:44 | 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-23a95f6b-4d73-49fc-bf5d-44d171474e68</value></item-id></result> 2022-12-22 22:02:44 | [Mutex] waiting for: [retracted:item:notifieditem-23a95f6b-4d73-49fc-bf5d-44d171474e68:admin@test-domain.com] 2022-12-22 22:02:44 | [Mutex] received everything. 2022-12-22 22:02:44 | [Mutex] isItemNotified: retracted:item:notifieditem-23a95f6b-4d73-49fc-bf5d-44d171474e68:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.149s |
2022-12-22 22:02:43 |
2022-12-22 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:43 | ------------------------------------ 2022-12-22 22:02:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</node><item-id>item-23a95f6b-4d73-49fc-bf5d-44d171474e68</item-id></data> 2022-12-22 22:02:43 | 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-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</value></node><item-id label="Item ID" type="text-single"><value>item-23a95f6b-4d73-49fc-bf5d-44d171474e68</value></item-id><item label="Item" type="text-multi"><value><item id="item-23a95f6b-4d73-49fc-bf5d-44d171474e68"><test>item-23a95f6b-4d73-49fc-bf5d-44d171474e68</test></item></value></item></result> 2022-12-22 22:02:43 | [Mutex] notify: [retrieved:item:item-23a95f6b-4d73-49fc-bf5d-44d171474e68:payload-matches:true:localhost] 2022-12-22 22:02:43 | [Mutex] received everything. 2022-12-22 22:02:43 | [Mutex] isItemNotified: retrieved:item:item-23a95f6b-4d73-49fc-bf5d-44d171474e68:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-22 22:02:43 |
2022-12-22 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:43 | ------------------------------------ 2022-12-22 22:02:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-22 22:02:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</value><value>test</value><value>node-7a99a178-4b1a-46ed-9eb2-a6f9dcbf2ee1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-22 22:02:43 |
2022-12-22 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:43 | ------------------------------------ 2022-12-22 22:02:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e)</node-pattern></data> 2022-12-22 22:02:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.100s |
2022-12-22 22:02:42 |
2022-12-22 22:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:42 | ------------------------------------ 2022-12-22 22:02:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-22 22:02:42 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.194s |
2022-12-22 22:02:44 |
2022-12-22 22:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-22 22:02:44 | ------------------------------------ 2022-12-22 22:02:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8d8c10b1-29c0-4f19-82c4-64c0c5e93d0e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-22 22:02:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |