Test duration : 9.738s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2022-06-02 23:00:56 |
2022-06-02 23:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:56 | ------------------------------------ 2022-06-02 23:00:56 | [Mutex] waiting for: [configured:node:node-d974a66f-e73f-4874-8831-57b775720885:node-af4bc51c-8044-49fc-8505-30282416eb5c] 2022-06-02 23:00:56 | [Mutex] received everything. 2022-06-02 23:00:56 | [Mutex] isItemNotified: configured:node:node-d974a66f-e73f-4874-8831-57b775720885:node-af4bc51c-8044-49fc-8505-30282416eb5c :: true 2022-06-02 23:00:57 | [Mutex] waiting for: [received:nodes:102cfa27-f160-491c-ad35-48b817ad0b0a:localhost] 2022-06-02 23:00:57 | [Mutex] received everything. 2022-06-02 23:00:57 | [Mutex] isItemNotified: received:node:102cfa27-f160-491c-ad35-48b817ad0b0a:localhost:node-d974a66f-e73f-4874-8831-57b775720885:Node d974a66f-e73f-4874-8831-57b775720885 :: true 2022-06-02 23:00:57 | [Mutex] waiting for: [received:nodes:766b5733-8416-4437-a6cd-aeb60a7cfa6d:localhost] 2022-06-02 23:00:57 | [Mutex] received everything. 2022-06-02 23:00:57 | [Mutex] isItemNotified: received:node:766b5733-8416-4437-a6cd-aeb60a7cfa6d:localhost:node-d974a66f-e73f-4874-8831-57b775720885:Node d974a66f-e73f-4874-8831-57b775720885 :: false |
createNodes | 1.521s |
2022-06-02 23:00:53 |
2022-06-02 23:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:53 | ------------------------------------ 2022-06-02 23:00:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d974a66f-e73f-4874-8831-57b775720885</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d974a66f-e73f-4874-8831-57b775720885</title></pubsub></data> 2022-06-02 23:00:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-02 23:00:55 | [Mutex] waiting for: [received:nodes:09ee6531-a62a-493d-85de-0817e95409e0:localhost] 2022-06-02 23:00:55 | [Mutex] received everything. 2022-06-02 23:00:55 | [Mutex] isItemNotified: received:node:09ee6531-a62a-493d-85de-0817e95409e0:localhost:node-d974a66f-e73f-4874-8831-57b775720885:Node d974a66f-e73f-4874-8831-57b775720885 :: true |
createSubnodes | 1.026s |
2022-06-02 23:00:55 |
2022-06-02 23:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:55 | ------------------------------------ 2022-06-02 23:00:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-af4bc51c-8044-49fc-8505-30282416eb5c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node af4bc51c-8044-49fc-8505-30282416eb5c</title></pubsub></data> 2022-06-02 23:00:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-02 23:00:56 | [Mutex] waiting for: [received:nodes:ffda6eaf-aba7-4b8a-be83-fa1239b1ab1e:localhost] 2022-06-02 23:00:56 | [Mutex] waiting for: [received:nodes:ffda6eaf-aba7-4b8a-be83-fa1239b1ab1e:localhost] 2022-06-02 23:00:56 | [Mutex] received everything. 2022-06-02 23:00:56 | [Mutex] isItemNotified: received:node:ffda6eaf-aba7-4b8a-be83-fa1239b1ab1e:localhost:node-af4bc51c-8044-49fc-8505-30282416eb5c:Node af4bc51c-8044-49fc-8505-30282416eb5c :: true |
deleteNodes | 1.019s |
2022-06-02 23:01:01 |
2022-06-02 23:01:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:01:01 | ------------------------------------ 2022-06-02 23:01:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-af4bc51c-8044-49fc-8505-30282416eb5c</node></data> 2022-06-02 23:01:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-02 23:01:02 | [Mutex] waiting for: [received:nodes:97318c9d-93fe-4a2d-ab1d-9bba77a14d67:localhost] 2022-06-02 23:01:02 | [Mutex] received everything. 2022-06-02 23:01:02 | [Mutex] isItemNotified: received:node:97318c9d-93fe-4a2d-ab1d-9bba77a14d67:localhost:node-af4bc51c-8044-49fc-8505-30282416eb5c:Node af4bc51c-8044-49fc-8505-30282416eb5c :: false |
deleteSubnodes | 1.131s |
2022-06-02 23:01:00 |
2022-06-02 23:01:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:01:00 | ------------------------------------ 2022-06-02 23:01:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d974a66f-e73f-4874-8831-57b775720885</node></data> 2022-06-02 23:01:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-02 23:01:01 | [Mutex] waiting for: [received:nodes:0b93d4eb-fd7c-450d-8959-1029699360f2:localhost] 2022-06-02 23:01:01 | [Mutex] received everything. 2022-06-02 23:01:01 | [Mutex] isItemNotified: received:node:0b93d4eb-fd7c-450d-8959-1029699360f2:localhost:node-d974a66f-e73f-4874-8831-57b775720885:Node d974a66f-e73f-4874-8831-57b775720885 :: false 2022-06-02 23:01:01 | [Mutex] waiting for: [received:nodes:9374f847-c939-4549-9630-d25e397655ec:localhost] 2022-06-02 23:01:01 | [Mutex] received everything. 2022-06-02 23:01:01 | [Mutex] isItemNotified: received:node:9374f847-c939-4549-9630-d25e397655ec:localhost:node-d974a66f-e73f-4874-8831-57b775720885:Node d974a66f-e73f-4874-8831-57b775720885 :: false |
publishItemsToNodes | 0.229s |
2022-06-02 23:00:58 |
2022-06-02 23:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:58 | ------------------------------------ 2022-06-02 23:00:58 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d974a66f-e73f-4874-8831-57b775720885</node><item-id>item-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca</item-id><entry><test>item-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca</test></entry></data> 2022-06-02 23:00:58 | 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-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca</value></item-id></result> 2022-06-02 23:00:58 | [Mutex] received everything. 2022-06-02 23:00:58 | [Mutex] isItemNotified: published:item:notifieditem-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca:admin@test-domain.com :: true |
retractItemsFromNodes | 0.272s |
2022-06-02 23:00:59 |
2022-06-02 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:59 | ------------------------------------ 2022-06-02 23:00:59 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d974a66f-e73f-4874-8831-57b775720885</node><item-id>item-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca</item-id></data> 2022-06-02 23:00:59 | 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-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca</value></item-id></result> 2022-06-02 23:00:59 | [Mutex] received everything. 2022-06-02 23:00:59 | [Mutex] isItemNotified: retracted:item:notifieditem-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.258s |
2022-06-02 23:00:58 |
2022-06-02 23:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:58 | ------------------------------------ 2022-06-02 23:00:58 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d974a66f-e73f-4874-8831-57b775720885</node><item-id>item-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca</item-id></data> 2022-06-02 23:00:59 | 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-d974a66f-e73f-4874-8831-57b775720885</value></node><item-id label="Item ID" type="text-single"><value>item-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca</value></item-id><item label="Item" type="text-multi"><value><item id="item-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca"><test>item-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca</test></item></value></item></result> 2022-06-02 23:00:59 | [Mutex] notify: [retrieved:item:item-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca:payload-matches:true:localhost] 2022-06-02 23:00:59 | [Mutex] received everything. 2022-06-02 23:00:59 | [Mutex] isItemNotified: retrieved:item:item-79d9c6b1-7f91-4dc7-9568-c09906f6b9ca:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-02 23:00:59 |
2022-06-02 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:59 | ------------------------------------ 2022-06-02 23:00:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-02 23:00:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-d974a66f-e73f-4874-8831-57b775720885</value><value>test</value><value>node-af4bc51c-8044-49fc-8505-30282416eb5c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-02 23:00:59 |
2022-06-02 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:59 | ------------------------------------ 2022-06-02 23:00:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d974a66f-e73f-4874-8831-57b775720885)</node-pattern></data> 2022-06-02 23:00:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.106s |
2022-06-02 23:00:57 |
2022-06-02 23:00:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:57 | ------------------------------------ 2022-06-02 23:00:57 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d974a66f-e73f-4874-8831-57b775720885</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-02 23:00:57 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.222s |
2022-06-02 23:00:59 |
2022-06-02 23:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-02 23:00:59 | ------------------------------------ 2022-06-02 23:00:59 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d974a66f-e73f-4874-8831-57b775720885</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-02 23:00:59 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |