Test duration : 10.474s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.136s |
2021-01-28 21:38:19 |
2021-01-28 21:38:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:19 | ------------------------------------ 2021-01-28 21:38:19 | [Mutex] waiting for: [configured:node:node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7:node-27147af4-924a-4c64-a30b-89319dae7028] 2021-01-28 21:38:19 | [Mutex] received everything. 2021-01-28 21:38:19 | [Mutex] isItemNotified: configured:node:node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7:node-27147af4-924a-4c64-a30b-89319dae7028 :: true 2021-01-28 21:38:20 | [Mutex] waiting for: [received:nodes:ea0eb142-8ba1-463c-b660-512080f2e749:localhost] 2021-01-28 21:38:20 | [Mutex] received everything. 2021-01-28 21:38:20 | [Mutex] isItemNotified: received:node:ea0eb142-8ba1-463c-b660-512080f2e749:localhost:node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7:Node e56b99b4-d5c9-474d-b83f-c8b277a96fd7 :: true 2021-01-28 21:38:20 | [Mutex] waiting for: [received:nodes:103e67f0-a0bb-4792-8704-ab5c6eee158c:localhost] 2021-01-28 21:38:20 | [Mutex] received everything. 2021-01-28 21:38:20 | [Mutex] isItemNotified: received:node:103e67f0-a0bb-4792-8704-ab5c6eee158c:localhost:node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7:Node e56b99b4-d5c9-474d-b83f-c8b277a96fd7 :: false |
createNodes | 1.540s |
2021-01-28 21:38:16 |
2021-01-28 21:38:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:16 | ------------------------------------ 2021-01-28 21:38:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e56b99b4-d5c9-474d-b83f-c8b277a96fd7</title></pubsub></data> 2021-01-28 21:38:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-28 21:38:17 | [Mutex] waiting for: [received:nodes:7d11da7b-c0a6-450c-aa35-30db0bd7127c:localhost] 2021-01-28 21:38:18 | [Mutex] received everything. 2021-01-28 21:38:18 | [Mutex] isItemNotified: received:node:7d11da7b-c0a6-450c-aa35-30db0bd7127c:localhost:node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7:Node e56b99b4-d5c9-474d-b83f-c8b277a96fd7 :: true |
createSubnodes | 1.032s |
2021-01-28 21:38:18 |
2021-01-28 21:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:18 | ------------------------------------ 2021-01-28 21:38:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-27147af4-924a-4c64-a30b-89319dae7028</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 27147af4-924a-4c64-a30b-89319dae7028</title></pubsub></data> 2021-01-28 21:38:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-28 21:38:19 | [Mutex] waiting for: [received:nodes:3198f52c-1b19-4b62-a862-ffb23489a007:localhost] 2021-01-28 21:38:19 | [Mutex] waiting for: [received:nodes:3198f52c-1b19-4b62-a862-ffb23489a007:localhost] 2021-01-28 21:38:19 | [Mutex] received everything. 2021-01-28 21:38:19 | [Mutex] isItemNotified: received:node:3198f52c-1b19-4b62-a862-ffb23489a007:localhost:node-27147af4-924a-4c64-a30b-89319dae7028:Node 27147af4-924a-4c64-a30b-89319dae7028 :: true |
deleteNodes | 1.022s |
2021-01-28 21:38:24 |
2021-01-28 21:38:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:24 | ------------------------------------ 2021-01-28 21:38:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-27147af4-924a-4c64-a30b-89319dae7028</node></data> 2021-01-28 21:38:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-28 21:38:25 | [Mutex] waiting for: [received:nodes:b2a49172-7ee5-4046-b838-6fb053ecd082:localhost] 2021-01-28 21:38:25 | [Mutex] received everything. 2021-01-28 21:38:25 | [Mutex] isItemNotified: received:node:b2a49172-7ee5-4046-b838-6fb053ecd082:localhost:node-27147af4-924a-4c64-a30b-89319dae7028:Node 27147af4-924a-4c64-a30b-89319dae7028 :: false |
deleteSubnodes | 1.153s |
2021-01-28 21:38:23 |
2021-01-28 21:38:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:23 | ------------------------------------ 2021-01-28 21:38:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7</node></data> 2021-01-28 21:38:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-28 21:38:24 | [Mutex] waiting for: [received:nodes:efd76196-a64e-4754-ae80-49b26b3d55f4:localhost] 2021-01-28 21:38:24 | [Mutex] received everything. 2021-01-28 21:38:24 | [Mutex] isItemNotified: received:node:efd76196-a64e-4754-ae80-49b26b3d55f4:localhost:node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7:Node e56b99b4-d5c9-474d-b83f-c8b277a96fd7 :: false 2021-01-28 21:38:24 | [Mutex] waiting for: [received:nodes:9c1b5499-c62a-4dea-9807-683923811e48:localhost] 2021-01-28 21:38:24 | [Mutex] received everything. 2021-01-28 21:38:24 | [Mutex] isItemNotified: received:node:9c1b5499-c62a-4dea-9807-683923811e48:localhost:node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7:Node e56b99b4-d5c9-474d-b83f-c8b277a96fd7 :: false |
publishItemsToNodes | 0.255s |
2021-01-28 21:38:21 |
2021-01-28 21:38:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:21 | ------------------------------------ 2021-01-28 21:38:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7</node><item-id>item-2fe9413c-834a-4445-ba99-d96d738f07d3</item-id><entry><test>item-2fe9413c-834a-4445-ba99-d96d738f07d3</test></entry></data> 2021-01-28 21:38:21 | 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-2fe9413c-834a-4445-ba99-d96d738f07d3</value></item-id></result> 2021-01-28 21:38:21 | [Mutex] waiting for: [published:item:notifieditem-2fe9413c-834a-4445-ba99-d96d738f07d3:admin@test-domain.com] 2021-01-28 21:38:21 | [Mutex] received everything. 2021-01-28 21:38:21 | [Mutex] isItemNotified: published:item:notifieditem-2fe9413c-834a-4445-ba99-d96d738f07d3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.301s |
2021-01-28 21:38:22 |
2021-01-28 21:38:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:22 | ------------------------------------ 2021-01-28 21:38:22 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7</node><item-id>item-2fe9413c-834a-4445-ba99-d96d738f07d3</item-id></data> 2021-01-28 21:38:22 | 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-2fe9413c-834a-4445-ba99-d96d738f07d3</value></item-id></result> 2021-01-28 21:38:22 | [Mutex] waiting for: [retracted:item:notifieditem-2fe9413c-834a-4445-ba99-d96d738f07d3:admin@test-domain.com] 2021-01-28 21:38:22 | [Mutex] received everything. 2021-01-28 21:38:22 | [Mutex] isItemNotified: retracted:item:notifieditem-2fe9413c-834a-4445-ba99-d96d738f07d3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.291s |
2021-01-28 21:38:21 |
2021-01-28 21:38:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:21 | ------------------------------------ 2021-01-28 21:38:21 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7</node><item-id>item-2fe9413c-834a-4445-ba99-d96d738f07d3</item-id></data> 2021-01-28 21:38:21 | 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-e56b99b4-d5c9-474d-b83f-c8b277a96fd7</value></node><item-id label="Item ID" type="text-single"><value>item-2fe9413c-834a-4445-ba99-d96d738f07d3</value></item-id><item label="Item" type="text-multi"><value><item id="item-2fe9413c-834a-4445-ba99-d96d738f07d3"><test>item-2fe9413c-834a-4445-ba99-d96d738f07d3</test></item></value></item></result> 2021-01-28 21:38:21 | [Mutex] notify: [retrieved:item:item-2fe9413c-834a-4445-ba99-d96d738f07d3:payload-matches:true:localhost] 2021-01-28 21:38:21 | [Mutex] received everything. 2021-01-28 21:38:21 | [Mutex] isItemNotified: retrieved:item:item-2fe9413c-834a-4445-ba99-d96d738f07d3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-01-28 21:38:21 |
2021-01-28 21:38:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:21 | ------------------------------------ 2021-01-28 21:38:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-28 21:38:21 | 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-27147af4-924a-4c64-a30b-89319dae7028</value><value>node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-01-28 21:38:21 |
2021-01-28 21:38:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:21 | ------------------------------------ 2021-01-28 21:38:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7)</node-pattern></data> 2021-01-28 21:38:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.165s |
2021-01-28 21:38:20 |
2021-01-28 21:38:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:20 | ------------------------------------ 2021-01-28 21:38:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-28 21:38:20 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.409s |
2021-01-28 21:38:22 |
2021-01-28 21:38:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-28 21:38:22 | ------------------------------------ 2021-01-28 21:38:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e56b99b4-d5c9-474d-b83f-c8b277a96fd7</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-28 21:38:22 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |