Test duration : 9.185s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2023-04-03 22:32:34 |
2023-04-03 22:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:34 | ------------------------------------ 2023-04-03 22:32:34 | [Mutex] waiting for: [configured:node:node-1677fe71-08d8-410d-a3d2-d4e254b4cdec:node-1726ab1e-dc2c-457b-baeb-9a659533185e] 2023-04-03 22:32:34 | [Mutex] received everything. 2023-04-03 22:32:34 | [Mutex] isItemNotified: configured:node:node-1677fe71-08d8-410d-a3d2-d4e254b4cdec:node-1726ab1e-dc2c-457b-baeb-9a659533185e :: true 2023-04-03 22:32:35 | [Mutex] waiting for: [received:nodes:9960bcb6-4100-47d0-8cc5-443b13552a12:localhost] 2023-04-03 22:32:35 | [Mutex] received everything. 2023-04-03 22:32:35 | [Mutex] isItemNotified: received:node:9960bcb6-4100-47d0-8cc5-443b13552a12:localhost:node-1677fe71-08d8-410d-a3d2-d4e254b4cdec:Node 1677fe71-08d8-410d-a3d2-d4e254b4cdec :: true 2023-04-03 22:32:35 | [Mutex] waiting for: [received:nodes:1e8dbab1-f76b-40f7-aece-ee323fe86b4b:localhost] 2023-04-03 22:32:35 | [Mutex] waiting for: [received:nodes:1e8dbab1-f76b-40f7-aece-ee323fe86b4b:localhost] 2023-04-03 22:32:35 | [Mutex] waiting for: [received:nodes:1e8dbab1-f76b-40f7-aece-ee323fe86b4b:localhost] 2023-04-03 22:32:35 | [Mutex] waiting for: [received:nodes:1e8dbab1-f76b-40f7-aece-ee323fe86b4b:localhost] 2023-04-03 22:32:35 | [Mutex] received everything. 2023-04-03 22:32:35 | [Mutex] isItemNotified: received:node:1e8dbab1-f76b-40f7-aece-ee323fe86b4b:localhost:node-1677fe71-08d8-410d-a3d2-d4e254b4cdec:Node 1677fe71-08d8-410d-a3d2-d4e254b4cdec :: false |
createNodes | 1.367s |
2023-04-03 22:32:32 |
2023-04-03 22:32:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:32 | ------------------------------------ 2023-04-03 22:32:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1677fe71-08d8-410d-a3d2-d4e254b4cdec</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1677fe71-08d8-410d-a3d2-d4e254b4cdec</title></pubsub></data> 2023-04-03 22:32:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-04-03 22:32:33 | [Mutex] waiting for: [received:nodes:e57a5047-4aa2-4d90-bd35-d9b135ae29cb:localhost] 2023-04-03 22:32:33 | [Mutex] waiting for: [received:nodes:e57a5047-4aa2-4d90-bd35-d9b135ae29cb:localhost] 2023-04-03 22:32:33 | [Mutex] waiting for: [received:nodes:e57a5047-4aa2-4d90-bd35-d9b135ae29cb:localhost] 2023-04-03 22:32:33 | [Mutex] waiting for: [received:nodes:e57a5047-4aa2-4d90-bd35-d9b135ae29cb:localhost] 2023-04-03 22:32:33 | [Mutex] received everything. 2023-04-03 22:32:33 | [Mutex] isItemNotified: received:node:e57a5047-4aa2-4d90-bd35-d9b135ae29cb:localhost:node-1677fe71-08d8-410d-a3d2-d4e254b4cdec:Node 1677fe71-08d8-410d-a3d2-d4e254b4cdec :: true |
createSubnodes | 1.019s |
2023-04-03 22:32:33 |
2023-04-03 22:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:33 | ------------------------------------ 2023-04-03 22:32:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1726ab1e-dc2c-457b-baeb-9a659533185e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1726ab1e-dc2c-457b-baeb-9a659533185e</title></pubsub></data> 2023-04-03 22:32:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-04-03 22:32:34 | [Mutex] waiting for: [received:nodes:76976b39-2387-4ba0-8da2-49a0a9596c70:localhost] 2023-04-03 22:32:34 | [Mutex] waiting for: [received:nodes:76976b39-2387-4ba0-8da2-49a0a9596c70:localhost] 2023-04-03 22:32:34 | [Mutex] waiting for: [received:nodes:76976b39-2387-4ba0-8da2-49a0a9596c70:localhost] 2023-04-03 22:32:34 | [Mutex] waiting for: [received:nodes:76976b39-2387-4ba0-8da2-49a0a9596c70:localhost] 2023-04-03 22:32:34 | [Mutex] received everything. 2023-04-03 22:32:34 | [Mutex] isItemNotified: received:node:76976b39-2387-4ba0-8da2-49a0a9596c70:localhost:node-1726ab1e-dc2c-457b-baeb-9a659533185e:Node 1726ab1e-dc2c-457b-baeb-9a659533185e :: true |
deleteNodes | 1.015s |
2023-04-03 22:32:39 |
2023-04-03 22:32:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:39 | ------------------------------------ 2023-04-03 22:32:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1726ab1e-dc2c-457b-baeb-9a659533185e</node></data> 2023-04-03 22:32:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-04-03 22:32:40 | [Mutex] waiting for: [received:nodes:b0c8000a-2876-4660-8178-0db714075a86:localhost] 2023-04-03 22:32:40 | [Mutex] waiting for: [received:nodes:b0c8000a-2876-4660-8178-0db714075a86:localhost] 2023-04-03 22:32:40 | [Mutex] waiting for: [received:nodes:b0c8000a-2876-4660-8178-0db714075a86:localhost] 2023-04-03 22:32:40 | [Mutex] received everything. 2023-04-03 22:32:40 | [Mutex] isItemNotified: received:node:b0c8000a-2876-4660-8178-0db714075a86:localhost:node-1726ab1e-dc2c-457b-baeb-9a659533185e:Node 1726ab1e-dc2c-457b-baeb-9a659533185e :: false |
deleteSubnodes | 1.110s |
2023-04-03 22:32:38 |
2023-04-03 22:32:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:38 | ------------------------------------ 2023-04-03 22:32:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1677fe71-08d8-410d-a3d2-d4e254b4cdec</node></data> 2023-04-03 22:32:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-04-03 22:32:39 | [Mutex] waiting for: [received:nodes:e5344266-cad4-4ff3-8454-b353bb9c2203:localhost] 2023-04-03 22:32:39 | [Mutex] waiting for: [received:nodes:e5344266-cad4-4ff3-8454-b353bb9c2203:localhost] 2023-04-03 22:32:39 | [Mutex] waiting for: [received:nodes:e5344266-cad4-4ff3-8454-b353bb9c2203:localhost] 2023-04-03 22:32:39 | [Mutex] waiting for: [received:nodes:e5344266-cad4-4ff3-8454-b353bb9c2203:localhost] 2023-04-03 22:32:39 | [Mutex] received everything. 2023-04-03 22:32:39 | [Mutex] isItemNotified: received:node:e5344266-cad4-4ff3-8454-b353bb9c2203:localhost:node-1677fe71-08d8-410d-a3d2-d4e254b4cdec:Node 1677fe71-08d8-410d-a3d2-d4e254b4cdec :: false 2023-04-03 22:32:39 | [Mutex] waiting for: [received:nodes:929fcaa3-fec8-4703-8a05-2df1ccb78117:localhost] 2023-04-03 22:32:39 | [Mutex] received everything. 2023-04-03 22:32:39 | [Mutex] isItemNotified: received:node:929fcaa3-fec8-4703-8a05-2df1ccb78117:localhost:node-1677fe71-08d8-410d-a3d2-d4e254b4cdec:Node 1677fe71-08d8-410d-a3d2-d4e254b4cdec :: false |
publishItemsToNodes | 0.196s |
2023-04-03 22:32:36 |
2023-04-03 22:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:36 | ------------------------------------ 2023-04-03 22:32:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1677fe71-08d8-410d-a3d2-d4e254b4cdec</node><item-id>item-bf000e2f-7d7d-4762-84b8-1b82ea31aad9</item-id><entry><test>item-bf000e2f-7d7d-4762-84b8-1b82ea31aad9</test></entry></data> 2023-04-03 22:32:36 | 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-bf000e2f-7d7d-4762-84b8-1b82ea31aad9</value></item-id></result> 2023-04-03 22:32:36 | [Mutex] waiting for: [published:item:notifieditem-bf000e2f-7d7d-4762-84b8-1b82ea31aad9:admin@test-domain.com] 2023-04-03 22:32:37 | [Mutex] received everything. 2023-04-03 22:32:37 | [Mutex] isItemNotified: published:item:notifieditem-bf000e2f-7d7d-4762-84b8-1b82ea31aad9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.219s |
2023-04-03 22:32:37 |
2023-04-03 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:37 | ------------------------------------ 2023-04-03 22:32:37 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1677fe71-08d8-410d-a3d2-d4e254b4cdec</node><item-id>item-bf000e2f-7d7d-4762-84b8-1b82ea31aad9</item-id></data> 2023-04-03 22:32:37 | 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-bf000e2f-7d7d-4762-84b8-1b82ea31aad9</value></item-id></result> 2023-04-03 22:32:37 | [Mutex] received everything. 2023-04-03 22:32:37 | [Mutex] isItemNotified: retracted:item:notifieditem-bf000e2f-7d7d-4762-84b8-1b82ea31aad9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.119s |
2023-04-03 22:32:37 |
2023-04-03 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:37 | ------------------------------------ 2023-04-03 22:32:37 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1677fe71-08d8-410d-a3d2-d4e254b4cdec</node><item-id>item-bf000e2f-7d7d-4762-84b8-1b82ea31aad9</item-id></data> 2023-04-03 22:32:37 | 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-1677fe71-08d8-410d-a3d2-d4e254b4cdec</value></node><item-id type="text-single" label="Item ID"><value>item-bf000e2f-7d7d-4762-84b8-1b82ea31aad9</value></item-id><item type="text-multi" label="Item"><value><item id="item-bf000e2f-7d7d-4762-84b8-1b82ea31aad9"><test>item-bf000e2f-7d7d-4762-84b8-1b82ea31aad9</test></item></value></item></result> 2023-04-03 22:32:37 | [Mutex] notify: [retrieved:item:item-bf000e2f-7d7d-4762-84b8-1b82ea31aad9:payload-matches:true:localhost] 2023-04-03 22:32:37 | [Mutex] received everything. 2023-04-03 22:32:37 | [Mutex] isItemNotified: retrieved:item:item-bf000e2f-7d7d-4762-84b8-1b82ea31aad9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2023-04-03 22:32:37 |
2023-04-03 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:37 | ------------------------------------ 2023-04-03 22:32:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-04-03 22:32:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-1726ab1e-dc2c-457b-baeb-9a659533185e</value><value>test</value><value>node-1677fe71-08d8-410d-a3d2-d4e254b4cdec</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2023-04-03 22:32:37 |
2023-04-03 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:37 | ------------------------------------ 2023-04-03 22:32:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1677fe71-08d8-410d-a3d2-d4e254b4cdec)</node-pattern></data> 2023-04-03 22:32:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.141s |
2023-04-03 22:32:35 |
2023-04-03 22:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:35 | ------------------------------------ 2023-04-03 22:32:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1677fe71-08d8-410d-a3d2-d4e254b4cdec</node><jids><value>admin@test-domain.com</value></jids></data> 2023-04-03 22:32:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.255s |
2023-04-03 22:32:37 |
2023-04-03 22:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-04-03 22:32:37 | ------------------------------------ 2023-04-03 22:32:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1677fe71-08d8-410d-a3d2-d4e254b4cdec</node><jids><value>admin@test-domain.com</value></jids></data> 2023-04-03 22:32:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |