Test duration : 10.062s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2020-09-18 10:36:32 |
2020-09-18 10:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:32 | ------------------------------------ 2020-09-18 10:36:32 | [Mutex] waiting for: [configured:node:node-4a5f191c-e6ef-4168-a7d0-554518e56527:node-324ede9b-917c-4022-9949-bfe2a2e12d1d] 2020-09-18 10:36:32 | [Mutex] received everything. 2020-09-18 10:36:32 | [Mutex] isItemNotified: configured:node:node-4a5f191c-e6ef-4168-a7d0-554518e56527:node-324ede9b-917c-4022-9949-bfe2a2e12d1d :: true 2020-09-18 10:36:33 | [Mutex] waiting for: [received:nodes:3bc74da6-11f8-4983-84b8-78c2d794e6ba:localhost] 2020-09-18 10:36:33 | [Mutex] received everything. 2020-09-18 10:36:33 | [Mutex] isItemNotified: received:node:3bc74da6-11f8-4983-84b8-78c2d794e6ba:localhost:node-4a5f191c-e6ef-4168-a7d0-554518e56527:Node 4a5f191c-e6ef-4168-a7d0-554518e56527 :: true 2020-09-18 10:36:33 | [Mutex] waiting for: [received:nodes:53c1ab95-6e44-44c2-98ac-cdd98c76cb7a:localhost] 2020-09-18 10:36:33 | [Mutex] received everything. 2020-09-18 10:36:33 | [Mutex] isItemNotified: received:node:53c1ab95-6e44-44c2-98ac-cdd98c76cb7a:localhost:node-4a5f191c-e6ef-4168-a7d0-554518e56527:Node 4a5f191c-e6ef-4168-a7d0-554518e56527 :: false |
createNodes | 1.540s |
2020-09-18 10:36:30 |
2020-09-18 10:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:30 | ------------------------------------ 2020-09-18 10:36:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4a5f191c-e6ef-4168-a7d0-554518e56527</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4a5f191c-e6ef-4168-a7d0-554518e56527</title></pubsub></data> 2020-09-18 10:36:30 | 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 10:36:31 | [Mutex] waiting for: [received:nodes:81f91963-3630-453f-99c4-7dd966870c9e:localhost] 2020-09-18 10:36:31 | [Mutex] waiting for: [received:nodes:81f91963-3630-453f-99c4-7dd966870c9e:localhost] 2020-09-18 10:36:31 | [Mutex] waiting for: [received:nodes:81f91963-3630-453f-99c4-7dd966870c9e:localhost] 2020-09-18 10:36:31 | [Mutex] received everything. 2020-09-18 10:36:31 | [Mutex] isItemNotified: received:node:81f91963-3630-453f-99c4-7dd966870c9e:localhost:node-4a5f191c-e6ef-4168-a7d0-554518e56527:Node 4a5f191c-e6ef-4168-a7d0-554518e56527 :: true |
createSubnodes | 1.029s |
2020-09-18 10:36:31 |
2020-09-18 10:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:31 | ------------------------------------ 2020-09-18 10:36:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-324ede9b-917c-4022-9949-bfe2a2e12d1d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 324ede9b-917c-4022-9949-bfe2a2e12d1d</title></pubsub></data> 2020-09-18 10:36:31 | 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 10:36:32 | [Mutex] waiting for: [received:nodes:a4e8e971-e260-4a08-a09f-0ae2a0df4bf1:localhost] 2020-09-18 10:36:32 | [Mutex] received everything. 2020-09-18 10:36:32 | [Mutex] isItemNotified: received:node:a4e8e971-e260-4a08-a09f-0ae2a0df4bf1:localhost:node-324ede9b-917c-4022-9949-bfe2a2e12d1d:Node 324ede9b-917c-4022-9949-bfe2a2e12d1d :: true |
deleteNodes | 1.018s |
2020-09-18 10:36:38 |
2020-09-18 10:36:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:38 | ------------------------------------ 2020-09-18 10:36:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-324ede9b-917c-4022-9949-bfe2a2e12d1d</node></data> 2020-09-18 10:36:38 | 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 10:36:39 | [Mutex] waiting for: [received:nodes:958718b8-1682-4910-94e4-e0f858c75191:localhost] 2020-09-18 10:36:39 | [Mutex] received everything. 2020-09-18 10:36:39 | [Mutex] isItemNotified: received:node:958718b8-1682-4910-94e4-e0f858c75191:localhost:node-324ede9b-917c-4022-9949-bfe2a2e12d1d:Node 324ede9b-917c-4022-9949-bfe2a2e12d1d :: false |
deleteSubnodes | 1.160s |
2020-09-18 10:36:37 |
2020-09-18 10:36:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:37 | ------------------------------------ 2020-09-18 10:36:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4a5f191c-e6ef-4168-a7d0-554518e56527</node></data> 2020-09-18 10:36:37 | 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 10:36:38 | [Mutex] waiting for: [received:nodes:21244631-fa40-4695-a02a-38ccec875eda:localhost] 2020-09-18 10:36:38 | [Mutex] received everything. 2020-09-18 10:36:38 | [Mutex] isItemNotified: received:node:21244631-fa40-4695-a02a-38ccec875eda:localhost:node-4a5f191c-e6ef-4168-a7d0-554518e56527:Node 4a5f191c-e6ef-4168-a7d0-554518e56527 :: false 2020-09-18 10:36:38 | [Mutex] waiting for: [received:nodes:21fcebae-4f11-4a30-8a41-98de97959092:localhost] 2020-09-18 10:36:38 | [Mutex] received everything. 2020-09-18 10:36:38 | [Mutex] isItemNotified: received:node:21fcebae-4f11-4a30-8a41-98de97959092:localhost:node-4a5f191c-e6ef-4168-a7d0-554518e56527:Node 4a5f191c-e6ef-4168-a7d0-554518e56527 :: false |
publishItemsToNodes | 0.169s |
2020-09-18 10:36:34 |
2020-09-18 10:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:34 | ------------------------------------ 2020-09-18 10:36:34 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4a5f191c-e6ef-4168-a7d0-554518e56527</node><item-id>item-29973bbd-0b6a-4ace-a32d-bf9e29ed750c</item-id><entry><test>item-29973bbd-0b6a-4ace-a32d-bf9e29ed750c</test></entry></data> 2020-09-18 10:36:35 | 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-29973bbd-0b6a-4ace-a32d-bf9e29ed750c</value></item-id></result> 2020-09-18 10:36:35 | [Mutex] received everything. 2020-09-18 10:36:35 | [Mutex] isItemNotified: published:item:notifieditem-29973bbd-0b6a-4ace-a32d-bf9e29ed750c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2020-09-18 10:36:35 |
2020-09-18 10:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:35 | ------------------------------------ 2020-09-18 10:36:35 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4a5f191c-e6ef-4168-a7d0-554518e56527</node><item-id>item-29973bbd-0b6a-4ace-a32d-bf9e29ed750c</item-id></data> 2020-09-18 10:36:35 | 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-29973bbd-0b6a-4ace-a32d-bf9e29ed750c</value></item-id></result> 2020-09-18 10:36:35 | [Mutex] received everything. 2020-09-18 10:36:35 | [Mutex] isItemNotified: retracted:item:notifieditem-29973bbd-0b6a-4ace-a32d-bf9e29ed750c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.281s |
2020-09-18 10:36:35 |
2020-09-18 10:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:35 | ------------------------------------ 2020-09-18 10:36:35 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4a5f191c-e6ef-4168-a7d0-554518e56527</node><item-id>item-29973bbd-0b6a-4ace-a32d-bf9e29ed750c</item-id></data> 2020-09-18 10:36:35 | 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-4a5f191c-e6ef-4168-a7d0-554518e56527</value></node><item-id label="Item ID" type="text-single"><value>item-29973bbd-0b6a-4ace-a32d-bf9e29ed750c</value></item-id><item label="Item" type="text-multi"><value><item id="item-29973bbd-0b6a-4ace-a32d-bf9e29ed750c"><test>item-29973bbd-0b6a-4ace-a32d-bf9e29ed750c</test></item></value></item></result> 2020-09-18 10:36:35 | [Mutex] notify: [retrieved:item:item-29973bbd-0b6a-4ace-a32d-bf9e29ed750c:payload-matches:true:localhost] 2020-09-18 10:36:35 | [Mutex] received everything. 2020-09-18 10:36:35 | [Mutex] isItemNotified: retrieved:item:item-29973bbd-0b6a-4ace-a32d-bf9e29ed750c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-18 10:36:35 |
2020-09-18 10:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:35 | ------------------------------------ 2020-09-18 10:36:35 | 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 10:36:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-4a5f191c-e6ef-4168-a7d0-554518e56527</value><value>node-324ede9b-917c-4022-9949-bfe2a2e12d1d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-18 10:36:35 |
2020-09-18 10:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:35 | ------------------------------------ 2020-09-18 10:36: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-4a5f191c-e6ef-4168-a7d0-554518e56527)</node-pattern></data> 2020-09-18 10:36:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.090s |
2020-09-18 10:36:33 |
2020-09-18 10:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:33 | ------------------------------------ 2020-09-18 10:36:33 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4a5f191c-e6ef-4168-a7d0-554518e56527</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 10:36: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.311s |
2020-09-18 10:36:35 |
2020-09-18 10:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 10:36:35 | ------------------------------------ 2020-09-18 10:36:35 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4a5f191c-e6ef-4168-a7d0-554518e56527</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 10:36:36 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |