Test duration: 10.796s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.130s |
2019-12-03 19:12:58 |
2019-12-03 19:12:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:12:58 | ------------------------------------ 2019-12-03 19:12:58 | [Mutex] waiting for: [configured:node:node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76:node-aba208c0-ebae-412d-9f79-427af62bb51a] 2019-12-03 19:12:58 | [Mutex] received everything. 2019-12-03 19:12:58 | [Mutex] isItemNotified: configured:node:node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76:node-aba208c0-ebae-412d-9f79-427af62bb51a :: true 2019-12-03 19:12:59 | [Mutex] waiting for: [received:nodes:ee7cb03c-ae56-457c-981a-6f808ea7b3c2:localhost] 2019-12-03 19:12:59 | [Mutex] received everything. 2019-12-03 19:12:59 | [Mutex] isItemNotified: received:node:ee7cb03c-ae56-457c-981a-6f808ea7b3c2:localhost:node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76:Node fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76 :: true 2019-12-03 19:12:59 | [Mutex] waiting for: [received:nodes:cf1cf58e-9c07-47b3-a23a-e8b930a14c2d:localhost] 2019-12-03 19:12:59 | [Mutex] received everything. 2019-12-03 19:12:59 | [Mutex] isItemNotified: received:node:cf1cf58e-9c07-47b3-a23a-e8b930a14c2d:localhost:node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76:Node fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76 :: false |
createNodes | 1.853s |
2019-12-03 19:12:55 |
2019-12-03 19:12:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:12:55 | ------------------------------------ 2019-12-03 19:12:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</title></pubsub></data> 2019-12-03 19:12:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-03 19:12:57 | [Mutex] waiting for: [received:nodes:77d895d9-781c-42a1-8bf1-3a5fd473f7e1:localhost] 2019-12-03 19:12:57 | [Mutex] waiting for: [received:nodes:77d895d9-781c-42a1-8bf1-3a5fd473f7e1:localhost] 2019-12-03 19:12:57 | [Mutex] received everything. 2019-12-03 19:12:57 | [Mutex] isItemNotified: received:node:77d895d9-781c-42a1-8bf1-3a5fd473f7e1:localhost:node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76:Node fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76 :: true |
createSubnodes | 1.024s |
2019-12-03 19:12:57 |
2019-12-03 19:12:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:12:57 | ------------------------------------ 2019-12-03 19:12:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-aba208c0-ebae-412d-9f79-427af62bb51a</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node aba208c0-ebae-412d-9f79-427af62bb51a</title></pubsub></data> 2019-12-03 19:12:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-03 19:12:58 | [Mutex] waiting for: [received:nodes:3327def3-af7b-46f4-b19e-4ae0dc047f5e:localhost] 2019-12-03 19:12:58 | [Mutex] received everything. 2019-12-03 19:12:58 | [Mutex] isItemNotified: received:node:3327def3-af7b-46f4-b19e-4ae0dc047f5e:localhost:node-aba208c0-ebae-412d-9f79-427af62bb51a:Node aba208c0-ebae-412d-9f79-427af62bb51a :: true |
deleteNodes | 1.028s |
2019-12-03 19:13:04 |
2019-12-03 19:13:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:13:04 | ------------------------------------ 2019-12-03 19:13:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-aba208c0-ebae-412d-9f79-427af62bb51a</node></data> 2019-12-03 19:13:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-03 19:13:05 | [Mutex] waiting for: [received:nodes:a0d1c691-4907-4821-ab37-1f3c569c9f61:localhost] 2019-12-03 19:13:05 | [Mutex] waiting for: [received:nodes:a0d1c691-4907-4821-ab37-1f3c569c9f61:localhost] 2019-12-03 19:13:05 | [Mutex] received everything. 2019-12-03 19:13:05 | [Mutex] isItemNotified: received:node:a0d1c691-4907-4821-ab37-1f3c569c9f61:localhost:node-aba208c0-ebae-412d-9f79-427af62bb51a:Node aba208c0-ebae-412d-9f79-427af62bb51a :: false |
deleteSubnodes | 1.299s |
2019-12-03 19:13:03 |
2019-12-03 19:13:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:13:03 | ------------------------------------ 2019-12-03 19:13:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</node></data> 2019-12-03 19:13:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-12-03 19:13:04 | [Mutex] waiting for: [received:nodes:fae234ab-b3cb-492d-abe2-e7e0f1e4a235:localhost] 2019-12-03 19:13:04 | [Mutex] received everything. 2019-12-03 19:13:04 | [Mutex] isItemNotified: received:node:fae234ab-b3cb-492d-abe2-e7e0f1e4a235:localhost:node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76:Node fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76 :: false 2019-12-03 19:13:04 | [Mutex] waiting for: [received:nodes:32e72e54-2993-461e-9d5a-f5dce560718f:localhost] 2019-12-03 19:13:04 | [Mutex] received everything. 2019-12-03 19:13:04 | [Mutex] isItemNotified: received:node:32e72e54-2993-461e-9d5a-f5dce560718f:localhost:node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76:Node fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76 :: false |
publishItemsToNodes | 0.395s |
2019-12-03 19:13:01 |
2019-12-03 19:13:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:13:01 | ------------------------------------ 2019-12-03 19:13:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</node><item-id>item-f677d05e-5322-4eb6-b8ed-08e6869e56e5</item-id><entry><test>item-f677d05e-5322-4eb6-b8ed-08e6869e56e5</test></entry></data> 2019-12-03 19:13:01 | 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-f677d05e-5322-4eb6-b8ed-08e6869e56e5</value></item-id></result> 2019-12-03 19:13:01 | [Mutex] received everything. 2019-12-03 19:13:01 | [Mutex] isItemNotified: published:item:notifieditem-f677d05e-5322-4eb6-b8ed-08e6869e56e5:admin@localhost :: true |
retractItemsFromNodes | 0.187s |
2019-12-03 19:13:01 |
2019-12-03 19:13:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:13:01 | ------------------------------------ 2019-12-03 19:13:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</node><item-id>item-f677d05e-5322-4eb6-b8ed-08e6869e56e5</item-id></data> 2019-12-03 19:13:02 | 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-f677d05e-5322-4eb6-b8ed-08e6869e56e5</value></item-id></result> 2019-12-03 19:13:02 | [Mutex] received everything. 2019-12-03 19:13:02 | [Mutex] isItemNotified: retracted:item:notifieditem-f677d05e-5322-4eb6-b8ed-08e6869e56e5:admin@localhost :: true |
retrieveItemsFromNodes | 0.244s |
2019-12-03 19:13:01 |
2019-12-03 19:13:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:13:01 | ------------------------------------ 2019-12-03 19:13:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</node><item-id>item-f677d05e-5322-4eb6-b8ed-08e6869e56e5</item-id></data> 2019-12-03 19:13:01 | 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-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</value></node><item-id label="Item ID" type="text-single"><value>item-f677d05e-5322-4eb6-b8ed-08e6869e56e5</value></item-id><item label="Item" type="text-multi"><value><item id="item-f677d05e-5322-4eb6-b8ed-08e6869e56e5"><test>item-f677d05e-5322-4eb6-b8ed-08e6869e56e5</test></item></value></item></result> 2019-12-03 19:13:01 | [Mutex] notify: [retrieved:item:item-f677d05e-5322-4eb6-b8ed-08e6869e56e5:payload-matches:true:localhost] 2019-12-03 19:13:01 | [Mutex] received everything. 2019-12-03 19:13:01 | [Mutex] isItemNotified: retrieved:item:item-f677d05e-5322-4eb6-b8ed-08e6869e56e5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.180s |
2019-12-03 19:13:01 |
2019-12-03 19:13:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:13:01 | ------------------------------------ 2019-12-03 19:13:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-12-03 19:13:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-aba208c0-ebae-412d-9f79-427af62bb51a</value><value>node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2019-12-03 19:13:01 |
2019-12-03 19:13:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:13:01 | ------------------------------------ 2019-12-03 19:13:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76)</node-pattern></data> 2019-12-03 19:13:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.190s |
2019-12-03 19:12:59 |
2019-12-03 19:12:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:12:59 | ------------------------------------ 2019-12-03 19:12:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</node><jids><value>admin@localhost</value></jids></data> 2019-12-03 19:13:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.295s |
2019-12-03 19:13:02 |
2019-12-03 19:13:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-12-03 19:13:02 | ------------------------------------ 2019-12-03 19:13:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-fde52c3e-9bd8-4cd0-9b80-e3493cdbbe76</node><jids><value>admin@localhost</value></jids></data> 2019-12-03 19:13:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |