Test duration : 10.038s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2020-09-18 22:39:38 |
2020-09-18 22:39:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:38 | ------------------------------------ 2020-09-18 22:39:38 | [Mutex] waiting for: [configured:node:node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0:node-97a08f97-9370-4c8e-80cd-680471437252] 2020-09-18 22:39:38 | [Mutex] received everything. 2020-09-18 22:39:38 | [Mutex] isItemNotified: configured:node:node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0:node-97a08f97-9370-4c8e-80cd-680471437252 :: true 2020-09-18 22:39:39 | [Mutex] waiting for: [received:nodes:e9e2b178-e7f5-4fcf-9b08-e86403ce397f:localhost] 2020-09-18 22:39:39 | [Mutex] received everything. 2020-09-18 22:39:39 | [Mutex] isItemNotified: received:node:e9e2b178-e7f5-4fcf-9b08-e86403ce397f:localhost:node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0:Node abbe7e44-c511-41ee-a620-aa9c1efbe5f0 :: true 2020-09-18 22:39:39 | [Mutex] waiting for: [received:nodes:e9dec1e4-d959-42e4-9848-35d002a5c69c:localhost] 2020-09-18 22:39:39 | [Mutex] received everything. 2020-09-18 22:39:39 | [Mutex] isItemNotified: received:node:e9dec1e4-d959-42e4-9848-35d002a5c69c:localhost:node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0:Node abbe7e44-c511-41ee-a620-aa9c1efbe5f0 :: false |
createNodes | 1.553s |
2020-09-18 22:39:35 |
2020-09-18 22:39:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:35 | ------------------------------------ 2020-09-18 22:39:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node abbe7e44-c511-41ee-a620-aa9c1efbe5f0</title></pubsub></data> 2020-09-18 22:39:36 | 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 22:39:37 | [Mutex] waiting for: [received:nodes:d4bb59c8-e2ad-4cfd-b9f5-2658c2fc96ab:localhost] 2020-09-18 22:39:37 | [Mutex] waiting for: [received:nodes:d4bb59c8-e2ad-4cfd-b9f5-2658c2fc96ab:localhost] 2020-09-18 22:39:37 | [Mutex] received everything. 2020-09-18 22:39:37 | [Mutex] isItemNotified: received:node:d4bb59c8-e2ad-4cfd-b9f5-2658c2fc96ab:localhost:node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0:Node abbe7e44-c511-41ee-a620-aa9c1efbe5f0 :: true |
createSubnodes | 1.024s |
2020-09-18 22:39:37 |
2020-09-18 22:39:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:37 | ------------------------------------ 2020-09-18 22:39:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-97a08f97-9370-4c8e-80cd-680471437252</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 97a08f97-9370-4c8e-80cd-680471437252</title></pubsub></data> 2020-09-18 22:39:37 | 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 22:39:38 | [Mutex] waiting for: [received:nodes:5faa3c3f-9406-4254-9c7e-2128f31d53c4:localhost] 2020-09-18 22:39:38 | [Mutex] received everything. 2020-09-18 22:39:38 | [Mutex] isItemNotified: received:node:5faa3c3f-9406-4254-9c7e-2128f31d53c4:localhost:node-97a08f97-9370-4c8e-80cd-680471437252:Node 97a08f97-9370-4c8e-80cd-680471437252 :: true |
deleteNodes | 1.017s |
2020-09-18 22:39:43 |
2020-09-18 22:39:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:43 | ------------------------------------ 2020-09-18 22:39:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-97a08f97-9370-4c8e-80cd-680471437252</node></data> 2020-09-18 22:39:43 | 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 22:39:44 | [Mutex] waiting for: [received:nodes:feceaba8-31b3-44b7-9a6a-309ab4d9ad7a:localhost] 2020-09-18 22:39:44 | [Mutex] received everything. 2020-09-18 22:39:44 | [Mutex] isItemNotified: received:node:feceaba8-31b3-44b7-9a6a-309ab4d9ad7a:localhost:node-97a08f97-9370-4c8e-80cd-680471437252:Node 97a08f97-9370-4c8e-80cd-680471437252 :: false |
deleteSubnodes | 1.146s |
2020-09-18 22:39:42 |
2020-09-18 22:39:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:42 | ------------------------------------ 2020-09-18 22:39:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0</node></data> 2020-09-18 22:39:42 | 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 22:39:43 | [Mutex] waiting for: [received:nodes:0650da19-27c9-46b8-9914-67c49f868092:localhost] 2020-09-18 22:39:43 | [Mutex] received everything. 2020-09-18 22:39:43 | [Mutex] isItemNotified: received:node:0650da19-27c9-46b8-9914-67c49f868092:localhost:node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0:Node abbe7e44-c511-41ee-a620-aa9c1efbe5f0 :: false 2020-09-18 22:39:43 | [Mutex] waiting for: [received:nodes:d1cf4b50-3f8b-4431-85f6-553925100f59:localhost] 2020-09-18 22:39:43 | [Mutex] received everything. 2020-09-18 22:39:43 | [Mutex] isItemNotified: received:node:d1cf4b50-3f8b-4431-85f6-553925100f59:localhost:node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0:Node abbe7e44-c511-41ee-a620-aa9c1efbe5f0 :: false |
publishItemsToNodes | 0.194s |
2020-09-18 22:39:40 |
2020-09-18 22:39:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:40 | ------------------------------------ 2020-09-18 22:39:40 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0</node><item-id>item-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14</item-id><entry><test>item-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14</test></entry></data> 2020-09-18 22:39:40 | 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-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14</value></item-id></result> 2020-09-18 22:39:40 | [Mutex] received everything. 2020-09-18 22:39:40 | [Mutex] isItemNotified: published:item:notifieditem-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14:admin@test-domain.com :: true |
retractItemsFromNodes | 0.231s |
2020-09-18 22:39:41 |
2020-09-18 22:39:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:41 | ------------------------------------ 2020-09-18 22:39:41 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0</node><item-id>item-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14</item-id></data> 2020-09-18 22:39:41 | 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-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14</value></item-id></result> 2020-09-18 22:39:41 | [Mutex] received everything. 2020-09-18 22:39:41 | [Mutex] isItemNotified: retracted:item:notifieditem-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.244s |
2020-09-18 22:39:40 |
2020-09-18 22:39:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:40 | ------------------------------------ 2020-09-18 22:39:40 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0</node><item-id>item-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14</item-id></data> 2020-09-18 22:39:41 | 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-abbe7e44-c511-41ee-a620-aa9c1efbe5f0</value></node><item-id label="Item ID" type="text-single"><value>item-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14</value></item-id><item label="Item" type="text-multi"><value><item id="item-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14"><test>item-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14</test></item></value></item></result> 2020-09-18 22:39:41 | [Mutex] notify: [retrieved:item:item-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14:payload-matches:true:localhost] 2020-09-18 22:39:41 | [Mutex] received everything. 2020-09-18 22:39:41 | [Mutex] isItemNotified: retrieved:item:item-9d7bb50b-0fa2-4e56-b9f1-d2e6ed18cd14:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-18 22:39:41 |
2020-09-18 22:39:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:41 | ------------------------------------ 2020-09-18 22:39:41 | 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 22:39:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-97a08f97-9370-4c8e-80cd-680471437252</value><value>test</value><value>node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.060s |
2020-09-18 22:39:41 |
2020-09-18 22:39:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:41 | ------------------------------------ 2020-09-18 22:39:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0)</node-pattern></data> 2020-09-18 22:39:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.096s |
2020-09-18 22:39:39 |
2020-09-18 22:39:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:39 | ------------------------------------ 2020-09-18 22:39:39 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 22:39:39 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.291s |
2020-09-18 22:39:41 |
2020-09-18 22:39:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 22:39:41 | ------------------------------------ 2020-09-18 22:39:41 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-abbe7e44-c511-41ee-a620-aa9c1efbe5f0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 22:39:41 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |