Test duration : 9.819s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.128s |
2020-11-29 21:32:32 |
2020-11-29 21:32:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:32 | ------------------------------------ 2020-11-29 21:32:32 | [Mutex] waiting for: [configured:node:node-bed08ee9-1946-4dab-a7db-130ab2e7e43a:node-dcb99cef-7cb7-4382-b8e0-0e4ad84e5181] 2020-11-29 21:32:32 | [Mutex] received everything. 2020-11-29 21:32:32 | [Mutex] isItemNotified: configured:node:node-bed08ee9-1946-4dab-a7db-130ab2e7e43a:node-dcb99cef-7cb7-4382-b8e0-0e4ad84e5181 :: true 2020-11-29 21:32:33 | [Mutex] waiting for: [received:nodes:8360d89f-45b7-414c-9295-5ab48674b5b8:localhost] 2020-11-29 21:32:33 | [Mutex] received everything. 2020-11-29 21:32:33 | [Mutex] isItemNotified: received:node:8360d89f-45b7-414c-9295-5ab48674b5b8:localhost:node-bed08ee9-1946-4dab-a7db-130ab2e7e43a:Node bed08ee9-1946-4dab-a7db-130ab2e7e43a :: true 2020-11-29 21:32:33 | [Mutex] waiting for: [received:nodes:23f1a9b2-4b0b-48fd-9d63-51fdb5499ecf:localhost] 2020-11-29 21:32:33 | [Mutex] received everything. 2020-11-29 21:32:33 | [Mutex] isItemNotified: received:node:23f1a9b2-4b0b-48fd-9d63-51fdb5499ecf:localhost:node-bed08ee9-1946-4dab-a7db-130ab2e7e43a:Node bed08ee9-1946-4dab-a7db-130ab2e7e43a :: false |
createNodes | 1.379s |
2020-11-29 21:32:29 |
2020-11-29 21:32:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:29 | ------------------------------------ 2020-11-29 21:32:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bed08ee9-1946-4dab-a7db-130ab2e7e43a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bed08ee9-1946-4dab-a7db-130ab2e7e43a</title></pubsub></data> 2020-11-29 21:32:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 21:32:31 | [Mutex] waiting for: [received:nodes:6b7c3b97-0c1c-4562-a66c-afda23bffe6a:localhost] 2020-11-29 21:32:31 | [Mutex] received everything. 2020-11-29 21:32:31 | [Mutex] isItemNotified: received:node:6b7c3b97-0c1c-4562-a66c-afda23bffe6a:localhost:node-bed08ee9-1946-4dab-a7db-130ab2e7e43a:Node bed08ee9-1946-4dab-a7db-130ab2e7e43a :: true |
createSubnodes | 1.029s |
2020-11-29 21:32:31 |
2020-11-29 21:32:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:31 | ------------------------------------ 2020-11-29 21:32:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dcb99cef-7cb7-4382-b8e0-0e4ad84e5181</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dcb99cef-7cb7-4382-b8e0-0e4ad84e5181</title></pubsub></data> 2020-11-29 21:32:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 21:32:32 | [Mutex] waiting for: [received:nodes:24fd9a3c-6acb-424f-b1c7-0f8cf4df4b1d:localhost] 2020-11-29 21:32:32 | [Mutex] received everything. 2020-11-29 21:32:32 | [Mutex] isItemNotified: received:node:24fd9a3c-6acb-424f-b1c7-0f8cf4df4b1d:localhost:node-dcb99cef-7cb7-4382-b8e0-0e4ad84e5181:Node dcb99cef-7cb7-4382-b8e0-0e4ad84e5181 :: true |
deleteNodes | 1.022s |
2020-11-29 21:32:37 |
2020-11-29 21:32:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:37 | ------------------------------------ 2020-11-29 21:32:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dcb99cef-7cb7-4382-b8e0-0e4ad84e5181</node></data> 2020-11-29 21:32:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 21:32:38 | [Mutex] waiting for: [received:nodes:1facd5d5-1dc4-41b9-be5b-2922eb55ad35:localhost] 2020-11-29 21:32:38 | [Mutex] waiting for: [received:nodes:1facd5d5-1dc4-41b9-be5b-2922eb55ad35:localhost] 2020-11-29 21:32:38 | [Mutex] received everything. 2020-11-29 21:32:38 | [Mutex] isItemNotified: received:node:1facd5d5-1dc4-41b9-be5b-2922eb55ad35:localhost:node-dcb99cef-7cb7-4382-b8e0-0e4ad84e5181:Node dcb99cef-7cb7-4382-b8e0-0e4ad84e5181 :: false |
deleteSubnodes | 1.118s |
2020-11-29 21:32:36 |
2020-11-29 21:32:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:36 | ------------------------------------ 2020-11-29 21:32:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bed08ee9-1946-4dab-a7db-130ab2e7e43a</node></data> 2020-11-29 21:32:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 21:32:37 | [Mutex] waiting for: [received:nodes:41494fe6-f22c-4dad-b40d-51b2a28ead39:localhost] 2020-11-29 21:32:37 | [Mutex] received everything. 2020-11-29 21:32:37 | [Mutex] isItemNotified: received:node:41494fe6-f22c-4dad-b40d-51b2a28ead39:localhost:node-bed08ee9-1946-4dab-a7db-130ab2e7e43a:Node bed08ee9-1946-4dab-a7db-130ab2e7e43a :: false 2020-11-29 21:32:37 | [Mutex] waiting for: [received:nodes:992648b6-aa1f-4411-b9a4-6395cff2c404:localhost] 2020-11-29 21:32:37 | [Mutex] received everything. 2020-11-29 21:32:37 | [Mutex] isItemNotified: received:node:992648b6-aa1f-4411-b9a4-6395cff2c404:localhost:node-bed08ee9-1946-4dab-a7db-130ab2e7e43a:Node bed08ee9-1946-4dab-a7db-130ab2e7e43a :: false |
publishItemsToNodes | 0.206s |
2020-11-29 21:32:34 |
2020-11-29 21:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:34 | ------------------------------------ 2020-11-29 21:32:34 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-bed08ee9-1946-4dab-a7db-130ab2e7e43a</node><item-id>item-ecfa315c-1c99-4451-9d97-330f97378d61</item-id><entry><test>item-ecfa315c-1c99-4451-9d97-330f97378d61</test></entry></data> 2020-11-29 21:32:34 | 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-ecfa315c-1c99-4451-9d97-330f97378d61</value></item-id></result> 2020-11-29 21:32:34 | [Mutex] received everything. 2020-11-29 21:32:34 | [Mutex] isItemNotified: published:item:notifieditem-ecfa315c-1c99-4451-9d97-330f97378d61:admin@test-domain.com :: true |
retractItemsFromNodes | 0.243s |
2020-11-29 21:32:35 |
2020-11-29 21:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:35 | ------------------------------------ 2020-11-29 21:32:35 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-bed08ee9-1946-4dab-a7db-130ab2e7e43a</node><item-id>item-ecfa315c-1c99-4451-9d97-330f97378d61</item-id></data> 2020-11-29 21:32:35 | 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-ecfa315c-1c99-4451-9d97-330f97378d61</value></item-id></result> 2020-11-29 21:32:35 | [Mutex] received everything. 2020-11-29 21:32:35 | [Mutex] isItemNotified: retracted:item:notifieditem-ecfa315c-1c99-4451-9d97-330f97378d61:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.358s |
2020-11-29 21:32:34 |
2020-11-29 21:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:34 | ------------------------------------ 2020-11-29 21:32:34 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-bed08ee9-1946-4dab-a7db-130ab2e7e43a</node><item-id>item-ecfa315c-1c99-4451-9d97-330f97378d61</item-id></data> 2020-11-29 21:32:34 | 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-bed08ee9-1946-4dab-a7db-130ab2e7e43a</value></node><item-id type="text-single" label="Item ID"><value>item-ecfa315c-1c99-4451-9d97-330f97378d61</value></item-id><item type="text-multi" label="Item"><value><item id="item-ecfa315c-1c99-4451-9d97-330f97378d61"><test>item-ecfa315c-1c99-4451-9d97-330f97378d61</test></item></value></item></result> 2020-11-29 21:32:34 | [Mutex] notify: [retrieved:item:item-ecfa315c-1c99-4451-9d97-330f97378d61:payload-matches:true:localhost] 2020-11-29 21:32:34 | [Mutex] received everything. 2020-11-29 21:32:34 | [Mutex] isItemNotified: retrieved:item:item-ecfa315c-1c99-4451-9d97-330f97378d61:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-29 21:32:34 |
2020-11-29 21:32:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:34 | ------------------------------------ 2020-11-29 21:32:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-29 21:32:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-bed08ee9-1946-4dab-a7db-130ab2e7e43a</value><value>node-dcb99cef-7cb7-4382-b8e0-0e4ad84e5181</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-11-29 21:32:35 |
2020-11-29 21:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:35 | ------------------------------------ 2020-11-29 21:32:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bed08ee9-1946-4dab-a7db-130ab2e7e43a)</node-pattern></data> 2020-11-29 21:32:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.108s |
2020-11-29 21:32:33 |
2020-11-29 21:32:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:33 | ------------------------------------ 2020-11-29 21:32:33 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-bed08ee9-1946-4dab-a7db-130ab2e7e43a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-29 21:32:33 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.239s |
2020-11-29 21:32:35 |
2020-11-29 21:32:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 21:32:35 | ------------------------------------ 2020-11-29 21:32:35 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-bed08ee9-1946-4dab-a7db-130ab2e7e43a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-29 21:32:35 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |