Test duration : 9.461s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2022-11-24 22:06:29 |
2022-11-24 22:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:29 | ------------------------------------ 2022-11-24 22:06:29 | [Mutex] waiting for: [configured:node:node-399e2a07-dd69-4c48-a824-e1b24a305dd9:node-b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e] 2022-11-24 22:06:29 | [Mutex] received everything. 2022-11-24 22:06:29 | [Mutex] isItemNotified: configured:node:node-399e2a07-dd69-4c48-a824-e1b24a305dd9:node-b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e :: true 2022-11-24 22:06:30 | [Mutex] waiting for: [received:nodes:9ac7bd10-945d-4860-9c92-7655087ade3c:localhost] 2022-11-24 22:06:30 | [Mutex] received everything. 2022-11-24 22:06:30 | [Mutex] isItemNotified: received:node:9ac7bd10-945d-4860-9c92-7655087ade3c:localhost:node-399e2a07-dd69-4c48-a824-e1b24a305dd9:Node 399e2a07-dd69-4c48-a824-e1b24a305dd9 :: true 2022-11-24 22:06:30 | [Mutex] waiting for: [received:nodes:9044f6ac-5fa0-4e05-9664-75f2e524385e:localhost] 2022-11-24 22:06:30 | [Mutex] received everything. 2022-11-24 22:06:30 | [Mutex] isItemNotified: received:node:9044f6ac-5fa0-4e05-9664-75f2e524385e:localhost:node-399e2a07-dd69-4c48-a824-e1b24a305dd9:Node 399e2a07-dd69-4c48-a824-e1b24a305dd9 :: false |
createNodes | 1.373s |
2022-11-24 22:06:27 |
2022-11-24 22:06:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:27 | ------------------------------------ 2022-11-24 22:06:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-399e2a07-dd69-4c48-a824-e1b24a305dd9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 399e2a07-dd69-4c48-a824-e1b24a305dd9</title></pubsub></data> 2022-11-24 22:06:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 22:06:28 | [Mutex] waiting for: [received:nodes:43e9be6a-1566-459c-b80c-7a10aa097047:localhost] 2022-11-24 22:06:28 | [Mutex] received everything. 2022-11-24 22:06:28 | [Mutex] isItemNotified: received:node:43e9be6a-1566-459c-b80c-7a10aa097047:localhost:node-399e2a07-dd69-4c48-a824-e1b24a305dd9:Node 399e2a07-dd69-4c48-a824-e1b24a305dd9 :: true |
createSubnodes | 1.029s |
2022-11-24 22:06:28 |
2022-11-24 22:06:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:28 | ------------------------------------ 2022-11-24 22:06:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e</title></pubsub></data> 2022-11-24 22:06:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 22:06:29 | [Mutex] waiting for: [received:nodes:353a1ef9-408b-4bbe-afe1-769a086f3c9f:localhost] 2022-11-24 22:06:29 | [Mutex] waiting for: [received:nodes:353a1ef9-408b-4bbe-afe1-769a086f3c9f:localhost] 2022-11-24 22:06:29 | [Mutex] waiting for: [received:nodes:353a1ef9-408b-4bbe-afe1-769a086f3c9f:localhost] 2022-11-24 22:06:29 | [Mutex] received everything. 2022-11-24 22:06:29 | [Mutex] isItemNotified: received:node:353a1ef9-408b-4bbe-afe1-769a086f3c9f:localhost:node-b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e:Node b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e :: true |
deleteNodes | 1.015s |
2022-11-24 22:06:35 |
2022-11-24 22:06:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:35 | ------------------------------------ 2022-11-24 22:06:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e</node></data> 2022-11-24 22:06:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 22:06:36 | [Mutex] waiting for: [received:nodes:719be4d2-2efd-4510-ab73-fdd960549ffd:localhost] 2022-11-24 22:06:36 | [Mutex] waiting for: [received:nodes:719be4d2-2efd-4510-ab73-fdd960549ffd:localhost] 2022-11-24 22:06:36 | [Mutex] received everything. 2022-11-24 22:06:36 | [Mutex] isItemNotified: received:node:719be4d2-2efd-4510-ab73-fdd960549ffd:localhost:node-b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e:Node b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e :: false |
deleteSubnodes | 1.124s |
2022-11-24 22:06:34 |
2022-11-24 22:06:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:34 | ------------------------------------ 2022-11-24 22:06:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-399e2a07-dd69-4c48-a824-e1b24a305dd9</node></data> 2022-11-24 22:06:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 22:06:35 | [Mutex] waiting for: [received:nodes:af7508bf-d6c5-49ea-8d02-9792afc3e72d:localhost] 2022-11-24 22:06:35 | [Mutex] waiting for: [received:nodes:af7508bf-d6c5-49ea-8d02-9792afc3e72d:localhost] 2022-11-24 22:06:35 | [Mutex] received everything. 2022-11-24 22:06:35 | [Mutex] isItemNotified: received:node:af7508bf-d6c5-49ea-8d02-9792afc3e72d:localhost:node-399e2a07-dd69-4c48-a824-e1b24a305dd9:Node 399e2a07-dd69-4c48-a824-e1b24a305dd9 :: false 2022-11-24 22:06:35 | [Mutex] waiting for: [received:nodes:56d8cf26-43bd-4b40-b80b-6064e4ed7dce:localhost] 2022-11-24 22:06:35 | [Mutex] received everything. 2022-11-24 22:06:35 | [Mutex] isItemNotified: received:node:56d8cf26-43bd-4b40-b80b-6064e4ed7dce:localhost:node-399e2a07-dd69-4c48-a824-e1b24a305dd9:Node 399e2a07-dd69-4c48-a824-e1b24a305dd9 :: false |
publishItemsToNodes | 0.225s |
2022-11-24 22:06:32 |
2022-11-24 22:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:32 | ------------------------------------ 2022-11-24 22:06:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-399e2a07-dd69-4c48-a824-e1b24a305dd9</node><item-id>item-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a</item-id><entry><test>item-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a</test></entry></data> 2022-11-24 22:06:32 | 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-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a</value></item-id></result> 2022-11-24 22:06:32 | [Mutex] received everything. 2022-11-24 22:06:32 | [Mutex] isItemNotified: published:item:notifieditem-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.299s |
2022-11-24 22:06:32 |
2022-11-24 22:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:32 | ------------------------------------ 2022-11-24 22:06:32 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-399e2a07-dd69-4c48-a824-e1b24a305dd9</node><item-id>item-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a</item-id></data> 2022-11-24 22:06:32 | 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-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a</value></item-id></result> 2022-11-24 22:06:32 | [Mutex] received everything. 2022-11-24 22:06:32 | [Mutex] isItemNotified: retracted:item:notifieditem-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.193s |
2022-11-24 22:06:32 |
2022-11-24 22:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:32 | ------------------------------------ 2022-11-24 22:06:32 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-399e2a07-dd69-4c48-a824-e1b24a305dd9</node><item-id>item-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a</item-id></data> 2022-11-24 22:06:32 | 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-399e2a07-dd69-4c48-a824-e1b24a305dd9</value></node><item-id label="Item ID" type="text-single"><value>item-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a</value></item-id><item label="Item" type="text-multi"><value><item id="item-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a"><test>item-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a</test></item></value></item></result> 2022-11-24 22:06:32 | [Mutex] notify: [retrieved:item:item-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a:payload-matches:true:localhost] 2022-11-24 22:06:32 | [Mutex] received everything. 2022-11-24 22:06:32 | [Mutex] isItemNotified: retrieved:item:item-6fcad3b6-49e7-46d9-b4fd-17f76fd37c0a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-11-24 22:06:32 |
2022-11-24 22:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:32 | ------------------------------------ 2022-11-24 22:06:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-24 22:06:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-399e2a07-dd69-4c48-a824-e1b24a305dd9</value><value>test</value><value>node-b3fc4a0f-33f0-4721-9f3d-d60f4942fe3e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-11-24 22:06:32 |
2022-11-24 22:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:32 | ------------------------------------ 2022-11-24 22:06:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-399e2a07-dd69-4c48-a824-e1b24a305dd9)</node-pattern></data> 2022-11-24 22:06:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.159s |
2022-11-24 22:06:30 |
2022-11-24 22:06:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:30 | ------------------------------------ 2022-11-24 22:06:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-399e2a07-dd69-4c48-a824-e1b24a305dd9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-24 22:06:31 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2022-11-24 22:06:32 |
2022-11-24 22:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 22:06:32 | ------------------------------------ 2022-11-24 22:06:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-399e2a07-dd69-4c48-a824-e1b24a305dd9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-24 22:06:33 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |