Test duration: 10.828s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.123s |
2019-11-26 18:45:04 |
2019-11-26 18:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:04 | ------------------------------------ 2019-11-26 18:45:04 | [Mutex] waiting for: [configured:node:node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74:node-ae0244a7-005a-4780-b19e-b244bb73b1a4] 2019-11-26 18:45:04 | [Mutex] received everything. 2019-11-26 18:45:04 | [Mutex] isItemNotified: configured:node:node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74:node-ae0244a7-005a-4780-b19e-b244bb73b1a4 :: true 2019-11-26 18:45:05 | [Mutex] waiting for: [received:nodes:e3bcfaa0-a690-4d5c-9775-27c46447ce1c:localhost] 2019-11-26 18:45:05 | [Mutex] received everything. 2019-11-26 18:45:05 | [Mutex] isItemNotified: received:node:e3bcfaa0-a690-4d5c-9775-27c46447ce1c:localhost:node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74:Node bc9b9932-35dc-4fc0-871f-7c5fb1b93a74 :: true 2019-11-26 18:45:05 | [Mutex] waiting for: [received:nodes:bd532b8e-dd68-4576-a639-3e113d0b33d5:localhost] 2019-11-26 18:45:05 | [Mutex] received everything. 2019-11-26 18:45:05 | [Mutex] isItemNotified: received:node:bd532b8e-dd68-4576-a639-3e113d0b33d5:localhost:node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74:Node bc9b9932-35dc-4fc0-871f-7c5fb1b93a74 :: false |
createNodes | 1.948s |
2019-11-26 18:45:01 |
2019-11-26 18:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:01 | ------------------------------------ 2019-11-26 18:45:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</title></pubsub></data> 2019-11-26 18:45:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 18:45:03 | [Mutex] waiting for: [received:nodes:9533516a-0dec-4922-9486-40feda7e7ea1:localhost] 2019-11-26 18:45:03 | [Mutex] waiting for: [received:nodes:9533516a-0dec-4922-9486-40feda7e7ea1:localhost] 2019-11-26 18:45:03 | [Mutex] received everything. 2019-11-26 18:45:03 | [Mutex] isItemNotified: received:node:9533516a-0dec-4922-9486-40feda7e7ea1:localhost:node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74:Node bc9b9932-35dc-4fc0-871f-7c5fb1b93a74 :: true |
createSubnodes | 1.024s |
2019-11-26 18:45:03 |
2019-11-26 18:45:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:03 | ------------------------------------ 2019-11-26 18:45:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ae0244a7-005a-4780-b19e-b244bb73b1a4</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ae0244a7-005a-4780-b19e-b244bb73b1a4</title></pubsub></data> 2019-11-26 18:45:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 18:45:04 | [Mutex] waiting for: [received:nodes:a73b794b-2e6a-4efd-8c85-f5f1ee881c5a:localhost] 2019-11-26 18:45:04 | [Mutex] received everything. 2019-11-26 18:45:04 | [Mutex] isItemNotified: received:node:a73b794b-2e6a-4efd-8c85-f5f1ee881c5a:localhost:node-ae0244a7-005a-4780-b19e-b244bb73b1a4:Node ae0244a7-005a-4780-b19e-b244bb73b1a4 :: true |
deleteNodes | 1.021s |
2019-11-26 18:45:10 |
2019-11-26 18:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:10 | ------------------------------------ 2019-11-26 18:45:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ae0244a7-005a-4780-b19e-b244bb73b1a4</node></data> 2019-11-26 18:45:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 18:45:11 | [Mutex] waiting for: [received:nodes:25210979-15cd-439e-b2ea-f263371e0745:localhost] 2019-11-26 18:45:11 | [Mutex] received everything. 2019-11-26 18:45:11 | [Mutex] isItemNotified: received:node:25210979-15cd-439e-b2ea-f263371e0745:localhost:node-ae0244a7-005a-4780-b19e-b244bb73b1a4:Node ae0244a7-005a-4780-b19e-b244bb73b1a4 :: false |
deleteSubnodes | 1.140s |
2019-11-26 18:45:09 |
2019-11-26 18:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:09 | ------------------------------------ 2019-11-26 18:45:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</node></data> 2019-11-26 18:45:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-26 18:45:10 | [Mutex] waiting for: [received:nodes:982ae5a4-9f19-478c-affb-5ec7214b672c:localhost] 2019-11-26 18:45:10 | [Mutex] received everything. 2019-11-26 18:45:10 | [Mutex] isItemNotified: received:node:982ae5a4-9f19-478c-affb-5ec7214b672c:localhost:node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74:Node bc9b9932-35dc-4fc0-871f-7c5fb1b93a74 :: false 2019-11-26 18:45:10 | [Mutex] waiting for: [received:nodes:06fe881f-cab4-4919-bf80-5594f2211f45:localhost] 2019-11-26 18:45:10 | [Mutex] received everything. 2019-11-26 18:45:10 | [Mutex] isItemNotified: received:node:06fe881f-cab4-4919-bf80-5594f2211f45:localhost:node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74:Node bc9b9932-35dc-4fc0-871f-7c5fb1b93a74 :: false |
publishItemsToNodes | 0.331s |
2019-11-26 18:45:06 |
2019-11-26 18:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:06 | ------------------------------------ 2019-11-26 18:45:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</node><item-id>item-29c3a727-c16b-4809-875f-ec92f9ac278b</item-id><entry><test>item-29c3a727-c16b-4809-875f-ec92f9ac278b</test></entry></data> 2019-11-26 18:45:06 | 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-29c3a727-c16b-4809-875f-ec92f9ac278b</value></item-id></result> 2019-11-26 18:45:06 | [Mutex] received everything. 2019-11-26 18:45:06 | [Mutex] isItemNotified: published:item:notifieditem-29c3a727-c16b-4809-875f-ec92f9ac278b:admin@localhost :: true |
retractItemsFromNodes | 0.327s |
2019-11-26 18:45:07 |
2019-11-26 18:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:07 | ------------------------------------ 2019-11-26 18:45:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</node><item-id>item-29c3a727-c16b-4809-875f-ec92f9ac278b</item-id></data> 2019-11-26 18:45:07 | 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-29c3a727-c16b-4809-875f-ec92f9ac278b</value></item-id></result> 2019-11-26 18:45:07 | [Mutex] received everything. 2019-11-26 18:45:07 | [Mutex] isItemNotified: retracted:item:notifieditem-29c3a727-c16b-4809-875f-ec92f9ac278b:admin@localhost :: true |
retrieveItemsFromNodes | 0.254s |
2019-11-26 18:45:06 |
2019-11-26 18:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:06 | ------------------------------------ 2019-11-26 18:45:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</node><item-id>item-29c3a727-c16b-4809-875f-ec92f9ac278b</item-id></data> 2019-11-26 18:45:07 | 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-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</value></node><item-id label="Item ID" type="text-single"><value>item-29c3a727-c16b-4809-875f-ec92f9ac278b</value></item-id><item label="Item" type="text-multi"><value><item id="item-29c3a727-c16b-4809-875f-ec92f9ac278b"><test>item-29c3a727-c16b-4809-875f-ec92f9ac278b</test></item></value></item></result> 2019-11-26 18:45:07 | [Mutex] notify: [retrieved:item:item-29c3a727-c16b-4809-875f-ec92f9ac278b:payload-matches:true:localhost] 2019-11-26 18:45:07 | [Mutex] received everything. 2019-11-26 18:45:07 | [Mutex] isItemNotified: retrieved:item:item-29c3a727-c16b-4809-875f-ec92f9ac278b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.300s |
2019-11-26 18:45:07 |
2019-11-26 18:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:07 | ------------------------------------ 2019-11-26 18:45:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-26 18:45:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</value><value>node-ae0244a7-005a-4780-b19e-b244bb73b1a4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2019-11-26 18:45:07 |
2019-11-26 18:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:07 | ------------------------------------ 2019-11-26 18:45:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74)</node-pattern></data> 2019-11-26 18:45:07 | 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-11-26 18:45:05 |
2019-11-26 18:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:05 | ------------------------------------ 2019-11-26 18:45:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</node><jids><value>admin@localhost</value></jids></data> 2019-11-26 18:45:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.271s |
2019-11-26 18:45:07 |
2019-11-26 18:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-26 18:45:07 | ------------------------------------ 2019-11-26 18:45:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bc9b9932-35dc-4fc0-871f-7c5fb1b93a74</node><jids><value>admin@localhost</value></jids></data> 2019-11-26 18:45:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |