Test duration : 9.973s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2020-09-18 09:38:26 |
2020-09-18 09:38:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:26 | ------------------------------------ 2020-09-18 09:38:26 | [Mutex] waiting for: [configured:node:node-9bc58712-9f21-4908-a741-14ea0db291ca:node-1e494dea-619a-48b6-b4bd-9aa78958d339] 2020-09-18 09:38:26 | [Mutex] received everything. 2020-09-18 09:38:26 | [Mutex] isItemNotified: configured:node:node-9bc58712-9f21-4908-a741-14ea0db291ca:node-1e494dea-619a-48b6-b4bd-9aa78958d339 :: true 2020-09-18 09:38:27 | [Mutex] waiting for: [received:nodes:aaa8999f-0208-4827-8d70-813f7f61faf9:localhost] 2020-09-18 09:38:27 | [Mutex] received everything. 2020-09-18 09:38:27 | [Mutex] isItemNotified: received:node:aaa8999f-0208-4827-8d70-813f7f61faf9:localhost:node-9bc58712-9f21-4908-a741-14ea0db291ca:Node 9bc58712-9f21-4908-a741-14ea0db291ca :: true 2020-09-18 09:38:27 | [Mutex] waiting for: [received:nodes:c2ede6df-ca7a-471c-89a9-6d26f7be997d:localhost] 2020-09-18 09:38:28 | [Mutex] waiting for: [received:nodes:c2ede6df-ca7a-471c-89a9-6d26f7be997d:localhost] 2020-09-18 09:38:28 | [Mutex] waiting for: [received:nodes:c2ede6df-ca7a-471c-89a9-6d26f7be997d:localhost] 2020-09-18 09:38:28 | [Mutex] waiting for: [received:nodes:c2ede6df-ca7a-471c-89a9-6d26f7be997d:localhost] 2020-09-18 09:38:28 | [Mutex] received everything. 2020-09-18 09:38:28 | [Mutex] isItemNotified: received:node:c2ede6df-ca7a-471c-89a9-6d26f7be997d:localhost:node-9bc58712-9f21-4908-a741-14ea0db291ca:Node 9bc58712-9f21-4908-a741-14ea0db291ca :: false |
createNodes | 1.567s |
2020-09-18 09:38:24 |
2020-09-18 09:38:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:24 | ------------------------------------ 2020-09-18 09:38:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9bc58712-9f21-4908-a741-14ea0db291ca</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9bc58712-9f21-4908-a741-14ea0db291ca</title></pubsub></data> 2020-09-18 09:38:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 09:38:25 | [Mutex] waiting for: [received:nodes:114d3835-cd11-4413-982f-05fae6907a6e:localhost] 2020-09-18 09:38:25 | [Mutex] waiting for: [received:nodes:114d3835-cd11-4413-982f-05fae6907a6e:localhost] 2020-09-18 09:38:25 | [Mutex] received everything. 2020-09-18 09:38:25 | [Mutex] isItemNotified: received:node:114d3835-cd11-4413-982f-05fae6907a6e:localhost:node-9bc58712-9f21-4908-a741-14ea0db291ca:Node 9bc58712-9f21-4908-a741-14ea0db291ca :: true |
createSubnodes | 1.030s |
2020-09-18 09:38:25 |
2020-09-18 09:38:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:25 | ------------------------------------ 2020-09-18 09:38:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1e494dea-619a-48b6-b4bd-9aa78958d339</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1e494dea-619a-48b6-b4bd-9aa78958d339</title></pubsub></data> 2020-09-18 09:38:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 09:38:26 | [Mutex] waiting for: [received:nodes:fee6a6b0-f871-40de-835a-aa0fb83a2559:localhost] 2020-09-18 09:38:26 | [Mutex] received everything. 2020-09-18 09:38:26 | [Mutex] isItemNotified: received:node:fee6a6b0-f871-40de-835a-aa0fb83a2559:localhost:node-1e494dea-619a-48b6-b4bd-9aa78958d339:Node 1e494dea-619a-48b6-b4bd-9aa78958d339 :: true |
deleteNodes | 1.018s |
2020-09-18 09:38:32 |
2020-09-18 09:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:32 | ------------------------------------ 2020-09-18 09:38:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1e494dea-619a-48b6-b4bd-9aa78958d339</node></data> 2020-09-18 09:38:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 09:38:33 | [Mutex] waiting for: [received:nodes:0e5e4aba-376f-42f9-b1e2-f7b1447f4b55:localhost] 2020-09-18 09:38:33 | [Mutex] received everything. 2020-09-18 09:38:33 | [Mutex] isItemNotified: received:node:0e5e4aba-376f-42f9-b1e2-f7b1447f4b55:localhost:node-1e494dea-619a-48b6-b4bd-9aa78958d339:Node 1e494dea-619a-48b6-b4bd-9aa78958d339 :: false |
deleteSubnodes | 1.135s |
2020-09-18 09:38:31 |
2020-09-18 09:38:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:31 | ------------------------------------ 2020-09-18 09:38:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9bc58712-9f21-4908-a741-14ea0db291ca</node></data> 2020-09-18 09:38:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 09:38:32 | [Mutex] waiting for: [received:nodes:9b7e5fbf-2391-4563-b1c5-462e2db66431:localhost] 2020-09-18 09:38:32 | [Mutex] waiting for: [received:nodes:9b7e5fbf-2391-4563-b1c5-462e2db66431:localhost] 2020-09-18 09:38:32 | [Mutex] received everything. 2020-09-18 09:38:32 | [Mutex] isItemNotified: received:node:9b7e5fbf-2391-4563-b1c5-462e2db66431:localhost:node-9bc58712-9f21-4908-a741-14ea0db291ca:Node 9bc58712-9f21-4908-a741-14ea0db291ca :: false 2020-09-18 09:38:32 | [Mutex] waiting for: [received:nodes:333c4ddd-1151-4be1-abf9-f5c53c003d75:localhost] 2020-09-18 09:38:32 | [Mutex] received everything. 2020-09-18 09:38:32 | [Mutex] isItemNotified: received:node:333c4ddd-1151-4be1-abf9-f5c53c003d75:localhost:node-9bc58712-9f21-4908-a741-14ea0db291ca:Node 9bc58712-9f21-4908-a741-14ea0db291ca :: false |
publishItemsToNodes | 0.215s |
2020-09-18 09:38:29 |
2020-09-18 09:38:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:29 | ------------------------------------ 2020-09-18 09:38:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9bc58712-9f21-4908-a741-14ea0db291ca</node><item-id>item-051e433b-d3f9-4e45-b566-3887a32795e9</item-id><entry><test>item-051e433b-d3f9-4e45-b566-3887a32795e9</test></entry></data> 2020-09-18 09:38:29 | 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-051e433b-d3f9-4e45-b566-3887a32795e9</value></item-id></result> 2020-09-18 09:38:29 | [Mutex] received everything. 2020-09-18 09:38:29 | [Mutex] isItemNotified: published:item:notifieditem-051e433b-d3f9-4e45-b566-3887a32795e9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.252s |
2020-09-18 09:38:29 |
2020-09-18 09:38:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:29 | ------------------------------------ 2020-09-18 09:38:29 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9bc58712-9f21-4908-a741-14ea0db291ca</node><item-id>item-051e433b-d3f9-4e45-b566-3887a32795e9</item-id></data> 2020-09-18 09:38:30 | 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-051e433b-d3f9-4e45-b566-3887a32795e9</value></item-id></result> 2020-09-18 09:38:30 | [Mutex] received everything. 2020-09-18 09:38:30 | [Mutex] isItemNotified: retracted:item:notifieditem-051e433b-d3f9-4e45-b566-3887a32795e9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.306s |
2020-09-18 09:38:29 |
2020-09-18 09:38:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:29 | ------------------------------------ 2020-09-18 09:38:29 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9bc58712-9f21-4908-a741-14ea0db291ca</node><item-id>item-051e433b-d3f9-4e45-b566-3887a32795e9</item-id></data> 2020-09-18 09:38:29 | 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-9bc58712-9f21-4908-a741-14ea0db291ca</value></node><item-id type="text-single" label="Item ID"><value>item-051e433b-d3f9-4e45-b566-3887a32795e9</value></item-id><item type="text-multi" label="Item"><value><item id="item-051e433b-d3f9-4e45-b566-3887a32795e9"><test>item-051e433b-d3f9-4e45-b566-3887a32795e9</test></item></value></item></result> 2020-09-18 09:38:29 | [Mutex] notify: [retrieved:item:item-051e433b-d3f9-4e45-b566-3887a32795e9:payload-matches:true:localhost] 2020-09-18 09:38:29 | [Mutex] received everything. 2020-09-18 09:38:29 | [Mutex] isItemNotified: retrieved:item:item-051e433b-d3f9-4e45-b566-3887a32795e9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-18 09:38:29 |
2020-09-18 09:38:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:29 | ------------------------------------ 2020-09-18 09:38:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-18 09:38:29 | 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-9bc58712-9f21-4908-a741-14ea0db291ca</value><value>node-1e494dea-619a-48b6-b4bd-9aa78958d339</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-18 09:38:29 |
2020-09-18 09:38:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:29 | ------------------------------------ 2020-09-18 09:38:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9bc58712-9f21-4908-a741-14ea0db291ca)</node-pattern></data> 2020-09-18 09:38:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.114s |
2020-09-18 09:38:28 |
2020-09-18 09:38:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:28 | ------------------------------------ 2020-09-18 09:38:28 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9bc58712-9f21-4908-a741-14ea0db291ca</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 09:38:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.190s |
2020-09-18 09:38:30 |
2020-09-18 09:38:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 09:38:30 | ------------------------------------ 2020-09-18 09:38:30 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9bc58712-9f21-4908-a741-14ea0db291ca</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 09:38:30 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |