Test duration: 10.236s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2020-01-02 19:51:30 |
2020-01-02 19:51:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:30 | ------------------------------------ 2020-01-02 19:51:30 | [Mutex] waiting for: [configured:node:node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e:node-63e66c08-5583-4b48-b89c-be3397aeccd1] 2020-01-02 19:51:30 | [Mutex] received everything. 2020-01-02 19:51:30 | [Mutex] isItemNotified: configured:node:node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e:node-63e66c08-5583-4b48-b89c-be3397aeccd1 :: true 2020-01-02 19:51:31 | [Mutex] waiting for: [received:nodes:bb99e61a-f79c-49ac-8a49-725949c9f09c:localhost] 2020-01-02 19:51:31 | [Mutex] received everything. 2020-01-02 19:51:31 | [Mutex] isItemNotified: received:node:bb99e61a-f79c-49ac-8a49-725949c9f09c:localhost:node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e:Node 69fcdf4c-24ae-4bca-9421-3c762b29bc9e :: true 2020-01-02 19:51:31 | [Mutex] waiting for: [received:nodes:82c4f57f-9a45-4044-a029-a5508d323fcc:localhost] 2020-01-02 19:51:31 | [Mutex] received everything. 2020-01-02 19:51:31 | [Mutex] isItemNotified: received:node:82c4f57f-9a45-4044-a029-a5508d323fcc:localhost:node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e:Node 69fcdf4c-24ae-4bca-9421-3c762b29bc9e :: false |
createNodes | 1.430s |
2020-01-02 19:51:27 |
2020-01-02 19:51:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:27 | ------------------------------------ 2020-01-02 19:51:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 69fcdf4c-24ae-4bca-9421-3c762b29bc9e</title></pubsub></data> 2020-01-02 19:51:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-01-02 19:51:29 | [Mutex] waiting for: [received:nodes:2c62f71f-f39c-4a82-bc70-1354c7f1f01d:localhost] 2020-01-02 19:51:29 | [Mutex] received everything. 2020-01-02 19:51:29 | [Mutex] isItemNotified: received:node:2c62f71f-f39c-4a82-bc70-1354c7f1f01d:localhost:node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e:Node 69fcdf4c-24ae-4bca-9421-3c762b29bc9e :: true |
createSubnodes | 1.029s |
2020-01-02 19:51:29 |
2020-01-02 19:51:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:29 | ------------------------------------ 2020-01-02 19:51:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-63e66c08-5583-4b48-b89c-be3397aeccd1</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 63e66c08-5583-4b48-b89c-be3397aeccd1</title></pubsub></data> 2020-01-02 19:51:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-01-02 19:51:30 | [Mutex] waiting for: [received:nodes:717c239e-a72e-45e9-8503-b0348c5864f7:localhost] 2020-01-02 19:51:30 | [Mutex] received everything. 2020-01-02 19:51:30 | [Mutex] isItemNotified: received:node:717c239e-a72e-45e9-8503-b0348c5864f7:localhost:node-63e66c08-5583-4b48-b89c-be3397aeccd1:Node 63e66c08-5583-4b48-b89c-be3397aeccd1 :: true |
deleteNodes | 1.021s |
2020-01-02 19:51:36 |
2020-01-02 19:51:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:36 | ------------------------------------ 2020-01-02 19:51:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-63e66c08-5583-4b48-b89c-be3397aeccd1</node></data> 2020-01-02 19:51:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-01-02 19:51:37 | [Mutex] waiting for: [received:nodes:275e21ad-9ea6-4523-a8c8-9d6f971a6742:localhost] 2020-01-02 19:51:37 | [Mutex] received everything. 2020-01-02 19:51:37 | [Mutex] isItemNotified: received:node:275e21ad-9ea6-4523-a8c8-9d6f971a6742:localhost:node-63e66c08-5583-4b48-b89c-be3397aeccd1:Node 63e66c08-5583-4b48-b89c-be3397aeccd1 :: false |
deleteSubnodes | 1.166s |
2020-01-02 19:51:34 |
2020-01-02 19:51:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:34 | ------------------------------------ 2020-01-02 19:51:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e</node></data> 2020-01-02 19:51:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-01-02 19:51:36 | [Mutex] waiting for: [received:nodes:21382a2a-dba4-41bf-91e1-883d62e0d351:localhost] 2020-01-02 19:51:36 | [Mutex] received everything. 2020-01-02 19:51:36 | [Mutex] isItemNotified: received:node:21382a2a-dba4-41bf-91e1-883d62e0d351:localhost:node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e:Node 69fcdf4c-24ae-4bca-9421-3c762b29bc9e :: false 2020-01-02 19:51:36 | [Mutex] waiting for: [received:nodes:63ac2664-01de-4ca0-8050-d70e383a3acf:localhost] 2020-01-02 19:51:36 | [Mutex] received everything. 2020-01-02 19:51:36 | [Mutex] isItemNotified: received:node:63ac2664-01de-4ca0-8050-d70e383a3acf:localhost:node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e:Node 69fcdf4c-24ae-4bca-9421-3c762b29bc9e :: false |
publishItemsToNodes | 0.325s |
2020-01-02 19:51:32 |
2020-01-02 19:51:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:32 | ------------------------------------ 2020-01-02 19:51:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e</node><item-id>item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff</item-id><entry><test>item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff</test></entry></data> 2020-01-02 19:51:32 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff</value></item-id></result> 2020-01-02 19:51:32 | [Mutex] received everything. 2020-01-02 19:51:32 | [Mutex] isItemNotified: published:item:notifieditem-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff:admin@localhost :: true |
retractItemsFromNodes | 0.323s |
2020-01-02 19:51:33 |
2020-01-02 19:51:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:33 | ------------------------------------ 2020-01-02 19:51:33 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e</node><item-id>item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff</item-id></data> 2020-01-02 19:51:33 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff</value></item-id></result> 2020-01-02 19:51:33 | [Mutex] received everything. 2020-01-02 19:51:33 | [Mutex] isItemNotified: retracted:item:notifieditem-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff:admin@localhost :: true |
retrieveItemsFromNodes | 0.151s |
2020-01-02 19:51:32 |
2020-01-02 19:51:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:32 | ------------------------------------ 2020-01-02 19:51:32 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e</node><item-id>item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff</item-id></data> 2020-01-02 19:51:32 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e</value></node><item-id type="text-single" label="Item ID"><value>item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff</value></item-id><item type="text-multi" label="Item"><value><item id="item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff"><test>item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff</test></item></value></item></result> 2020-01-02 19:51:32 | [Mutex] notify: [retrieved:item:item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff:payload-matches:true:localhost] 2020-01-02 19:51:32 | [Mutex] received everything. 2020-01-02 19:51:32 | [Mutex] isItemNotified: retrieved:item:item-881ebc56-b193-4a3c-b6f1-80dc0b9f40ff:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.228s |
2020-01-02 19:51:32 |
2020-01-02 19:51:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:32 | ------------------------------------ 2020-01-02 19:51:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-01-02 19:51:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e</value><value>node-63e66c08-5583-4b48-b89c-be3397aeccd1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-01-02 19:51:33 |
2020-01-02 19:51:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:33 | ------------------------------------ 2020-01-02 19:51:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e)</node-pattern></data> 2020-01-02 19:51:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.203s |
2020-01-02 19:51:31 |
2020-01-02 19:51:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:31 | ------------------------------------ 2020-01-02 19:51:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e</node><jids><value>admin@localhost</value></jids></data> 2020-01-02 19:51:31 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.267s |
2020-01-02 19:51:33 |
2020-01-02 19:51:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-01-02 19:51:33 | ------------------------------------ 2020-01-02 19:51:33 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-69fcdf4c-24ae-4bca-9421-3c762b29bc9e</node><jids><value>admin@localhost</value></jids></data> 2020-01-02 19:51:33 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |