Test duration : 9.556s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2023-02-17 21:43:26 |
2023-02-17 21:43:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:26 | ------------------------------------ 2023-02-17 21:43:26 | [Mutex] waiting for: [configured:node:node-b44d83d5-a965-4a00-877f-08d453cbfdfe:node-4d0eba5e-b807-4e02-af03-9470e1d9826c] 2023-02-17 21:43:26 | [Mutex] received everything. 2023-02-17 21:43:26 | [Mutex] isItemNotified: configured:node:node-b44d83d5-a965-4a00-877f-08d453cbfdfe:node-4d0eba5e-b807-4e02-af03-9470e1d9826c :: true 2023-02-17 21:43:27 | [Mutex] waiting for: [received:nodes:8960e142-2aa7-4585-8bc0-4458362aa8a9:localhost] 2023-02-17 21:43:27 | [Mutex] received everything. 2023-02-17 21:43:27 | [Mutex] isItemNotified: received:node:8960e142-2aa7-4585-8bc0-4458362aa8a9:localhost:node-b44d83d5-a965-4a00-877f-08d453cbfdfe:Node b44d83d5-a965-4a00-877f-08d453cbfdfe :: true 2023-02-17 21:43:27 | [Mutex] waiting for: [received:nodes:5b1195c7-061c-4f69-ba0e-cea0d226d20f:localhost] 2023-02-17 21:43:27 | [Mutex] waiting for: [received:nodes:5b1195c7-061c-4f69-ba0e-cea0d226d20f:localhost] 2023-02-17 21:43:27 | [Mutex] waiting for: [received:nodes:5b1195c7-061c-4f69-ba0e-cea0d226d20f:localhost] 2023-02-17 21:43:27 | [Mutex] received everything. 2023-02-17 21:43:27 | [Mutex] isItemNotified: received:node:5b1195c7-061c-4f69-ba0e-cea0d226d20f:localhost:node-b44d83d5-a965-4a00-877f-08d453cbfdfe:Node b44d83d5-a965-4a00-877f-08d453cbfdfe :: false |
createNodes | 1.433s |
2023-02-17 21:43:24 |
2023-02-17 21:43:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:24 | ------------------------------------ 2023-02-17 21:43:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b44d83d5-a965-4a00-877f-08d453cbfdfe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b44d83d5-a965-4a00-877f-08d453cbfdfe</title></pubsub></data> 2023-02-17 21:43:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-17 21:43:25 | [Mutex] waiting for: [received:nodes:ec45345e-84dc-4db0-8492-13aef182aa22:localhost] 2023-02-17 21:43:25 | [Mutex] received everything. 2023-02-17 21:43:25 | [Mutex] isItemNotified: received:node:ec45345e-84dc-4db0-8492-13aef182aa22:localhost:node-b44d83d5-a965-4a00-877f-08d453cbfdfe:Node b44d83d5-a965-4a00-877f-08d453cbfdfe :: true |
createSubnodes | 1.029s |
2023-02-17 21:43:25 |
2023-02-17 21:43:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:25 | ------------------------------------ 2023-02-17 21:43:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4d0eba5e-b807-4e02-af03-9470e1d9826c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4d0eba5e-b807-4e02-af03-9470e1d9826c</title></pubsub></data> 2023-02-17 21:43:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-17 21:43:26 | [Mutex] waiting for: [received:nodes:f2077b8f-8b2a-4cf9-b5b7-98ce51fb8369:localhost] 2023-02-17 21:43:26 | [Mutex] waiting for: [received:nodes:f2077b8f-8b2a-4cf9-b5b7-98ce51fb8369:localhost] 2023-02-17 21:43:26 | [Mutex] waiting for: [received:nodes:f2077b8f-8b2a-4cf9-b5b7-98ce51fb8369:localhost] 2023-02-17 21:43:26 | [Mutex] waiting for: [received:nodes:f2077b8f-8b2a-4cf9-b5b7-98ce51fb8369:localhost] 2023-02-17 21:43:26 | [Mutex] waiting for: [received:nodes:f2077b8f-8b2a-4cf9-b5b7-98ce51fb8369:localhost] 2023-02-17 21:43:26 | [Mutex] received everything. 2023-02-17 21:43:26 | [Mutex] isItemNotified: received:node:f2077b8f-8b2a-4cf9-b5b7-98ce51fb8369:localhost:node-4d0eba5e-b807-4e02-af03-9470e1d9826c:Node 4d0eba5e-b807-4e02-af03-9470e1d9826c :: true |
deleteNodes | 1.020s |
2023-02-17 21:43:32 |
2023-02-17 21:43:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:32 | ------------------------------------ 2023-02-17 21:43:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4d0eba5e-b807-4e02-af03-9470e1d9826c</node></data> 2023-02-17 21:43:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-17 21:43:33 | [Mutex] waiting for: [received:nodes:62da3982-4ded-40e1-a902-470c5e2287a5:localhost] 2023-02-17 21:43:33 | [Mutex] waiting for: [received:nodes:62da3982-4ded-40e1-a902-470c5e2287a5:localhost] 2023-02-17 21:43:33 | [Mutex] received everything. 2023-02-17 21:43:33 | [Mutex] isItemNotified: received:node:62da3982-4ded-40e1-a902-470c5e2287a5:localhost:node-4d0eba5e-b807-4e02-af03-9470e1d9826c:Node 4d0eba5e-b807-4e02-af03-9470e1d9826c :: false |
deleteSubnodes | 1.177s |
2023-02-17 21:43:31 |
2023-02-17 21:43:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:31 | ------------------------------------ 2023-02-17 21:43:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b44d83d5-a965-4a00-877f-08d453cbfdfe</node></data> 2023-02-17 21:43:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-17 21:43:32 | [Mutex] waiting for: [received:nodes:5d06ab4b-8a67-4eac-8313-80a070243ad6:localhost] 2023-02-17 21:43:32 | [Mutex] waiting for: [received:nodes:5d06ab4b-8a67-4eac-8313-80a070243ad6:localhost] 2023-02-17 21:43:32 | [Mutex] waiting for: [received:nodes:5d06ab4b-8a67-4eac-8313-80a070243ad6:localhost] 2023-02-17 21:43:32 | [Mutex] received everything. 2023-02-17 21:43:32 | [Mutex] isItemNotified: received:node:5d06ab4b-8a67-4eac-8313-80a070243ad6:localhost:node-b44d83d5-a965-4a00-877f-08d453cbfdfe:Node b44d83d5-a965-4a00-877f-08d453cbfdfe :: false 2023-02-17 21:43:32 | [Mutex] waiting for: [received:nodes:63c11472-ed8b-4d4a-8711-50f7326400f5:localhost] 2023-02-17 21:43:32 | [Mutex] received everything. 2023-02-17 21:43:32 | [Mutex] isItemNotified: received:node:63c11472-ed8b-4d4a-8711-50f7326400f5:localhost:node-b44d83d5-a965-4a00-877f-08d453cbfdfe:Node b44d83d5-a965-4a00-877f-08d453cbfdfe :: false |
publishItemsToNodes | 0.254s |
2023-02-17 21:43:29 |
2023-02-17 21:43:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:29 | ------------------------------------ 2023-02-17 21:43:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b44d83d5-a965-4a00-877f-08d453cbfdfe</node><item-id>item-01d56a21-1551-4cbd-a35e-335c7132dc02</item-id><entry><test>item-01d56a21-1551-4cbd-a35e-335c7132dc02</test></entry></data> 2023-02-17 21:43:29 | 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-01d56a21-1551-4cbd-a35e-335c7132dc02</value></item-id></result> 2023-02-17 21:43:29 | [Mutex] received everything. 2023-02-17 21:43:29 | [Mutex] isItemNotified: published:item:notifieditem-01d56a21-1551-4cbd-a35e-335c7132dc02:admin@test-domain.com :: true |
retractItemsFromNodes | 0.234s |
2023-02-17 21:43:29 |
2023-02-17 21:43:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:29 | ------------------------------------ 2023-02-17 21:43:29 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b44d83d5-a965-4a00-877f-08d453cbfdfe</node><item-id>item-01d56a21-1551-4cbd-a35e-335c7132dc02</item-id></data> 2023-02-17 21:43:29 | 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-01d56a21-1551-4cbd-a35e-335c7132dc02</value></item-id></result> 2023-02-17 21:43:29 | [Mutex] received everything. 2023-02-17 21:43:29 | [Mutex] isItemNotified: retracted:item:notifieditem-01d56a21-1551-4cbd-a35e-335c7132dc02:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.318s |
2023-02-17 21:43:29 |
2023-02-17 21:43:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:29 | ------------------------------------ 2023-02-17 21:43:29 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b44d83d5-a965-4a00-877f-08d453cbfdfe</node><item-id>item-01d56a21-1551-4cbd-a35e-335c7132dc02</item-id></data> 2023-02-17 21:43:29 | 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-b44d83d5-a965-4a00-877f-08d453cbfdfe</value></node><item-id label="Item ID" type="text-single"><value>item-01d56a21-1551-4cbd-a35e-335c7132dc02</value></item-id><item label="Item" type="text-multi"><value><item id="item-01d56a21-1551-4cbd-a35e-335c7132dc02"><test>item-01d56a21-1551-4cbd-a35e-335c7132dc02</test></item></value></item></result> 2023-02-17 21:43:29 | [Mutex] notify: [retrieved:item:item-01d56a21-1551-4cbd-a35e-335c7132dc02:payload-matches:true:localhost] 2023-02-17 21:43:29 | [Mutex] received everything. 2023-02-17 21:43:29 | [Mutex] isItemNotified: retrieved:item:item-01d56a21-1551-4cbd-a35e-335c7132dc02:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2023-02-17 21:43:29 |
2023-02-17 21:43:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:29 | ------------------------------------ 2023-02-17 21:43:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-02-17 21:43:29 | 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-4d0eba5e-b807-4e02-af03-9470e1d9826c</value><value>node-b44d83d5-a965-4a00-877f-08d453cbfdfe</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2023-02-17 21:43:29 |
2023-02-17 21:43:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:29 | ------------------------------------ 2023-02-17 21:43:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b44d83d5-a965-4a00-877f-08d453cbfdfe)</node-pattern></data> 2023-02-17 21:43:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.116s |
2023-02-17 21:43:27 |
2023-02-17 21:43:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:27 | ------------------------------------ 2023-02-17 21:43:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b44d83d5-a965-4a00-877f-08d453cbfdfe</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-17 21:43:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.139s |
2023-02-17 21:43:29 |
2023-02-17 21:43:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-17 21:43:29 | ------------------------------------ 2023-02-17 21:43:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b44d83d5-a965-4a00-877f-08d453cbfdfe</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-17 21:43:30 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |