Test duration : 10.217s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.141s |
2021-06-17 22:30:34 |
2021-06-17 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:34 | ------------------------------------ 2021-06-17 22:30:34 | [Mutex] waiting for: [configured:node:node-94f8ab7d-8d62-41d4-95dd-3299a3286be9:node-b8f09ef6-9669-4f12-b131-f171f0d9c523] 2021-06-17 22:30:34 | [Mutex] received everything. 2021-06-17 22:30:34 | [Mutex] isItemNotified: configured:node:node-94f8ab7d-8d62-41d4-95dd-3299a3286be9:node-b8f09ef6-9669-4f12-b131-f171f0d9c523 :: true 2021-06-17 22:30:35 | [Mutex] waiting for: [received:nodes:64a9c2bf-1af9-499c-b685-6a3d45556e38:localhost] 2021-06-17 22:30:35 | [Mutex] received everything. 2021-06-17 22:30:35 | [Mutex] isItemNotified: received:node:64a9c2bf-1af9-499c-b685-6a3d45556e38:localhost:node-94f8ab7d-8d62-41d4-95dd-3299a3286be9:Node 94f8ab7d-8d62-41d4-95dd-3299a3286be9 :: true 2021-06-17 22:30:35 | [Mutex] waiting for: [received:nodes:be0af915-d347-48af-8ffd-4f4d9e4112cc:localhost] 2021-06-17 22:30:35 | [Mutex] received everything. 2021-06-17 22:30:35 | [Mutex] isItemNotified: received:node:be0af915-d347-48af-8ffd-4f4d9e4112cc:localhost:node-94f8ab7d-8d62-41d4-95dd-3299a3286be9:Node 94f8ab7d-8d62-41d4-95dd-3299a3286be9 :: false |
createNodes | 1.560s |
2021-06-17 22:30:32 |
2021-06-17 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:32 | ------------------------------------ 2021-06-17 22:30:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-94f8ab7d-8d62-41d4-95dd-3299a3286be9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 94f8ab7d-8d62-41d4-95dd-3299a3286be9</title></pubsub></data> 2021-06-17 22:30:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-17 22:30:33 | [Mutex] waiting for: [received:nodes:213985fe-9ba4-4ad5-a330-0327e58df045:localhost] 2021-06-17 22:30:33 | [Mutex] received everything. 2021-06-17 22:30:33 | [Mutex] isItemNotified: received:node:213985fe-9ba4-4ad5-a330-0327e58df045:localhost:node-94f8ab7d-8d62-41d4-95dd-3299a3286be9:Node 94f8ab7d-8d62-41d4-95dd-3299a3286be9 :: true |
createSubnodes | 1.025s |
2021-06-17 22:30:33 |
2021-06-17 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:33 | ------------------------------------ 2021-06-17 22:30:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b8f09ef6-9669-4f12-b131-f171f0d9c523</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b8f09ef6-9669-4f12-b131-f171f0d9c523</title></pubsub></data> 2021-06-17 22:30:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-17 22:30:34 | [Mutex] waiting for: [received:nodes:53619af8-9eea-4409-9d0c-969c3a52e704:localhost] 2021-06-17 22:30:34 | [Mutex] received everything. 2021-06-17 22:30:34 | [Mutex] isItemNotified: received:node:53619af8-9eea-4409-9d0c-969c3a52e704:localhost:node-b8f09ef6-9669-4f12-b131-f171f0d9c523:Node b8f09ef6-9669-4f12-b131-f171f0d9c523 :: true |
deleteNodes | 1.019s |
2021-06-17 22:30:40 |
2021-06-17 22:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:40 | ------------------------------------ 2021-06-17 22:30:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b8f09ef6-9669-4f12-b131-f171f0d9c523</node></data> 2021-06-17 22:30:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-17 22:30:41 | [Mutex] waiting for: [received:nodes:db2b68b4-71d3-4ec7-96b1-52f977cccf79:localhost] 2021-06-17 22:30:41 | [Mutex] received everything. 2021-06-17 22:30:41 | [Mutex] isItemNotified: received:node:db2b68b4-71d3-4ec7-96b1-52f977cccf79:localhost:node-b8f09ef6-9669-4f12-b131-f171f0d9c523:Node b8f09ef6-9669-4f12-b131-f171f0d9c523 :: false |
deleteSubnodes | 1.186s |
2021-06-17 22:30:39 |
2021-06-17 22:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:39 | ------------------------------------ 2021-06-17 22:30:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-94f8ab7d-8d62-41d4-95dd-3299a3286be9</node></data> 2021-06-17 22:30:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-06-17 22:30:40 | [Mutex] waiting for: [received:nodes:31245359-7ae1-4dfa-b927-f910df9326a1:localhost] 2021-06-17 22:30:40 | [Mutex] received everything. 2021-06-17 22:30:40 | [Mutex] isItemNotified: received:node:31245359-7ae1-4dfa-b927-f910df9326a1:localhost:node-94f8ab7d-8d62-41d4-95dd-3299a3286be9:Node 94f8ab7d-8d62-41d4-95dd-3299a3286be9 :: false 2021-06-17 22:30:40 | [Mutex] waiting for: [received:nodes:92e2258b-b8fe-424f-9eda-0e5fb915ef8d:localhost] 2021-06-17 22:30:40 | [Mutex] received everything. 2021-06-17 22:30:40 | [Mutex] isItemNotified: received:node:92e2258b-b8fe-424f-9eda-0e5fb915ef8d:localhost:node-94f8ab7d-8d62-41d4-95dd-3299a3286be9:Node 94f8ab7d-8d62-41d4-95dd-3299a3286be9 :: false |
publishItemsToNodes | 0.289s |
2021-06-17 22:30:37 |
2021-06-17 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:37 | ------------------------------------ 2021-06-17 22:30:37 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-94f8ab7d-8d62-41d4-95dd-3299a3286be9</node><item-id>item-6a3396cf-8159-40d6-bc67-46e1cd741858</item-id><entry><test>item-6a3396cf-8159-40d6-bc67-46e1cd741858</test></entry></data> 2021-06-17 22:30:37 | 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-6a3396cf-8159-40d6-bc67-46e1cd741858</value></item-id></result> 2021-06-17 22:30:37 | [Mutex] waiting for: [published:item:notifieditem-6a3396cf-8159-40d6-bc67-46e1cd741858:admin@test-domain.com] 2021-06-17 22:30:37 | [Mutex] received everything. 2021-06-17 22:30:37 | [Mutex] isItemNotified: published:item:notifieditem-6a3396cf-8159-40d6-bc67-46e1cd741858:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2021-06-17 22:30:37 |
2021-06-17 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:37 | ------------------------------------ 2021-06-17 22:30:37 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-94f8ab7d-8d62-41d4-95dd-3299a3286be9</node><item-id>item-6a3396cf-8159-40d6-bc67-46e1cd741858</item-id></data> 2021-06-17 22:30:37 | 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-6a3396cf-8159-40d6-bc67-46e1cd741858</value></item-id></result> 2021-06-17 22:30:37 | [Mutex] received everything. 2021-06-17 22:30:37 | [Mutex] isItemNotified: retracted:item:notifieditem-6a3396cf-8159-40d6-bc67-46e1cd741858:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.231s |
2021-06-17 22:30:37 |
2021-06-17 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:37 | ------------------------------------ 2021-06-17 22:30:37 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-94f8ab7d-8d62-41d4-95dd-3299a3286be9</node><item-id>item-6a3396cf-8159-40d6-bc67-46e1cd741858</item-id></data> 2021-06-17 22:30:37 | 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-94f8ab7d-8d62-41d4-95dd-3299a3286be9</value></node><item-id label="Item ID" type="text-single"><value>item-6a3396cf-8159-40d6-bc67-46e1cd741858</value></item-id><item label="Item" type="text-multi"><value><item id="item-6a3396cf-8159-40d6-bc67-46e1cd741858"><test>item-6a3396cf-8159-40d6-bc67-46e1cd741858</test></item></value></item></result> 2021-06-17 22:30:37 | [Mutex] notify: [retrieved:item:item-6a3396cf-8159-40d6-bc67-46e1cd741858:payload-matches:true:localhost] 2021-06-17 22:30:37 | [Mutex] received everything. 2021-06-17 22:30:37 | [Mutex] isItemNotified: retrieved:item:item-6a3396cf-8159-40d6-bc67-46e1cd741858:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2021-06-17 22:30:37 |
2021-06-17 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:37 | ------------------------------------ 2021-06-17 22:30:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-06-17 22:30:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-94f8ab7d-8d62-41d4-95dd-3299a3286be9</value><value>test</value><value>node-b8f09ef6-9669-4f12-b131-f171f0d9c523</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-06-17 22:30:37 |
2021-06-17 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:37 | ------------------------------------ 2021-06-17 22:30:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-94f8ab7d-8d62-41d4-95dd-3299a3286be9)</node-pattern></data> 2021-06-17 22:30:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.170s |
2021-06-17 22:30:35 |
2021-06-17 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:35 | ------------------------------------ 2021-06-17 22:30:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-94f8ab7d-8d62-41d4-95dd-3299a3286be9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-17 22:30:36 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.327s |
2021-06-17 22:30:37 |
2021-06-17 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-06-17 22:30:37 | ------------------------------------ 2021-06-17 22:30:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-94f8ab7d-8d62-41d4-95dd-3299a3286be9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-06-17 22:30:38 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |