Test duration : 10.261s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.132s |
2020-08-25 20:36:00 |
2020-08-25 20:36:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:00 | ------------------------------------ 2020-08-25 20:36:00 | [Mutex] waiting for: [configured:node:node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07:node-91d118f4-27e4-421a-b7af-a4d1298cded3] 2020-08-25 20:36:00 | [Mutex] received everything. 2020-08-25 20:36:00 | [Mutex] isItemNotified: configured:node:node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07:node-91d118f4-27e4-421a-b7af-a4d1298cded3 :: true 2020-08-25 20:36:01 | [Mutex] waiting for: [received:nodes:62a27ecb-a05f-4e8f-9422-14fe87b68e88:localhost] 2020-08-25 20:36:01 | [Mutex] received everything. 2020-08-25 20:36:01 | [Mutex] isItemNotified: received:node:62a27ecb-a05f-4e8f-9422-14fe87b68e88:localhost:node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07:Node a94b6e16-365d-40cb-b6a5-b3d4286d9a07 :: true 2020-08-25 20:36:01 | [Mutex] waiting for: [received:nodes:2c42ce67-ed55-47fe-8800-fd0378b93476:localhost] 2020-08-25 20:36:01 | [Mutex] waiting for: [received:nodes:2c42ce67-ed55-47fe-8800-fd0378b93476:localhost] 2020-08-25 20:36:01 | [Mutex] received everything. 2020-08-25 20:36:01 | [Mutex] isItemNotified: received:node:2c42ce67-ed55-47fe-8800-fd0378b93476:localhost:node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07:Node a94b6e16-365d-40cb-b6a5-b3d4286d9a07 :: false |
createNodes | 1.439s |
2020-08-25 20:35:57 |
2020-08-25 20:35:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:35:57 | ------------------------------------ 2020-08-25 20:35:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a94b6e16-365d-40cb-b6a5-b3d4286d9a07</title></pubsub></data> 2020-08-25 20:35:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 20:35:59 | [Mutex] waiting for: [received:nodes:e40f63e5-344b-4f17-8fa3-2dd407f714e3:localhost] 2020-08-25 20:35:59 | [Mutex] received everything. 2020-08-25 20:35:59 | [Mutex] isItemNotified: received:node:e40f63e5-344b-4f17-8fa3-2dd407f714e3:localhost:node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07:Node a94b6e16-365d-40cb-b6a5-b3d4286d9a07 :: true |
createSubnodes | 1.029s |
2020-08-25 20:35:59 |
2020-08-25 20:35:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:35:59 | ------------------------------------ 2020-08-25 20:35:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-91d118f4-27e4-421a-b7af-a4d1298cded3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 91d118f4-27e4-421a-b7af-a4d1298cded3</title></pubsub></data> 2020-08-25 20:35:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 20:36:00 | [Mutex] waiting for: [received:nodes:a6239d1b-9cd7-43e1-b157-7a6895b10bc8:localhost] 2020-08-25 20:36:00 | [Mutex] received everything. 2020-08-25 20:36:00 | [Mutex] isItemNotified: received:node:a6239d1b-9cd7-43e1-b157-7a6895b10bc8:localhost:node-91d118f4-27e4-421a-b7af-a4d1298cded3:Node 91d118f4-27e4-421a-b7af-a4d1298cded3 :: true |
deleteNodes | 1.023s |
2020-08-25 20:36:05 |
2020-08-25 20:36:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:05 | ------------------------------------ 2020-08-25 20:36:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-91d118f4-27e4-421a-b7af-a4d1298cded3</node></data> 2020-08-25 20:36:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 20:36:06 | [Mutex] waiting for: [received:nodes:ce0ac7b9-34ca-4ba6-abf9-6ae73be5ae92:localhost] 2020-08-25 20:36:06 | [Mutex] received everything. 2020-08-25 20:36:06 | [Mutex] isItemNotified: received:node:ce0ac7b9-34ca-4ba6-abf9-6ae73be5ae92:localhost:node-91d118f4-27e4-421a-b7af-a4d1298cded3:Node 91d118f4-27e4-421a-b7af-a4d1298cded3 :: false |
deleteSubnodes | 1.136s |
2020-08-25 20:36:04 |
2020-08-25 20:36:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:04 | ------------------------------------ 2020-08-25 20:36:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07</node></data> 2020-08-25 20:36:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-25 20:36:05 | [Mutex] waiting for: [received:nodes:365f831f-1245-4ad2-b145-c52cfd524898:localhost] 2020-08-25 20:36:05 | [Mutex] received everything. 2020-08-25 20:36:05 | [Mutex] isItemNotified: received:node:365f831f-1245-4ad2-b145-c52cfd524898:localhost:node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07:Node a94b6e16-365d-40cb-b6a5-b3d4286d9a07 :: false 2020-08-25 20:36:05 | [Mutex] waiting for: [received:nodes:8b2bd31f-1bab-4c3d-97a7-845cc1016d4b:localhost] 2020-08-25 20:36:05 | [Mutex] received everything. 2020-08-25 20:36:05 | [Mutex] isItemNotified: received:node:8b2bd31f-1bab-4c3d-97a7-845cc1016d4b:localhost:node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07:Node a94b6e16-365d-40cb-b6a5-b3d4286d9a07 :: false |
publishItemsToNodes | 0.213s |
2020-08-25 20:36:02 |
2020-08-25 20:36:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:02 | ------------------------------------ 2020-08-25 20:36:02 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07</node><item-id>item-f343ab66-779d-4fb2-9d94-92d9665c2762</item-id><entry><test>item-f343ab66-779d-4fb2-9d94-92d9665c2762</test></entry></data> 2020-08-25 20:36:02 | 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-f343ab66-779d-4fb2-9d94-92d9665c2762</value></item-id></result> 2020-08-25 20:36:02 | [Mutex] received everything. 2020-08-25 20:36:02 | [Mutex] isItemNotified: published:item:notifieditem-f343ab66-779d-4fb2-9d94-92d9665c2762:admin@test-domain.com :: true |
retractItemsFromNodes | 0.347s |
2020-08-25 20:36:03 |
2020-08-25 20:36:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:03 | ------------------------------------ 2020-08-25 20:36:03 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07</node><item-id>item-f343ab66-779d-4fb2-9d94-92d9665c2762</item-id></data> 2020-08-25 20:36:03 | 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-f343ab66-779d-4fb2-9d94-92d9665c2762</value></item-id></result> 2020-08-25 20:36:03 | [Mutex] received everything. 2020-08-25 20:36:03 | [Mutex] isItemNotified: retracted:item:notifieditem-f343ab66-779d-4fb2-9d94-92d9665c2762:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.267s |
2020-08-25 20:36:02 |
2020-08-25 20:36:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:02 | ------------------------------------ 2020-08-25 20:36:02 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07</node><item-id>item-f343ab66-779d-4fb2-9d94-92d9665c2762</item-id></data> 2020-08-25 20:36:03 | 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-a94b6e16-365d-40cb-b6a5-b3d4286d9a07</value></node><item-id type="text-single" label="Item ID"><value>item-f343ab66-779d-4fb2-9d94-92d9665c2762</value></item-id><item type="text-multi" label="Item"><value><item id="item-f343ab66-779d-4fb2-9d94-92d9665c2762"><test>item-f343ab66-779d-4fb2-9d94-92d9665c2762</test></item></value></item></result> 2020-08-25 20:36:03 | [Mutex] notify: [retrieved:item:item-f343ab66-779d-4fb2-9d94-92d9665c2762:payload-matches:true:localhost] 2020-08-25 20:36:03 | [Mutex] received everything. 2020-08-25 20:36:03 | [Mutex] isItemNotified: retrieved:item:item-f343ab66-779d-4fb2-9d94-92d9665c2762:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2020-08-25 20:36:03 |
2020-08-25 20:36:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:03 | ------------------------------------ 2020-08-25 20:36:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-25 20:36:03 | 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-91d118f4-27e4-421a-b7af-a4d1298cded3</value><value>node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2020-08-25 20:36:03 |
2020-08-25 20:36:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:03 | ------------------------------------ 2020-08-25 20:36:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07)</node-pattern></data> 2020-08-25 20:36:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.098s |
2020-08-25 20:36:01 |
2020-08-25 20:36:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:01 | ------------------------------------ 2020-08-25 20:36:01 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-25 20:36:01 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.283s |
2020-08-25 20:36:03 |
2020-08-25 20:36:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-25 20:36:03 | ------------------------------------ 2020-08-25 20:36:03 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a94b6e16-365d-40cb-b6a5-b3d4286d9a07</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-25 20:36:03 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |