Test duration : 9.511s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2023-07-11 23:00:19 |
2023-07-11 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:19 | ------------------------------------ 2023-07-11 23:00:19 | [Mutex] waiting for: [configured:node:node-a292a243-a24b-4e84-b55e-86704dd9b9ff:node-8ab8afac-56b2-4dec-9060-f00feadd7e98] 2023-07-11 23:00:19 | [Mutex] received everything. 2023-07-11 23:00:19 | [Mutex] isItemNotified: configured:node:node-a292a243-a24b-4e84-b55e-86704dd9b9ff:node-8ab8afac-56b2-4dec-9060-f00feadd7e98 :: true 2023-07-11 23:00:20 | [Mutex] waiting for: [received:nodes:430e5d8c-5434-47e5-8cc5-1804f2f4e039:localhost] 2023-07-11 23:00:20 | [Mutex] received everything. 2023-07-11 23:00:20 | [Mutex] isItemNotified: received:node:430e5d8c-5434-47e5-8cc5-1804f2f4e039:localhost:node-a292a243-a24b-4e84-b55e-86704dd9b9ff:Node a292a243-a24b-4e84-b55e-86704dd9b9ff :: true 2023-07-11 23:00:20 | [Mutex] waiting for: [received:nodes:5761eaa5-817d-43d5-83f5-fb25867c1f88:localhost] 2023-07-11 23:00:20 | [Mutex] waiting for: [received:nodes:5761eaa5-817d-43d5-83f5-fb25867c1f88:localhost] 2023-07-11 23:00:20 | [Mutex] waiting for: [received:nodes:5761eaa5-817d-43d5-83f5-fb25867c1f88:localhost] 2023-07-11 23:00:20 | [Mutex] received everything. 2023-07-11 23:00:20 | [Mutex] isItemNotified: received:node:5761eaa5-817d-43d5-83f5-fb25867c1f88:localhost:node-a292a243-a24b-4e84-b55e-86704dd9b9ff:Node a292a243-a24b-4e84-b55e-86704dd9b9ff :: false |
createNodes | 1.454s |
2023-07-11 23:00:17 |
2023-07-11 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:17 | ------------------------------------ 2023-07-11 23:00:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a292a243-a24b-4e84-b55e-86704dd9b9ff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a292a243-a24b-4e84-b55e-86704dd9b9ff</title></pubsub></data> 2023-07-11 23:00:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 23:00:18 | [Mutex] waiting for: [received:nodes:9b5541fb-fa8b-496c-a198-2e18997c1bc3:localhost] 2023-07-11 23:00:18 | [Mutex] waiting for: [received:nodes:9b5541fb-fa8b-496c-a198-2e18997c1bc3:localhost] 2023-07-11 23:00:18 | [Mutex] waiting for: [received:nodes:9b5541fb-fa8b-496c-a198-2e18997c1bc3:localhost] 2023-07-11 23:00:18 | [Mutex] waiting for: [received:nodes:9b5541fb-fa8b-496c-a198-2e18997c1bc3:localhost] 2023-07-11 23:00:18 | [Mutex] received everything. 2023-07-11 23:00:18 | [Mutex] isItemNotified: received:node:9b5541fb-fa8b-496c-a198-2e18997c1bc3:localhost:node-a292a243-a24b-4e84-b55e-86704dd9b9ff:Node a292a243-a24b-4e84-b55e-86704dd9b9ff :: true |
createSubnodes | 1.022s |
2023-07-11 23:00:18 |
2023-07-11 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:18 | ------------------------------------ 2023-07-11 23:00:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8ab8afac-56b2-4dec-9060-f00feadd7e98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8ab8afac-56b2-4dec-9060-f00feadd7e98</title></pubsub></data> 2023-07-11 23:00:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 23:00:19 | [Mutex] waiting for: [received:nodes:5d1c7361-5628-428a-873f-da6e5e934901:localhost] 2023-07-11 23:00:19 | [Mutex] waiting for: [received:nodes:5d1c7361-5628-428a-873f-da6e5e934901:localhost] 2023-07-11 23:00:19 | [Mutex] waiting for: [received:nodes:5d1c7361-5628-428a-873f-da6e5e934901:localhost] 2023-07-11 23:00:19 | [Mutex] waiting for: [received:nodes:5d1c7361-5628-428a-873f-da6e5e934901:localhost] 2023-07-11 23:00:19 | [Mutex] received everything. 2023-07-11 23:00:19 | [Mutex] isItemNotified: received:node:5d1c7361-5628-428a-873f-da6e5e934901:localhost:node-8ab8afac-56b2-4dec-9060-f00feadd7e98:Node 8ab8afac-56b2-4dec-9060-f00feadd7e98 :: true |
deleteNodes | 1.019s |
2023-07-11 23:00:25 |
2023-07-11 23:00:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:25 | ------------------------------------ 2023-07-11 23:00:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8ab8afac-56b2-4dec-9060-f00feadd7e98</node></data> 2023-07-11 23:00:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 23:00:26 | [Mutex] waiting for: [received:nodes:a90a1ab4-9a56-4e45-ba1f-392d05f3ec17:localhost] 2023-07-11 23:00:26 | [Mutex] waiting for: [received:nodes:a90a1ab4-9a56-4e45-ba1f-392d05f3ec17:localhost] 2023-07-11 23:00:26 | [Mutex] waiting for: [received:nodes:a90a1ab4-9a56-4e45-ba1f-392d05f3ec17:localhost] 2023-07-11 23:00:26 | [Mutex] received everything. 2023-07-11 23:00:26 | [Mutex] isItemNotified: received:node:a90a1ab4-9a56-4e45-ba1f-392d05f3ec17:localhost:node-8ab8afac-56b2-4dec-9060-f00feadd7e98:Node 8ab8afac-56b2-4dec-9060-f00feadd7e98 :: false |
deleteSubnodes | 1.148s |
2023-07-11 23:00:24 |
2023-07-11 23:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:24 | ------------------------------------ 2023-07-11 23:00:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a292a243-a24b-4e84-b55e-86704dd9b9ff</node></data> 2023-07-11 23:00:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-11 23:00:25 | [Mutex] waiting for: [received:nodes:76dfa0d2-242c-4a9e-9b8a-6eac34e03c7c:localhost] 2023-07-11 23:00:25 | [Mutex] waiting for: [received:nodes:76dfa0d2-242c-4a9e-9b8a-6eac34e03c7c:localhost] 2023-07-11 23:00:25 | [Mutex] waiting for: [received:nodes:76dfa0d2-242c-4a9e-9b8a-6eac34e03c7c:localhost] 2023-07-11 23:00:25 | [Mutex] waiting for: [received:nodes:76dfa0d2-242c-4a9e-9b8a-6eac34e03c7c:localhost] 2023-07-11 23:00:25 | [Mutex] received everything. 2023-07-11 23:00:25 | [Mutex] isItemNotified: received:node:76dfa0d2-242c-4a9e-9b8a-6eac34e03c7c:localhost:node-a292a243-a24b-4e84-b55e-86704dd9b9ff:Node a292a243-a24b-4e84-b55e-86704dd9b9ff :: false 2023-07-11 23:00:25 | [Mutex] waiting for: [received:nodes:b47e87ae-9df7-48c4-8abc-795a426c8dfa:localhost] 2023-07-11 23:00:25 | [Mutex] received everything. 2023-07-11 23:00:25 | [Mutex] isItemNotified: received:node:b47e87ae-9df7-48c4-8abc-795a426c8dfa:localhost:node-a292a243-a24b-4e84-b55e-86704dd9b9ff:Node a292a243-a24b-4e84-b55e-86704dd9b9ff :: false |
publishItemsToNodes | 0.234s |
2023-07-11 23:00:21 |
2023-07-11 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:21 | ------------------------------------ 2023-07-11 23:00:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a292a243-a24b-4e84-b55e-86704dd9b9ff</node><item-id>item-ccde5c0b-55ce-44a1-924d-f35493f2a22f</item-id><entry><test>item-ccde5c0b-55ce-44a1-924d-f35493f2a22f</test></entry></data> 2023-07-11 23:00:22 | 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-ccde5c0b-55ce-44a1-924d-f35493f2a22f</value></item-id></result> 2023-07-11 23:00:22 | [Mutex] waiting for: [published:item:notifieditem-ccde5c0b-55ce-44a1-924d-f35493f2a22f:admin@test-domain.com] 2023-07-11 23:00:22 | [Mutex] received everything. 2023-07-11 23:00:22 | [Mutex] isItemNotified: published:item:notifieditem-ccde5c0b-55ce-44a1-924d-f35493f2a22f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.279s |
2023-07-11 23:00:22 |
2023-07-11 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:22 | ------------------------------------ 2023-07-11 23:00:22 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a292a243-a24b-4e84-b55e-86704dd9b9ff</node><item-id>item-ccde5c0b-55ce-44a1-924d-f35493f2a22f</item-id></data> 2023-07-11 23:00:22 | 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-ccde5c0b-55ce-44a1-924d-f35493f2a22f</value></item-id></result> 2023-07-11 23:00:22 | [Mutex] received everything. 2023-07-11 23:00:22 | [Mutex] isItemNotified: retracted:item:notifieditem-ccde5c0b-55ce-44a1-924d-f35493f2a22f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2023-07-11 23:00:22 |
2023-07-11 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:22 | ------------------------------------ 2023-07-11 23:00:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a292a243-a24b-4e84-b55e-86704dd9b9ff</node><item-id>item-ccde5c0b-55ce-44a1-924d-f35493f2a22f</item-id></data> 2023-07-11 23:00:22 | 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-a292a243-a24b-4e84-b55e-86704dd9b9ff</value></node><item-id type="text-single" label="Item ID"><value>item-ccde5c0b-55ce-44a1-924d-f35493f2a22f</value></item-id><item type="text-multi" label="Item"><value><item id="item-ccde5c0b-55ce-44a1-924d-f35493f2a22f"><test>item-ccde5c0b-55ce-44a1-924d-f35493f2a22f</test></item></value></item></result> 2023-07-11 23:00:22 | [Mutex] notify: [retrieved:item:item-ccde5c0b-55ce-44a1-924d-f35493f2a22f:payload-matches:true:localhost] 2023-07-11 23:00:22 | [Mutex] received everything. 2023-07-11 23:00:22 | [Mutex] isItemNotified: retrieved:item:item-ccde5c0b-55ce-44a1-924d-f35493f2a22f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-11 23:00:22 |
2023-07-11 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:22 | ------------------------------------ 2023-07-11 23:00:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-11 23:00:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-8ab8afac-56b2-4dec-9060-f00feadd7e98</value><value>test</value><value>node-a292a243-a24b-4e84-b55e-86704dd9b9ff</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-07-11 23:00:22 |
2023-07-11 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:22 | ------------------------------------ 2023-07-11 23:00:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a292a243-a24b-4e84-b55e-86704dd9b9ff)</node-pattern></data> 2023-07-11 23:00:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.121s |
2023-07-11 23:00:20 |
2023-07-11 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:20 | ------------------------------------ 2023-07-11 23:00:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a292a243-a24b-4e84-b55e-86704dd9b9ff</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-11 23:00: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.211s |
2023-07-11 23:00:22 |
2023-07-11 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-11 23:00:22 | ------------------------------------ 2023-07-11 23:00:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a292a243-a24b-4e84-b55e-86704dd9b9ff</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-11 23:00:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |