Test duration : 10.269s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.135s |
2021-10-03 23:01:42 |
2021-10-03 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:42 | ------------------------------------ 2021-10-03 23:01:42 | [Mutex] waiting for: [configured:node:node-480bc353-61e2-412d-ac64-4ddf3125b0ae:node-e9eec3f0-94d7-40b6-882b-21282612299b] 2021-10-03 23:01:43 | [Mutex] received everything. 2021-10-03 23:01:43 | [Mutex] isItemNotified: configured:node:node-480bc353-61e2-412d-ac64-4ddf3125b0ae:node-e9eec3f0-94d7-40b6-882b-21282612299b :: true 2021-10-03 23:01:44 | [Mutex] waiting for: [received:nodes:9285747c-9319-486d-9b8e-ccaa5a8f4d0b:localhost] 2021-10-03 23:01:44 | [Mutex] received everything. 2021-10-03 23:01:44 | [Mutex] isItemNotified: received:node:9285747c-9319-486d-9b8e-ccaa5a8f4d0b:localhost:node-480bc353-61e2-412d-ac64-4ddf3125b0ae:Node 480bc353-61e2-412d-ac64-4ddf3125b0ae :: true 2021-10-03 23:01:44 | [Mutex] waiting for: [received:nodes:754188f6-ce9f-45f5-832d-90ed94e31e26:localhost] 2021-10-03 23:01:44 | [Mutex] received everything. 2021-10-03 23:01:44 | [Mutex] isItemNotified: received:node:754188f6-ce9f-45f5-832d-90ed94e31e26:localhost:node-480bc353-61e2-412d-ac64-4ddf3125b0ae:Node 480bc353-61e2-412d-ac64-4ddf3125b0ae :: false |
createNodes | 1.520s |
2021-10-03 23:01:40 |
2021-10-03 23:01:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:40 | ------------------------------------ 2021-10-03 23:01:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-480bc353-61e2-412d-ac64-4ddf3125b0ae</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 480bc353-61e2-412d-ac64-4ddf3125b0ae</title></pubsub></data> 2021-10-03 23:01:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-03 23:01:41 | [Mutex] waiting for: [received:nodes:6c4881be-fab5-4360-86b4-9efbe953ff3c:localhost] 2021-10-03 23:01:41 | [Mutex] received everything. 2021-10-03 23:01:41 | [Mutex] isItemNotified: received:node:6c4881be-fab5-4360-86b4-9efbe953ff3c:localhost:node-480bc353-61e2-412d-ac64-4ddf3125b0ae:Node 480bc353-61e2-412d-ac64-4ddf3125b0ae :: true |
createSubnodes | 1.039s |
2021-10-03 23:01:41 |
2021-10-03 23:01:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:41 | ------------------------------------ 2021-10-03 23:01:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e9eec3f0-94d7-40b6-882b-21282612299b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e9eec3f0-94d7-40b6-882b-21282612299b</title></pubsub></data> 2021-10-03 23:01:41 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-03 23:01:42 | [Mutex] waiting for: [received:nodes:2b93d15b-91a7-4393-8bcb-b4a3983aa089:localhost] 2021-10-03 23:01:42 | [Mutex] received everything. 2021-10-03 23:01:42 | [Mutex] isItemNotified: received:node:2b93d15b-91a7-4393-8bcb-b4a3983aa089:localhost:node-e9eec3f0-94d7-40b6-882b-21282612299b:Node e9eec3f0-94d7-40b6-882b-21282612299b :: true |
deleteNodes | 1.023s |
2021-10-03 23:01:48 |
2021-10-03 23:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:48 | ------------------------------------ 2021-10-03 23:01:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e9eec3f0-94d7-40b6-882b-21282612299b</node></data> 2021-10-03 23:01:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-03 23:01:49 | [Mutex] waiting for: [received:nodes:ef2d1e9e-9de3-4544-9565-69c78d1cb848:localhost] 2021-10-03 23:01:49 | [Mutex] received everything. 2021-10-03 23:01:49 | [Mutex] isItemNotified: received:node:ef2d1e9e-9de3-4544-9565-69c78d1cb848:localhost:node-e9eec3f0-94d7-40b6-882b-21282612299b:Node e9eec3f0-94d7-40b6-882b-21282612299b :: false |
deleteSubnodes | 1.182s |
2021-10-03 23:01:47 |
2021-10-03 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:47 | ------------------------------------ 2021-10-03 23:01:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-480bc353-61e2-412d-ac64-4ddf3125b0ae</node></data> 2021-10-03 23:01:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-03 23:01:48 | [Mutex] waiting for: [received:nodes:5a736538-e68b-4ea4-999f-f77d3c7f3958:localhost] 2021-10-03 23:01:48 | [Mutex] received everything. 2021-10-03 23:01:48 | [Mutex] isItemNotified: received:node:5a736538-e68b-4ea4-999f-f77d3c7f3958:localhost:node-480bc353-61e2-412d-ac64-4ddf3125b0ae:Node 480bc353-61e2-412d-ac64-4ddf3125b0ae :: false 2021-10-03 23:01:48 | [Mutex] waiting for: [received:nodes:57cd4e5b-da70-4dda-9ce4-b9d4ffe93ead:localhost] 2021-10-03 23:01:48 | [Mutex] received everything. 2021-10-03 23:01:48 | [Mutex] isItemNotified: received:node:57cd4e5b-da70-4dda-9ce4-b9d4ffe93ead:localhost:node-480bc353-61e2-412d-ac64-4ddf3125b0ae:Node 480bc353-61e2-412d-ac64-4ddf3125b0ae :: false |
publishItemsToNodes | 0.253s |
2021-10-03 23:01:45 |
2021-10-03 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:45 | ------------------------------------ 2021-10-03 23:01:45 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-480bc353-61e2-412d-ac64-4ddf3125b0ae</node><item-id>item-d24048bd-1575-4cc1-89f2-7b80f52c62e6</item-id><entry><test>item-d24048bd-1575-4cc1-89f2-7b80f52c62e6</test></entry></data> 2021-10-03 23:01:45 | 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-d24048bd-1575-4cc1-89f2-7b80f52c62e6</value></item-id></result> 2021-10-03 23:01:45 | [Mutex] received everything. 2021-10-03 23:01:45 | [Mutex] isItemNotified: published:item:notifieditem-d24048bd-1575-4cc1-89f2-7b80f52c62e6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.319s |
2021-10-03 23:01:46 |
2021-10-03 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:46 | ------------------------------------ 2021-10-03 23:01:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-480bc353-61e2-412d-ac64-4ddf3125b0ae</node><item-id>item-d24048bd-1575-4cc1-89f2-7b80f52c62e6</item-id></data> 2021-10-03 23:01:46 | 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-d24048bd-1575-4cc1-89f2-7b80f52c62e6</value></item-id></result> 2021-10-03 23:01:46 | [Mutex] received everything. 2021-10-03 23:01:46 | [Mutex] isItemNotified: retracted:item:notifieditem-d24048bd-1575-4cc1-89f2-7b80f52c62e6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.378s |
2021-10-03 23:01:45 |
2021-10-03 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:45 | ------------------------------------ 2021-10-03 23:01:45 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-480bc353-61e2-412d-ac64-4ddf3125b0ae</node><item-id>item-d24048bd-1575-4cc1-89f2-7b80f52c62e6</item-id></data> 2021-10-03 23:01:45 | 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-480bc353-61e2-412d-ac64-4ddf3125b0ae</value></node><item-id type="text-single" label="Item ID"><value>item-d24048bd-1575-4cc1-89f2-7b80f52c62e6</value></item-id><item type="text-multi" label="Item"><value><item id="item-d24048bd-1575-4cc1-89f2-7b80f52c62e6"><test>item-d24048bd-1575-4cc1-89f2-7b80f52c62e6</test></item></value></item></result> 2021-10-03 23:01:45 | [Mutex] notify: [retrieved:item:item-d24048bd-1575-4cc1-89f2-7b80f52c62e6:payload-matches:true:localhost] 2021-10-03 23:01:45 | [Mutex] received everything. 2021-10-03 23:01:45 | [Mutex] isItemNotified: retrieved:item:item-d24048bd-1575-4cc1-89f2-7b80f52c62e6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-10-03 23:01:45 |
2021-10-03 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:45 | ------------------------------------ 2021-10-03 23:01:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-03 23:01:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-e9eec3f0-94d7-40b6-882b-21282612299b</value><value>node-480bc353-61e2-412d-ac64-4ddf3125b0ae</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-10-03 23:01:45 |
2021-10-03 23:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:45 | ------------------------------------ 2021-10-03 23:01:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-480bc353-61e2-412d-ac64-4ddf3125b0ae)</node-pattern></data> 2021-10-03 23:01:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.157s |
2021-10-03 23:01:44 |
2021-10-03 23:01:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:44 | ------------------------------------ 2021-10-03 23:01:44 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-480bc353-61e2-412d-ac64-4ddf3125b0ae</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-03 23:01:44 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.267s |
2021-10-03 23:01:46 |
2021-10-03 23:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-03 23:01:46 | ------------------------------------ 2021-10-03 23:01:46 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-480bc353-61e2-412d-ac64-4ddf3125b0ae</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-03 23:01:46 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |