Test duration : 9.492s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2022-06-21 23:02:41 |
2022-06-21 23:02:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:41 | ------------------------------------ 2022-06-21 23:02:41 | [Mutex] waiting for: [configured:node:node-ac786550-765e-4ca4-9a00-93e0d814c6c1:node-264091ed-d2e7-4990-ae65-e98724e34e24] 2022-06-21 23:02:41 | [Mutex] received everything. 2022-06-21 23:02:41 | [Mutex] isItemNotified: configured:node:node-ac786550-765e-4ca4-9a00-93e0d814c6c1:node-264091ed-d2e7-4990-ae65-e98724e34e24 :: true 2022-06-21 23:02:42 | [Mutex] waiting for: [received:nodes:7fad489b-3652-4d8b-b32f-1d7fcc598079:localhost] 2022-06-21 23:02:42 | [Mutex] received everything. 2022-06-21 23:02:42 | [Mutex] isItemNotified: received:node:7fad489b-3652-4d8b-b32f-1d7fcc598079:localhost:node-ac786550-765e-4ca4-9a00-93e0d814c6c1:Node ac786550-765e-4ca4-9a00-93e0d814c6c1 :: true 2022-06-21 23:02:42 | [Mutex] waiting for: [received:nodes:ccbb7826-4806-4074-8383-74b5fdd29f9d:localhost] 2022-06-21 23:02:42 | [Mutex] received everything. 2022-06-21 23:02:42 | [Mutex] isItemNotified: received:node:ccbb7826-4806-4074-8383-74b5fdd29f9d:localhost:node-ac786550-765e-4ca4-9a00-93e0d814c6c1:Node ac786550-765e-4ca4-9a00-93e0d814c6c1 :: false |
createNodes | 1.425s |
2022-06-21 23:02:39 |
2022-06-21 23:02:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:39 | ------------------------------------ 2022-06-21 23:02:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ac786550-765e-4ca4-9a00-93e0d814c6c1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ac786550-765e-4ca4-9a00-93e0d814c6c1</title></pubsub></data> 2022-06-21 23:02:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-21 23:02:40 | [Mutex] waiting for: [received:nodes:f276f20d-2a66-4c3b-b0d3-aa51cebe609c:localhost] 2022-06-21 23:02:40 | [Mutex] waiting for: [received:nodes:f276f20d-2a66-4c3b-b0d3-aa51cebe609c:localhost] 2022-06-21 23:02:40 | [Mutex] received everything. 2022-06-21 23:02:40 | [Mutex] isItemNotified: received:node:f276f20d-2a66-4c3b-b0d3-aa51cebe609c:localhost:node-ac786550-765e-4ca4-9a00-93e0d814c6c1:Node ac786550-765e-4ca4-9a00-93e0d814c6c1 :: true |
createSubnodes | 1.019s |
2022-06-21 23:02:40 |
2022-06-21 23:02:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:40 | ------------------------------------ 2022-06-21 23:02:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-264091ed-d2e7-4990-ae65-e98724e34e24</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 264091ed-d2e7-4990-ae65-e98724e34e24</title></pubsub></data> 2022-06-21 23:02:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-21 23:02:41 | [Mutex] waiting for: [received:nodes:72d8f1e1-d250-4978-a8e2-1fea3444954b:localhost] 2022-06-21 23:02:41 | [Mutex] waiting for: [received:nodes:72d8f1e1-d250-4978-a8e2-1fea3444954b:localhost] 2022-06-21 23:02:41 | [Mutex] received everything. 2022-06-21 23:02:41 | [Mutex] isItemNotified: received:node:72d8f1e1-d250-4978-a8e2-1fea3444954b:localhost:node-264091ed-d2e7-4990-ae65-e98724e34e24:Node 264091ed-d2e7-4990-ae65-e98724e34e24 :: true |
deleteNodes | 1.018s |
2022-06-21 23:02:47 |
2022-06-21 23:02:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:47 | ------------------------------------ 2022-06-21 23:02:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-264091ed-d2e7-4990-ae65-e98724e34e24</node></data> 2022-06-21 23:02:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-21 23:02:48 | [Mutex] waiting for: [received:nodes:9974e56d-3fce-4265-bb1a-fe4f321eb6e1:localhost] 2022-06-21 23:02:48 | [Mutex] received everything. 2022-06-21 23:02:48 | [Mutex] isItemNotified: received:node:9974e56d-3fce-4265-bb1a-fe4f321eb6e1:localhost:node-264091ed-d2e7-4990-ae65-e98724e34e24:Node 264091ed-d2e7-4990-ae65-e98724e34e24 :: false |
deleteSubnodes | 1.135s |
2022-06-21 23:02:46 |
2022-06-21 23:02:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:46 | ------------------------------------ 2022-06-21 23:02:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ac786550-765e-4ca4-9a00-93e0d814c6c1</node></data> 2022-06-21 23:02:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-21 23:02:47 | [Mutex] waiting for: [received:nodes:c516f8e9-a9c9-48ca-8d24-6939504a75c9:localhost] 2022-06-21 23:02:47 | [Mutex] waiting for: [received:nodes:c516f8e9-a9c9-48ca-8d24-6939504a75c9:localhost] 2022-06-21 23:02:47 | [Mutex] received everything. 2022-06-21 23:02:47 | [Mutex] isItemNotified: received:node:c516f8e9-a9c9-48ca-8d24-6939504a75c9:localhost:node-ac786550-765e-4ca4-9a00-93e0d814c6c1:Node ac786550-765e-4ca4-9a00-93e0d814c6c1 :: false 2022-06-21 23:02:47 | [Mutex] waiting for: [received:nodes:4bca58b9-183d-4b50-933a-e7651c8e4c89:localhost] 2022-06-21 23:02:47 | [Mutex] received everything. 2022-06-21 23:02:47 | [Mutex] isItemNotified: received:node:4bca58b9-183d-4b50-933a-e7651c8e4c89:localhost:node-ac786550-765e-4ca4-9a00-93e0d814c6c1:Node ac786550-765e-4ca4-9a00-93e0d814c6c1 :: false |
publishItemsToNodes | 0.253s |
2022-06-21 23:02:44 |
2022-06-21 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:44 | ------------------------------------ 2022-06-21 23:02:44 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ac786550-765e-4ca4-9a00-93e0d814c6c1</node><item-id>item-9b8c567b-6364-456c-9e59-465d65d28b53</item-id><entry><test>item-9b8c567b-6364-456c-9e59-465d65d28b53</test></entry></data> 2022-06-21 23:02:44 | 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-9b8c567b-6364-456c-9e59-465d65d28b53</value></item-id></result> 2022-06-21 23:02:44 | [Mutex] received everything. 2022-06-21 23:02:44 | [Mutex] isItemNotified: published:item:notifieditem-9b8c567b-6364-456c-9e59-465d65d28b53:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-06-21 23:02:44 |
2022-06-21 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:44 | ------------------------------------ 2022-06-21 23:02:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ac786550-765e-4ca4-9a00-93e0d814c6c1</node><item-id>item-9b8c567b-6364-456c-9e59-465d65d28b53</item-id></data> 2022-06-21 23:02:44 | 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-9b8c567b-6364-456c-9e59-465d65d28b53</value></item-id></result> 2022-06-21 23:02:44 | [Mutex] received everything. 2022-06-21 23:02:44 | [Mutex] isItemNotified: retracted:item:notifieditem-9b8c567b-6364-456c-9e59-465d65d28b53:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.281s |
2022-06-21 23:02:44 |
2022-06-21 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:44 | ------------------------------------ 2022-06-21 23:02:44 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ac786550-765e-4ca4-9a00-93e0d814c6c1</node><item-id>item-9b8c567b-6364-456c-9e59-465d65d28b53</item-id></data> 2022-06-21 23:02:44 | 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-ac786550-765e-4ca4-9a00-93e0d814c6c1</value></node><item-id type="text-single" label="Item ID"><value>item-9b8c567b-6364-456c-9e59-465d65d28b53</value></item-id><item type="text-multi" label="Item"><value><item id="item-9b8c567b-6364-456c-9e59-465d65d28b53"><test>item-9b8c567b-6364-456c-9e59-465d65d28b53</test></item></value></item></result> 2022-06-21 23:02:44 | [Mutex] notify: [retrieved:item:item-9b8c567b-6364-456c-9e59-465d65d28b53:payload-matches:true:localhost] 2022-06-21 23:02:44 | [Mutex] received everything. 2022-06-21 23:02:44 | [Mutex] isItemNotified: retrieved:item:item-9b8c567b-6364-456c-9e59-465d65d28b53:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-06-21 23:02:44 |
2022-06-21 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:44 | ------------------------------------ 2022-06-21 23:02:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-21 23:02:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-ac786550-765e-4ca4-9a00-93e0d814c6c1</value><value>test</value><value>node-264091ed-d2e7-4990-ae65-e98724e34e24</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-21 23:02:44 |
2022-06-21 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:44 | ------------------------------------ 2022-06-21 23:02:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ac786550-765e-4ca4-9a00-93e0d814c6c1)</node-pattern></data> 2022-06-21 23:02:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.120s |
2022-06-21 23:02:42 |
2022-06-21 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:42 | ------------------------------------ 2022-06-21 23:02:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ac786550-765e-4ca4-9a00-93e0d814c6c1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-21 23:02:43 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.171s |
2022-06-21 23:02:44 |
2022-06-21 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-21 23:02:44 | ------------------------------------ 2022-06-21 23:02:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ac786550-765e-4ca4-9a00-93e0d814c6c1</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-21 23:02:45 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |