Test duration : 10.146s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.128s |
2021-03-18 23:07:11 |
2021-03-18 23:07:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:11 | ------------------------------------ 2021-03-18 23:07:11 | [Mutex] waiting for: [configured:node:node-20b817d4-b055-47d7-b19d-20a76519e5dc:node-6468bf22-e740-43f3-8ddc-84ef6baf2b8e] 2021-03-18 23:07:11 | [Mutex] received everything. 2021-03-18 23:07:11 | [Mutex] isItemNotified: configured:node:node-20b817d4-b055-47d7-b19d-20a76519e5dc:node-6468bf22-e740-43f3-8ddc-84ef6baf2b8e :: true 2021-03-18 23:07:12 | [Mutex] waiting for: [received:nodes:1bd50d8a-b4c1-4b8f-9584-5539729b94c6:localhost] 2021-03-18 23:07:12 | [Mutex] received everything. 2021-03-18 23:07:12 | [Mutex] isItemNotified: received:node:1bd50d8a-b4c1-4b8f-9584-5539729b94c6:localhost:node-20b817d4-b055-47d7-b19d-20a76519e5dc:Node 20b817d4-b055-47d7-b19d-20a76519e5dc :: true 2021-03-18 23:07:12 | [Mutex] waiting for: [received:nodes:620b1fd2-6436-47d9-a941-585b41a71326:localhost] 2021-03-18 23:07:12 | [Mutex] received everything. 2021-03-18 23:07:12 | [Mutex] isItemNotified: received:node:620b1fd2-6436-47d9-a941-585b41a71326:localhost:node-20b817d4-b055-47d7-b19d-20a76519e5dc:Node 20b817d4-b055-47d7-b19d-20a76519e5dc :: false |
createNodes | 1.453s |
2021-03-18 23:07:08 |
2021-03-18 23:07:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:08 | ------------------------------------ 2021-03-18 23:07:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-20b817d4-b055-47d7-b19d-20a76519e5dc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 20b817d4-b055-47d7-b19d-20a76519e5dc</title></pubsub></data> 2021-03-18 23:07:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-18 23:07:10 | [Mutex] waiting for: [received:nodes:a65d5e2c-76f3-4a15-a6be-948ef4acf4b2:localhost] 2021-03-18 23:07:10 | [Mutex] received everything. 2021-03-18 23:07:10 | [Mutex] isItemNotified: received:node:a65d5e2c-76f3-4a15-a6be-948ef4acf4b2:localhost:node-20b817d4-b055-47d7-b19d-20a76519e5dc:Node 20b817d4-b055-47d7-b19d-20a76519e5dc :: true |
createSubnodes | 1.029s |
2021-03-18 23:07:10 |
2021-03-18 23:07:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:10 | ------------------------------------ 2021-03-18 23:07:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6468bf22-e740-43f3-8ddc-84ef6baf2b8e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6468bf22-e740-43f3-8ddc-84ef6baf2b8e</title></pubsub></data> 2021-03-18 23:07:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-18 23:07:11 | [Mutex] waiting for: [received:nodes:c63c06b0-daa9-47cf-8c01-ad1a56629275:localhost] 2021-03-18 23:07:11 | [Mutex] received everything. 2021-03-18 23:07:11 | [Mutex] isItemNotified: received:node:c63c06b0-daa9-47cf-8c01-ad1a56629275:localhost:node-6468bf22-e740-43f3-8ddc-84ef6baf2b8e:Node 6468bf22-e740-43f3-8ddc-84ef6baf2b8e :: true |
deleteNodes | 1.022s |
2021-03-18 23:07:17 |
2021-03-18 23:07:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:17 | ------------------------------------ 2021-03-18 23:07:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6468bf22-e740-43f3-8ddc-84ef6baf2b8e</node></data> 2021-03-18 23:07:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-18 23:07:18 | [Mutex] waiting for: [received:nodes:d28c14e3-a6eb-4707-a193-a259ed236e2f:localhost] 2021-03-18 23:07:18 | [Mutex] received everything. 2021-03-18 23:07:18 | [Mutex] isItemNotified: received:node:d28c14e3-a6eb-4707-a193-a259ed236e2f:localhost:node-6468bf22-e740-43f3-8ddc-84ef6baf2b8e:Node 6468bf22-e740-43f3-8ddc-84ef6baf2b8e :: false |
deleteSubnodes | 1.128s |
2021-03-18 23:07:15 |
2021-03-18 23:07:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:15 | ------------------------------------ 2021-03-18 23:07:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-20b817d4-b055-47d7-b19d-20a76519e5dc</node></data> 2021-03-18 23:07:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-18 23:07:17 | [Mutex] waiting for: [received:nodes:636e4b9e-c097-4a39-8cbe-a864e4393a43:localhost] 2021-03-18 23:07:17 | [Mutex] received everything. 2021-03-18 23:07:17 | [Mutex] isItemNotified: received:node:636e4b9e-c097-4a39-8cbe-a864e4393a43:localhost:node-20b817d4-b055-47d7-b19d-20a76519e5dc:Node 20b817d4-b055-47d7-b19d-20a76519e5dc :: false 2021-03-18 23:07:17 | [Mutex] waiting for: [received:nodes:3e82ccdc-3307-42db-ad94-949a537f7001:localhost] 2021-03-18 23:07:17 | [Mutex] received everything. 2021-03-18 23:07:17 | [Mutex] isItemNotified: received:node:3e82ccdc-3307-42db-ad94-949a537f7001:localhost:node-20b817d4-b055-47d7-b19d-20a76519e5dc:Node 20b817d4-b055-47d7-b19d-20a76519e5dc :: false |
publishItemsToNodes | 0.297s |
2021-03-18 23:07:13 |
2021-03-18 23:07:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:13 | ------------------------------------ 2021-03-18 23:07:13 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-20b817d4-b055-47d7-b19d-20a76519e5dc</node><item-id>item-fa879545-3df9-44e5-896c-b17c1e4029a8</item-id><entry><test>item-fa879545-3df9-44e5-896c-b17c1e4029a8</test></entry></data> 2021-03-18 23:07:13 | 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-fa879545-3df9-44e5-896c-b17c1e4029a8</value></item-id></result> 2021-03-18 23:07:13 | [Mutex] waiting for: [published:item:notifieditem-fa879545-3df9-44e5-896c-b17c1e4029a8:admin@test-domain.com] 2021-03-18 23:07:13 | [Mutex] received everything. 2021-03-18 23:07:13 | [Mutex] isItemNotified: published:item:notifieditem-fa879545-3df9-44e5-896c-b17c1e4029a8:admin@test-domain.com :: true |
retractItemsFromNodes | 0.264s |
2021-03-18 23:07:14 |
2021-03-18 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:14 | ------------------------------------ 2021-03-18 23:07:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-20b817d4-b055-47d7-b19d-20a76519e5dc</node><item-id>item-fa879545-3df9-44e5-896c-b17c1e4029a8</item-id></data> 2021-03-18 23:07:14 | 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-fa879545-3df9-44e5-896c-b17c1e4029a8</value></item-id></result> 2021-03-18 23:07:14 | [Mutex] received everything. 2021-03-18 23:07:14 | [Mutex] isItemNotified: retracted:item:notifieditem-fa879545-3df9-44e5-896c-b17c1e4029a8:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.231s |
2021-03-18 23:07:13 |
2021-03-18 23:07:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:13 | ------------------------------------ 2021-03-18 23:07:13 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-20b817d4-b055-47d7-b19d-20a76519e5dc</node><item-id>item-fa879545-3df9-44e5-896c-b17c1e4029a8</item-id></data> 2021-03-18 23:07:14 | 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-20b817d4-b055-47d7-b19d-20a76519e5dc</value></node><item-id label="Item ID" type="text-single"><value>item-fa879545-3df9-44e5-896c-b17c1e4029a8</value></item-id><item label="Item" type="text-multi"><value><item id="item-fa879545-3df9-44e5-896c-b17c1e4029a8"><test>item-fa879545-3df9-44e5-896c-b17c1e4029a8</test></item></value></item></result> 2021-03-18 23:07:14 | [Mutex] notify: [retrieved:item:item-fa879545-3df9-44e5-896c-b17c1e4029a8:payload-matches:true:localhost] 2021-03-18 23:07:14 | [Mutex] received everything. 2021-03-18 23:07:14 | [Mutex] isItemNotified: retrieved:item:item-fa879545-3df9-44e5-896c-b17c1e4029a8:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2021-03-18 23:07:14 |
2021-03-18 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:14 | ------------------------------------ 2021-03-18 23:07:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-18 23:07:14 | 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-20b817d4-b055-47d7-b19d-20a76519e5dc</value><value>node-6468bf22-e740-43f3-8ddc-84ef6baf2b8e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.063s |
2021-03-18 23:07:14 |
2021-03-18 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:14 | ------------------------------------ 2021-03-18 23:07:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-20b817d4-b055-47d7-b19d-20a76519e5dc)</node-pattern></data> 2021-03-18 23:07:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.158s |
2021-03-18 23:07:12 |
2021-03-18 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:12 | ------------------------------------ 2021-03-18 23:07:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-20b817d4-b055-47d7-b19d-20a76519e5dc</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-18 23:07:12 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.324s |
2021-03-18 23:07:14 |
2021-03-18 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-18 23:07:14 | ------------------------------------ 2021-03-18 23:07:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-20b817d4-b055-47d7-b19d-20a76519e5dc</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-18 23:07:14 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |