Test duration : 10.142s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.177s |
2020-10-18 22:31:08 |
2020-10-18 22:31:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:08 | ------------------------------------ 2020-10-18 22:31:08 | [Mutex] waiting for: [configured:node:node-ea7dda72-e65e-4bb4-8819-78aafe9fad51:node-01e281fc-b709-4e68-9c59-bdf8b63b9170] 2020-10-18 22:31:08 | [Mutex] received everything. 2020-10-18 22:31:08 | [Mutex] isItemNotified: configured:node:node-ea7dda72-e65e-4bb4-8819-78aafe9fad51:node-01e281fc-b709-4e68-9c59-bdf8b63b9170 :: true 2020-10-18 22:31:09 | [Mutex] waiting for: [received:nodes:3b9a40a8-1d7e-4315-bad0-0acf32def43d:localhost] 2020-10-18 22:31:09 | [Mutex] received everything. 2020-10-18 22:31:09 | [Mutex] isItemNotified: received:node:3b9a40a8-1d7e-4315-bad0-0acf32def43d:localhost:node-ea7dda72-e65e-4bb4-8819-78aafe9fad51:Node ea7dda72-e65e-4bb4-8819-78aafe9fad51 :: true 2020-10-18 22:31:09 | [Mutex] waiting for: [received:nodes:c8957e95-48c6-410f-84dc-a786dbf1974f:localhost] 2020-10-18 22:31:09 | [Mutex] received everything. 2020-10-18 22:31:09 | [Mutex] isItemNotified: received:node:c8957e95-48c6-410f-84dc-a786dbf1974f:localhost:node-ea7dda72-e65e-4bb4-8819-78aafe9fad51:Node ea7dda72-e65e-4bb4-8819-78aafe9fad51 :: false |
createNodes | 1.370s |
2020-10-18 22:31:06 |
2020-10-18 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:06 | ------------------------------------ 2020-10-18 22:31:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ea7dda72-e65e-4bb4-8819-78aafe9fad51</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ea7dda72-e65e-4bb4-8819-78aafe9fad51</title></pubsub></data> 2020-10-18 22:31:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 22:31:07 | [Mutex] waiting for: [received:nodes:a77551ac-f1e9-4939-8dfa-1c339d973b7e:localhost] 2020-10-18 22:31:07 | [Mutex] waiting for: [received:nodes:a77551ac-f1e9-4939-8dfa-1c339d973b7e:localhost] 2020-10-18 22:31:07 | [Mutex] received everything. 2020-10-18 22:31:07 | [Mutex] isItemNotified: received:node:a77551ac-f1e9-4939-8dfa-1c339d973b7e:localhost:node-ea7dda72-e65e-4bb4-8819-78aafe9fad51:Node ea7dda72-e65e-4bb4-8819-78aafe9fad51 :: true |
createSubnodes | 1.031s |
2020-10-18 22:31:07 |
2020-10-18 22:31:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:07 | ------------------------------------ 2020-10-18 22:31:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-01e281fc-b709-4e68-9c59-bdf8b63b9170</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 01e281fc-b709-4e68-9c59-bdf8b63b9170</title></pubsub></data> 2020-10-18 22:31:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 22:31:08 | [Mutex] waiting for: [received:nodes:4a8e54ab-8c29-453a-96c3-7ed7a5af9925:localhost] 2020-10-18 22:31:08 | [Mutex] received everything. 2020-10-18 22:31:08 | [Mutex] isItemNotified: received:node:4a8e54ab-8c29-453a-96c3-7ed7a5af9925:localhost:node-01e281fc-b709-4e68-9c59-bdf8b63b9170:Node 01e281fc-b709-4e68-9c59-bdf8b63b9170 :: true |
deleteNodes | 1.020s |
2020-10-18 22:31:14 |
2020-10-18 22:31:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:14 | ------------------------------------ 2020-10-18 22:31:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-01e281fc-b709-4e68-9c59-bdf8b63b9170</node></data> 2020-10-18 22:31:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 22:31:15 | [Mutex] waiting for: [received:nodes:496f5e85-32e9-4069-867a-735606a9333a:localhost] 2020-10-18 22:31:15 | [Mutex] received everything. 2020-10-18 22:31:15 | [Mutex] isItemNotified: received:node:496f5e85-32e9-4069-867a-735606a9333a:localhost:node-01e281fc-b709-4e68-9c59-bdf8b63b9170:Node 01e281fc-b709-4e68-9c59-bdf8b63b9170 :: false |
deleteSubnodes | 1.131s |
2020-10-18 22:31:13 |
2020-10-18 22:31:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:13 | ------------------------------------ 2020-10-18 22:31:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ea7dda72-e65e-4bb4-8819-78aafe9fad51</node></data> 2020-10-18 22:31:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-18 22:31:14 | [Mutex] waiting for: [received:nodes:419d2978-5ea9-4d96-9fe6-96719bc21ab7:localhost] 2020-10-18 22:31:14 | [Mutex] waiting for: [received:nodes:419d2978-5ea9-4d96-9fe6-96719bc21ab7:localhost] 2020-10-18 22:31:14 | [Mutex] received everything. 2020-10-18 22:31:14 | [Mutex] isItemNotified: received:node:419d2978-5ea9-4d96-9fe6-96719bc21ab7:localhost:node-ea7dda72-e65e-4bb4-8819-78aafe9fad51:Node ea7dda72-e65e-4bb4-8819-78aafe9fad51 :: false 2020-10-18 22:31:14 | [Mutex] waiting for: [received:nodes:a8560d2b-1aa9-4dfd-a009-8d2473d9a546:localhost] 2020-10-18 22:31:14 | [Mutex] received everything. 2020-10-18 22:31:14 | [Mutex] isItemNotified: received:node:a8560d2b-1aa9-4dfd-a009-8d2473d9a546:localhost:node-ea7dda72-e65e-4bb4-8819-78aafe9fad51:Node ea7dda72-e65e-4bb4-8819-78aafe9fad51 :: false |
publishItemsToNodes | 0.199s |
2020-10-18 22:31:11 |
2020-10-18 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:11 | ------------------------------------ 2020-10-18 22:31:11 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ea7dda72-e65e-4bb4-8819-78aafe9fad51</node><item-id>item-56b6de01-943e-4a78-8e8b-d25569c66139</item-id><entry><test>item-56b6de01-943e-4a78-8e8b-d25569c66139</test></entry></data> 2020-10-18 22:31:11 | 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-56b6de01-943e-4a78-8e8b-d25569c66139</value></item-id></result> 2020-10-18 22:31:11 | [Mutex] received everything. 2020-10-18 22:31:11 | [Mutex] isItemNotified: published:item:notifieditem-56b6de01-943e-4a78-8e8b-d25569c66139:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2020-10-18 22:31:11 |
2020-10-18 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:11 | ------------------------------------ 2020-10-18 22:31:11 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ea7dda72-e65e-4bb4-8819-78aafe9fad51</node><item-id>item-56b6de01-943e-4a78-8e8b-d25569c66139</item-id></data> 2020-10-18 22:31:11 | 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-56b6de01-943e-4a78-8e8b-d25569c66139</value></item-id></result> 2020-10-18 22:31:11 | [Mutex] received everything. 2020-10-18 22:31:11 | [Mutex] isItemNotified: retracted:item:notifieditem-56b6de01-943e-4a78-8e8b-d25569c66139:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.304s |
2020-10-18 22:31:11 |
2020-10-18 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:11 | ------------------------------------ 2020-10-18 22:31:11 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ea7dda72-e65e-4bb4-8819-78aafe9fad51</node><item-id>item-56b6de01-943e-4a78-8e8b-d25569c66139</item-id></data> 2020-10-18 22:31:11 | 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-ea7dda72-e65e-4bb4-8819-78aafe9fad51</value></node><item-id label="Item ID" type="text-single"><value>item-56b6de01-943e-4a78-8e8b-d25569c66139</value></item-id><item label="Item" type="text-multi"><value><item id="item-56b6de01-943e-4a78-8e8b-d25569c66139"><test>item-56b6de01-943e-4a78-8e8b-d25569c66139</test></item></value></item></result> 2020-10-18 22:31:11 | [Mutex] notify: [retrieved:item:item-56b6de01-943e-4a78-8e8b-d25569c66139:payload-matches:true:localhost] 2020-10-18 22:31:11 | [Mutex] received everything. 2020-10-18 22:31:11 | [Mutex] isItemNotified: retrieved:item:item-56b6de01-943e-4a78-8e8b-d25569c66139:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-10-18 22:31:11 |
2020-10-18 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:11 | ------------------------------------ 2020-10-18 22:31:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-18 22:31:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-ea7dda72-e65e-4bb4-8819-78aafe9fad51</value><value>node-01e281fc-b709-4e68-9c59-bdf8b63b9170</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2020-10-18 22:31:11 |
2020-10-18 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:11 | ------------------------------------ 2020-10-18 22:31:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ea7dda72-e65e-4bb4-8819-78aafe9fad51)</node-pattern></data> 2020-10-18 22:31:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.111s |
2020-10-18 22:31:09 |
2020-10-18 22:31:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:09 | ------------------------------------ 2020-10-18 22:31:09 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ea7dda72-e65e-4bb4-8819-78aafe9fad51</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-18 22:31:10 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.395s |
2020-10-18 22:31:11 |
2020-10-18 22:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-18 22:31:11 | ------------------------------------ 2020-10-18 22:31:11 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ea7dda72-e65e-4bb4-8819-78aafe9fad51</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-18 22:31:12 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |