Test duration : 10.014s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.037s |
2021-05-03 22:30:49 |
2021-05-03 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:49 | ------------------------------------ 2021-05-03 22:30:49 | [Mutex] waiting for: [configured:node:node-a49450a8-aaeb-4393-9a77-41c218d4912d:node-a79dd925-99dc-4260-a63a-a2b4bbc80412] 2021-05-03 22:30:49 | [Mutex] received everything. 2021-05-03 22:30:49 | [Mutex] isItemNotified: configured:node:node-a49450a8-aaeb-4393-9a77-41c218d4912d:node-a79dd925-99dc-4260-a63a-a2b4bbc80412 :: true 2021-05-03 22:30:50 | [Mutex] waiting for: [received:nodes:900cdfa2-2037-462e-9dc4-0fd9bd2b5d3a:localhost] 2021-05-03 22:30:50 | [Mutex] received everything. 2021-05-03 22:30:50 | [Mutex] isItemNotified: received:node:900cdfa2-2037-462e-9dc4-0fd9bd2b5d3a:localhost:node-a49450a8-aaeb-4393-9a77-41c218d4912d:Node a49450a8-aaeb-4393-9a77-41c218d4912d :: true 2021-05-03 22:30:50 | [Mutex] waiting for: [received:nodes:492a08e6-898c-4de3-bb0b-08735af23345:localhost] 2021-05-03 22:30:50 | [Mutex] received everything. 2021-05-03 22:30:50 | [Mutex] isItemNotified: received:node:492a08e6-898c-4de3-bb0b-08735af23345:localhost:node-a49450a8-aaeb-4393-9a77-41c218d4912d:Node a49450a8-aaeb-4393-9a77-41c218d4912d :: false |
createNodes | 1.417s |
2021-05-03 22:30:46 |
2021-05-03 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:46 | ------------------------------------ 2021-05-03 22:30:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a49450a8-aaeb-4393-9a77-41c218d4912d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a49450a8-aaeb-4393-9a77-41c218d4912d</title></pubsub></data> 2021-05-03 22:30:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-03 22:30:48 | [Mutex] waiting for: [received:nodes:0784c421-f533-4b90-b89d-95ddaa429f08:localhost] 2021-05-03 22:30:48 | [Mutex] received everything. 2021-05-03 22:30:48 | [Mutex] isItemNotified: received:node:0784c421-f533-4b90-b89d-95ddaa429f08:localhost:node-a49450a8-aaeb-4393-9a77-41c218d4912d:Node a49450a8-aaeb-4393-9a77-41c218d4912d :: true |
createSubnodes | 1.029s |
2021-05-03 22:30:48 |
2021-05-03 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:48 | ------------------------------------ 2021-05-03 22:30:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a79dd925-99dc-4260-a63a-a2b4bbc80412</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a79dd925-99dc-4260-a63a-a2b4bbc80412</title></pubsub></data> 2021-05-03 22:30:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-03 22:30:49 | [Mutex] waiting for: [received:nodes:0a95578c-86b5-4cd8-9686-0fe48f15e13c:localhost] 2021-05-03 22:30:49 | [Mutex] received everything. 2021-05-03 22:30:49 | [Mutex] isItemNotified: received:node:0a95578c-86b5-4cd8-9686-0fe48f15e13c:localhost:node-a79dd925-99dc-4260-a63a-a2b4bbc80412:Node a79dd925-99dc-4260-a63a-a2b4bbc80412 :: true |
deleteNodes | 1.023s |
2021-05-03 22:30:55 |
2021-05-03 22:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:55 | ------------------------------------ 2021-05-03 22:30:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a79dd925-99dc-4260-a63a-a2b4bbc80412</node></data> 2021-05-03 22:30:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-03 22:30:56 | [Mutex] waiting for: [received:nodes:60315c3a-c0eb-4e46-9fbc-8f623771a261:localhost] 2021-05-03 22:30:56 | [Mutex] received everything. 2021-05-03 22:30:56 | [Mutex] isItemNotified: received:node:60315c3a-c0eb-4e46-9fbc-8f623771a261:localhost:node-a79dd925-99dc-4260-a63a-a2b4bbc80412:Node a79dd925-99dc-4260-a63a-a2b4bbc80412 :: false |
deleteSubnodes | 1.140s |
2021-05-03 22:30:53 |
2021-05-03 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:53 | ------------------------------------ 2021-05-03 22:30:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a49450a8-aaeb-4393-9a77-41c218d4912d</node></data> 2021-05-03 22:30:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-03 22:30:55 | [Mutex] waiting for: [received:nodes:c78bbd28-8d78-4a7c-9689-e5a26a976a6f:localhost] 2021-05-03 22:30:55 | [Mutex] waiting for: [received:nodes:c78bbd28-8d78-4a7c-9689-e5a26a976a6f:localhost] 2021-05-03 22:30:55 | [Mutex] waiting for: [received:nodes:c78bbd28-8d78-4a7c-9689-e5a26a976a6f:localhost] 2021-05-03 22:30:55 | [Mutex] received everything. 2021-05-03 22:30:55 | [Mutex] isItemNotified: received:node:c78bbd28-8d78-4a7c-9689-e5a26a976a6f:localhost:node-a49450a8-aaeb-4393-9a77-41c218d4912d:Node a49450a8-aaeb-4393-9a77-41c218d4912d :: false 2021-05-03 22:30:55 | [Mutex] waiting for: [received:nodes:2959aabc-d4d5-4397-8cf6-fbbb4afdddd5:localhost] 2021-05-03 22:30:55 | [Mutex] received everything. 2021-05-03 22:30:55 | [Mutex] isItemNotified: received:node:2959aabc-d4d5-4397-8cf6-fbbb4afdddd5:localhost:node-a49450a8-aaeb-4393-9a77-41c218d4912d:Node a49450a8-aaeb-4393-9a77-41c218d4912d :: false |
publishItemsToNodes | 0.274s |
2021-05-03 22:30:51 |
2021-05-03 22:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:51 | ------------------------------------ 2021-05-03 22:30:51 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a49450a8-aaeb-4393-9a77-41c218d4912d</node><item-id>item-c054bcd1-4087-4ea2-96f7-45809a9d5e51</item-id><entry><test>item-c054bcd1-4087-4ea2-96f7-45809a9d5e51</test></entry></data> 2021-05-03 22:30:51 | 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-c054bcd1-4087-4ea2-96f7-45809a9d5e51</value></item-id></result> 2021-05-03 22:30:51 | [Mutex] received everything. 2021-05-03 22:30:51 | [Mutex] isItemNotified: published:item:notifieditem-c054bcd1-4087-4ea2-96f7-45809a9d5e51:admin@test-domain.com :: true |
retractItemsFromNodes | 0.311s |
2021-05-03 22:30:52 |
2021-05-03 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:52 | ------------------------------------ 2021-05-03 22:30:52 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a49450a8-aaeb-4393-9a77-41c218d4912d</node><item-id>item-c054bcd1-4087-4ea2-96f7-45809a9d5e51</item-id></data> 2021-05-03 22:30:52 | 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-c054bcd1-4087-4ea2-96f7-45809a9d5e51</value></item-id></result> 2021-05-03 22:30:52 | [Mutex] received everything. 2021-05-03 22:30:52 | [Mutex] isItemNotified: retracted:item:notifieditem-c054bcd1-4087-4ea2-96f7-45809a9d5e51:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.273s |
2021-05-03 22:30:51 |
2021-05-03 22:30:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:51 | ------------------------------------ 2021-05-03 22:30:51 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a49450a8-aaeb-4393-9a77-41c218d4912d</node><item-id>item-c054bcd1-4087-4ea2-96f7-45809a9d5e51</item-id></data> 2021-05-03 22:30:52 | 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-a49450a8-aaeb-4393-9a77-41c218d4912d</value></node><item-id label="Item ID" type="text-single"><value>item-c054bcd1-4087-4ea2-96f7-45809a9d5e51</value></item-id><item label="Item" type="text-multi"><value><item id="item-c054bcd1-4087-4ea2-96f7-45809a9d5e51"><test>item-c054bcd1-4087-4ea2-96f7-45809a9d5e51</test></item></value></item></result> 2021-05-03 22:30:52 | [Mutex] notify: [retrieved:item:item-c054bcd1-4087-4ea2-96f7-45809a9d5e51:payload-matches:true:localhost] 2021-05-03 22:30:52 | [Mutex] received everything. 2021-05-03 22:30:52 | [Mutex] isItemNotified: retrieved:item:item-c054bcd1-4087-4ea2-96f7-45809a9d5e51:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-03 22:30:52 |
2021-05-03 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:52 | ------------------------------------ 2021-05-03 22:30:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-03 22:30:52 | 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-a79dd925-99dc-4260-a63a-a2b4bbc80412</value><value>node-a49450a8-aaeb-4393-9a77-41c218d4912d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-05-03 22:30:52 |
2021-05-03 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:52 | ------------------------------------ 2021-05-03 22:30:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a49450a8-aaeb-4393-9a77-41c218d4912d)</node-pattern></data> 2021-05-03 22:30:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.160s |
2021-05-03 22:30:50 |
2021-05-03 22:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:50 | ------------------------------------ 2021-05-03 22:30:50 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a49450a8-aaeb-4393-9a77-41c218d4912d</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-03 22:30:50 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.339s |
2021-05-03 22:30:52 |
2021-05-03 22:30:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-03 22:30:52 | ------------------------------------ 2021-05-03 22:30:52 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a49450a8-aaeb-4393-9a77-41c218d4912d</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-03 22:30:52 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |