Test duration : 10.003s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2020-10-04 22:41:38 |
2020-10-04 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:38 | ------------------------------------ 2020-10-04 22:41:38 | [Mutex] waiting for: [configured:node:node-3b194a18-2bdb-4461-af16-f0ffea53f227:node-c0dafc17-bbbc-4645-ab10-81376518e5fe] 2020-10-04 22:41:38 | [Mutex] received everything. 2020-10-04 22:41:38 | [Mutex] isItemNotified: configured:node:node-3b194a18-2bdb-4461-af16-f0ffea53f227:node-c0dafc17-bbbc-4645-ab10-81376518e5fe :: true 2020-10-04 22:41:39 | [Mutex] waiting for: [received:nodes:77b3cc27-05d9-4bad-9a63-0733d5dac827:localhost] 2020-10-04 22:41:39 | [Mutex] received everything. 2020-10-04 22:41:39 | [Mutex] isItemNotified: received:node:77b3cc27-05d9-4bad-9a63-0733d5dac827:localhost:node-3b194a18-2bdb-4461-af16-f0ffea53f227:Node 3b194a18-2bdb-4461-af16-f0ffea53f227 :: true 2020-10-04 22:41:39 | [Mutex] waiting for: [received:nodes:87effe32-c054-4e7e-a5d6-ce9996ccb987:localhost] 2020-10-04 22:41:39 | [Mutex] received everything. 2020-10-04 22:41:39 | [Mutex] isItemNotified: received:node:87effe32-c054-4e7e-a5d6-ce9996ccb987:localhost:node-3b194a18-2bdb-4461-af16-f0ffea53f227:Node 3b194a18-2bdb-4461-af16-f0ffea53f227 :: false |
createNodes | 1.484s |
2020-10-04 22:41:35 |
2020-10-04 22:41:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:35 | ------------------------------------ 2020-10-04 22:41:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3b194a18-2bdb-4461-af16-f0ffea53f227</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3b194a18-2bdb-4461-af16-f0ffea53f227</title></pubsub></data> 2020-10-04 22:41:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-04 22:41:37 | [Mutex] waiting for: [received:nodes:e3501851-b51c-4786-ac40-5bfaf83ea0d1:localhost] 2020-10-04 22:41:37 | [Mutex] received everything. 2020-10-04 22:41:37 | [Mutex] isItemNotified: received:node:e3501851-b51c-4786-ac40-5bfaf83ea0d1:localhost:node-3b194a18-2bdb-4461-af16-f0ffea53f227:Node 3b194a18-2bdb-4461-af16-f0ffea53f227 :: true |
createSubnodes | 1.034s |
2020-10-04 22:41:37 |
2020-10-04 22:41:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:37 | ------------------------------------ 2020-10-04 22:41:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c0dafc17-bbbc-4645-ab10-81376518e5fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c0dafc17-bbbc-4645-ab10-81376518e5fe</title></pubsub></data> 2020-10-04 22:41:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-04 22:41:38 | [Mutex] waiting for: [received:nodes:a81a6874-40a6-412a-a107-d4551a678d80:localhost] 2020-10-04 22:41:38 | [Mutex] waiting for: [received:nodes:a81a6874-40a6-412a-a107-d4551a678d80:localhost] 2020-10-04 22:41:38 | [Mutex] received everything. 2020-10-04 22:41:38 | [Mutex] isItemNotified: received:node:a81a6874-40a6-412a-a107-d4551a678d80:localhost:node-c0dafc17-bbbc-4645-ab10-81376518e5fe:Node c0dafc17-bbbc-4645-ab10-81376518e5fe :: true |
deleteNodes | 1.018s |
2020-10-04 22:41:44 |
2020-10-04 22:41:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:44 | ------------------------------------ 2020-10-04 22:41:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c0dafc17-bbbc-4645-ab10-81376518e5fe</node></data> 2020-10-04 22:41:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-04 22:41:45 | [Mutex] waiting for: [received:nodes:28366682-78fc-4b09-8b47-3e0b545888ed:localhost] 2020-10-04 22:41:45 | [Mutex] received everything. 2020-10-04 22:41:45 | [Mutex] isItemNotified: received:node:28366682-78fc-4b09-8b47-3e0b545888ed:localhost:node-c0dafc17-bbbc-4645-ab10-81376518e5fe:Node c0dafc17-bbbc-4645-ab10-81376518e5fe :: false |
deleteSubnodes | 1.143s |
2020-10-04 22:41:42 |
2020-10-04 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:42 | ------------------------------------ 2020-10-04 22:41:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3b194a18-2bdb-4461-af16-f0ffea53f227</node></data> 2020-10-04 22:41:42 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-04 22:41:43 | [Mutex] waiting for: [received:nodes:2409cc73-0377-4337-bcf0-fb9d0ca43b59:localhost] 2020-10-04 22:41:43 | [Mutex] received everything. 2020-10-04 22:41:43 | [Mutex] isItemNotified: received:node:2409cc73-0377-4337-bcf0-fb9d0ca43b59:localhost:node-3b194a18-2bdb-4461-af16-f0ffea53f227:Node 3b194a18-2bdb-4461-af16-f0ffea53f227 :: false 2020-10-04 22:41:44 | [Mutex] waiting for: [received:nodes:7311e9ba-d5dc-4889-b50a-76deeaa84dd8:localhost] 2020-10-04 22:41:44 | [Mutex] received everything. 2020-10-04 22:41:44 | [Mutex] isItemNotified: received:node:7311e9ba-d5dc-4889-b50a-76deeaa84dd8:localhost:node-3b194a18-2bdb-4461-af16-f0ffea53f227:Node 3b194a18-2bdb-4461-af16-f0ffea53f227 :: false |
publishItemsToNodes | 0.243s |
2020-10-04 22:41:40 |
2020-10-04 22:41:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:40 | ------------------------------------ 2020-10-04 22:41:40 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3b194a18-2bdb-4461-af16-f0ffea53f227</node><item-id>item-12cb63b9-6d18-4ec5-9b3a-6f96192518ee</item-id><entry><test>item-12cb63b9-6d18-4ec5-9b3a-6f96192518ee</test></entry></data> 2020-10-04 22:41:40 | 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-12cb63b9-6d18-4ec5-9b3a-6f96192518ee</value></item-id></result> 2020-10-04 22:41:40 | [Mutex] waiting for: [published:item:notifieditem-12cb63b9-6d18-4ec5-9b3a-6f96192518ee:admin@test-domain.com] 2020-10-04 22:41:40 | [Mutex] received everything. 2020-10-04 22:41:40 | [Mutex] isItemNotified: published:item:notifieditem-12cb63b9-6d18-4ec5-9b3a-6f96192518ee:admin@test-domain.com :: true |
retractItemsFromNodes | 0.288s |
2020-10-04 22:41:41 |
2020-10-04 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:41 | ------------------------------------ 2020-10-04 22:41:41 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3b194a18-2bdb-4461-af16-f0ffea53f227</node><item-id>item-12cb63b9-6d18-4ec5-9b3a-6f96192518ee</item-id></data> 2020-10-04 22:41:41 | 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-12cb63b9-6d18-4ec5-9b3a-6f96192518ee</value></item-id></result> 2020-10-04 22:41:41 | [Mutex] received everything. 2020-10-04 22:41:41 | [Mutex] isItemNotified: retracted:item:notifieditem-12cb63b9-6d18-4ec5-9b3a-6f96192518ee:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.218s |
2020-10-04 22:41:40 |
2020-10-04 22:41:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:40 | ------------------------------------ 2020-10-04 22:41:40 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3b194a18-2bdb-4461-af16-f0ffea53f227</node><item-id>item-12cb63b9-6d18-4ec5-9b3a-6f96192518ee</item-id></data> 2020-10-04 22:41:41 | 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-3b194a18-2bdb-4461-af16-f0ffea53f227</value></node><item-id label="Item ID" type="text-single"><value>item-12cb63b9-6d18-4ec5-9b3a-6f96192518ee</value></item-id><item label="Item" type="text-multi"><value><item id="item-12cb63b9-6d18-4ec5-9b3a-6f96192518ee"><test>item-12cb63b9-6d18-4ec5-9b3a-6f96192518ee</test></item></value></item></result> 2020-10-04 22:41:41 | [Mutex] notify: [retrieved:item:item-12cb63b9-6d18-4ec5-9b3a-6f96192518ee:payload-matches:true:localhost] 2020-10-04 22:41:41 | [Mutex] received everything. 2020-10-04 22:41:41 | [Mutex] isItemNotified: retrieved:item:item-12cb63b9-6d18-4ec5-9b3a-6f96192518ee:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-04 22:41:41 |
2020-10-04 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:41 | ------------------------------------ 2020-10-04 22:41:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-04 22:41:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-3b194a18-2bdb-4461-af16-f0ffea53f227</value><value>node-c0dafc17-bbbc-4645-ab10-81376518e5fe</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-10-04 22:41:41 |
2020-10-04 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:41 | ------------------------------------ 2020-10-04 22:41:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3b194a18-2bdb-4461-af16-f0ffea53f227)</node-pattern></data> 2020-10-04 22:41:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.114s |
2020-10-04 22:41:39 |
2020-10-04 22:41:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:39 | ------------------------------------ 2020-10-04 22:41:39 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3b194a18-2bdb-4461-af16-f0ffea53f227</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-04 22:41:39 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.322s |
2020-10-04 22:41:41 |
2020-10-04 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-04 22:41:41 | ------------------------------------ 2020-10-04 22:41:41 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3b194a18-2bdb-4461-af16-f0ffea53f227</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-04 22:41:41 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |