Test duration : 10.220s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2020-09-29 22:50:29 |
2020-09-29 22:50:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:29 | ------------------------------------ 2020-09-29 22:50:29 | [Mutex] waiting for: [configured:node:node-73212038-126c-4e71-9792-b4cb73403ce3:node-547ae52f-48b8-430f-989d-be7c8ef5ee35] 2020-09-29 22:50:29 | [Mutex] received everything. 2020-09-29 22:50:29 | [Mutex] isItemNotified: configured:node:node-73212038-126c-4e71-9792-b4cb73403ce3:node-547ae52f-48b8-430f-989d-be7c8ef5ee35 :: true 2020-09-29 22:50:30 | [Mutex] waiting for: [received:nodes:49a1edbf-8095-4c2d-888f-d8d54d5cfc1c:localhost] 2020-09-29 22:50:30 | [Mutex] received everything. 2020-09-29 22:50:30 | [Mutex] isItemNotified: received:node:49a1edbf-8095-4c2d-888f-d8d54d5cfc1c:localhost:node-73212038-126c-4e71-9792-b4cb73403ce3:Node 73212038-126c-4e71-9792-b4cb73403ce3 :: true 2020-09-29 22:50:30 | [Mutex] waiting for: [received:nodes:f81a1a82-ea7d-4c1d-ac52-a9dbc621f551:localhost] 2020-09-29 22:50:30 | [Mutex] waiting for: [received:nodes:f81a1a82-ea7d-4c1d-ac52-a9dbc621f551:localhost] 2020-09-29 22:50:30 | [Mutex] waiting for: [received:nodes:f81a1a82-ea7d-4c1d-ac52-a9dbc621f551:localhost] 2020-09-29 22:50:30 | [Mutex] waiting for: [received:nodes:f81a1a82-ea7d-4c1d-ac52-a9dbc621f551:localhost] 2020-09-29 22:50:30 | [Mutex] received everything. 2020-09-29 22:50:30 | [Mutex] isItemNotified: received:node:f81a1a82-ea7d-4c1d-ac52-a9dbc621f551:localhost:node-73212038-126c-4e71-9792-b4cb73403ce3:Node 73212038-126c-4e71-9792-b4cb73403ce3 :: false |
createNodes | 1.513s |
2020-09-29 22:50:26 |
2020-09-29 22:50:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:26 | ------------------------------------ 2020-09-29 22:50:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-73212038-126c-4e71-9792-b4cb73403ce3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 73212038-126c-4e71-9792-b4cb73403ce3</title></pubsub></data> 2020-09-29 22:50:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 22:50:27 | [Mutex] waiting for: [received:nodes:eb3f7f2b-247c-4c13-8915-cd29957878f1:localhost] 2020-09-29 22:50:28 | [Mutex] waiting for: [received:nodes:eb3f7f2b-247c-4c13-8915-cd29957878f1:localhost] 2020-09-29 22:50:28 | [Mutex] received everything. 2020-09-29 22:50:28 | [Mutex] isItemNotified: received:node:eb3f7f2b-247c-4c13-8915-cd29957878f1:localhost:node-73212038-126c-4e71-9792-b4cb73403ce3:Node 73212038-126c-4e71-9792-b4cb73403ce3 :: true |
createSubnodes | 1.031s |
2020-09-29 22:50:28 |
2020-09-29 22:50:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:28 | ------------------------------------ 2020-09-29 22:50:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-547ae52f-48b8-430f-989d-be7c8ef5ee35</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 547ae52f-48b8-430f-989d-be7c8ef5ee35</title></pubsub></data> 2020-09-29 22:50:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 22:50:29 | [Mutex] waiting for: [received:nodes:0cc1068a-c2a6-4d99-8356-818ecb011a9d:localhost] 2020-09-29 22:50:29 | [Mutex] received everything. 2020-09-29 22:50:29 | [Mutex] isItemNotified: received:node:0cc1068a-c2a6-4d99-8356-818ecb011a9d:localhost:node-547ae52f-48b8-430f-989d-be7c8ef5ee35:Node 547ae52f-48b8-430f-989d-be7c8ef5ee35 :: true |
deleteNodes | 1.019s |
2020-09-29 22:50:34 |
2020-09-29 22:50:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:34 | ------------------------------------ 2020-09-29 22:50:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-547ae52f-48b8-430f-989d-be7c8ef5ee35</node></data> 2020-09-29 22:50:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 22:50:35 | [Mutex] waiting for: [received:nodes:621597e2-3a8c-4ab3-9820-4e63f2294b06:localhost] 2020-09-29 22:50:35 | [Mutex] received everything. 2020-09-29 22:50:35 | [Mutex] isItemNotified: received:node:621597e2-3a8c-4ab3-9820-4e63f2294b06:localhost:node-547ae52f-48b8-430f-989d-be7c8ef5ee35:Node 547ae52f-48b8-430f-989d-be7c8ef5ee35 :: false |
deleteSubnodes | 1.143s |
2020-09-29 22:50:33 |
2020-09-29 22:50:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:33 | ------------------------------------ 2020-09-29 22:50:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-73212038-126c-4e71-9792-b4cb73403ce3</node></data> 2020-09-29 22:50:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-29 22:50:34 | [Mutex] waiting for: [received:nodes:284ef0d1-a71e-469f-9dc6-36f613a4c17b:localhost] 2020-09-29 22:50:34 | [Mutex] waiting for: [received:nodes:284ef0d1-a71e-469f-9dc6-36f613a4c17b:localhost] 2020-09-29 22:50:34 | [Mutex] received everything. 2020-09-29 22:50:34 | [Mutex] isItemNotified: received:node:284ef0d1-a71e-469f-9dc6-36f613a4c17b:localhost:node-73212038-126c-4e71-9792-b4cb73403ce3:Node 73212038-126c-4e71-9792-b4cb73403ce3 :: false 2020-09-29 22:50:34 | [Mutex] waiting for: [received:nodes:289e17ab-0573-4644-804f-eddfbf143140:localhost] 2020-09-29 22:50:34 | [Mutex] received everything. 2020-09-29 22:50:34 | [Mutex] isItemNotified: received:node:289e17ab-0573-4644-804f-eddfbf143140:localhost:node-73212038-126c-4e71-9792-b4cb73403ce3:Node 73212038-126c-4e71-9792-b4cb73403ce3 :: false |
publishItemsToNodes | 0.211s |
2020-09-29 22:50:31 |
2020-09-29 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:31 | ------------------------------------ 2020-09-29 22:50:31 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-73212038-126c-4e71-9792-b4cb73403ce3</node><item-id>item-becde776-71f7-47a2-86b8-662f9db8377e</item-id><entry><test>item-becde776-71f7-47a2-86b8-662f9db8377e</test></entry></data> 2020-09-29 22:50:31 | 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-becde776-71f7-47a2-86b8-662f9db8377e</value></item-id></result> 2020-09-29 22:50:31 | [Mutex] waiting for: [published:item:notifieditem-becde776-71f7-47a2-86b8-662f9db8377e:admin@test-domain.com] 2020-09-29 22:50:31 | [Mutex] received everything. 2020-09-29 22:50:31 | [Mutex] isItemNotified: published:item:notifieditem-becde776-71f7-47a2-86b8-662f9db8377e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2020-09-29 22:50:31 |
2020-09-29 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:31 | ------------------------------------ 2020-09-29 22:50:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-73212038-126c-4e71-9792-b4cb73403ce3</node><item-id>item-becde776-71f7-47a2-86b8-662f9db8377e</item-id></data> 2020-09-29 22:50: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-becde776-71f7-47a2-86b8-662f9db8377e</value></item-id></result> 2020-09-29 22:50:32 | [Mutex] received everything. 2020-09-29 22:50:32 | [Mutex] isItemNotified: retracted:item:notifieditem-becde776-71f7-47a2-86b8-662f9db8377e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.242s |
2020-09-29 22:50:31 |
2020-09-29 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:31 | ------------------------------------ 2020-09-29 22:50:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-73212038-126c-4e71-9792-b4cb73403ce3</node><item-id>item-becde776-71f7-47a2-86b8-662f9db8377e</item-id></data> 2020-09-29 22:50:31 | 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-73212038-126c-4e71-9792-b4cb73403ce3</value></node><item-id label="Item ID" type="text-single"><value>item-becde776-71f7-47a2-86b8-662f9db8377e</value></item-id><item label="Item" type="text-multi"><value><item id="item-becde776-71f7-47a2-86b8-662f9db8377e"><test>item-becde776-71f7-47a2-86b8-662f9db8377e</test></item></value></item></result> 2020-09-29 22:50:31 | [Mutex] notify: [retrieved:item:item-becde776-71f7-47a2-86b8-662f9db8377e:payload-matches:true:localhost] 2020-09-29 22:50:31 | [Mutex] received everything. 2020-09-29 22:50:31 | [Mutex] isItemNotified: retrieved:item:item-becde776-71f7-47a2-86b8-662f9db8377e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-29 22:50:31 |
2020-09-29 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:31 | ------------------------------------ 2020-09-29 22:50:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-29 22:50:31 | 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-73212038-126c-4e71-9792-b4cb73403ce3</value><value>node-547ae52f-48b8-430f-989d-be7c8ef5ee35</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-29 22:50:31 |
2020-09-29 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:31 | ------------------------------------ 2020-09-29 22:50:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-73212038-126c-4e71-9792-b4cb73403ce3)</node-pattern></data> 2020-09-29 22:50:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.117s |
2020-09-29 22:50:30 |
2020-09-29 22:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:30 | ------------------------------------ 2020-09-29 22:50:30 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-73212038-126c-4e71-9792-b4cb73403ce3</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-29 22:50:30 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.251s |
2020-09-29 22:50:32 |
2020-09-29 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-29 22:50:32 | ------------------------------------ 2020-09-29 22:50:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-73212038-126c-4e71-9792-b4cb73403ce3</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-29 22:50:32 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |