Test duration : 9.624s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2022-05-09 23:06:09 |
2022-05-09 23:06:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:09 | ------------------------------------ 2022-05-09 23:06:09 | [Mutex] waiting for: [configured:node:node-3e8b16a4-959a-4581-a92b-2fd12a1a09be:node-1bbf2d4e-ac92-43cd-8599-becded2be29e] 2022-05-09 23:06:09 | [Mutex] received everything. 2022-05-09 23:06:09 | [Mutex] isItemNotified: configured:node:node-3e8b16a4-959a-4581-a92b-2fd12a1a09be:node-1bbf2d4e-ac92-43cd-8599-becded2be29e :: true 2022-05-09 23:06:10 | [Mutex] waiting for: [received:nodes:33608456-a78a-4861-8d62-5dc191e960bc:localhost] 2022-05-09 23:06:10 | [Mutex] received everything. 2022-05-09 23:06:10 | [Mutex] isItemNotified: received:node:33608456-a78a-4861-8d62-5dc191e960bc:localhost:node-3e8b16a4-959a-4581-a92b-2fd12a1a09be:Node 3e8b16a4-959a-4581-a92b-2fd12a1a09be :: true 2022-05-09 23:06:10 | [Mutex] waiting for: [received:nodes:76ecf278-4af9-469e-bbb6-c7f1a292bad2:localhost] 2022-05-09 23:06:10 | [Mutex] waiting for: [received:nodes:76ecf278-4af9-469e-bbb6-c7f1a292bad2:localhost] 2022-05-09 23:06:10 | [Mutex] waiting for: [received:nodes:76ecf278-4af9-469e-bbb6-c7f1a292bad2:localhost] 2022-05-09 23:06:10 | [Mutex] received everything. 2022-05-09 23:06:10 | [Mutex] isItemNotified: received:node:76ecf278-4af9-469e-bbb6-c7f1a292bad2:localhost:node-3e8b16a4-959a-4581-a92b-2fd12a1a09be:Node 3e8b16a4-959a-4581-a92b-2fd12a1a09be :: false |
createNodes | 1.464s |
2022-05-09 23:06:06 |
2022-05-09 23:06:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:06 | ------------------------------------ 2022-05-09 23:06:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3e8b16a4-959a-4581-a92b-2fd12a1a09be</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3e8b16a4-959a-4581-a92b-2fd12a1a09be</title></pubsub></data> 2022-05-09 23:06:07 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-09 23:06:08 | [Mutex] waiting for: [received:nodes:2e84f7b9-b58a-489f-9fee-3d162173b944:localhost] 2022-05-09 23:06:08 | [Mutex] received everything. 2022-05-09 23:06:08 | [Mutex] isItemNotified: received:node:2e84f7b9-b58a-489f-9fee-3d162173b944:localhost:node-3e8b16a4-959a-4581-a92b-2fd12a1a09be:Node 3e8b16a4-959a-4581-a92b-2fd12a1a09be :: true |
createSubnodes | 1.021s |
2022-05-09 23:06:08 |
2022-05-09 23:06:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:08 | ------------------------------------ 2022-05-09 23:06:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1bbf2d4e-ac92-43cd-8599-becded2be29e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1bbf2d4e-ac92-43cd-8599-becded2be29e</title></pubsub></data> 2022-05-09 23:06:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-09 23:06:09 | [Mutex] waiting for: [received:nodes:2add308a-8478-44ce-a3ed-b7fb81d84072:localhost] 2022-05-09 23:06:09 | [Mutex] received everything. 2022-05-09 23:06:09 | [Mutex] isItemNotified: received:node:2add308a-8478-44ce-a3ed-b7fb81d84072:localhost:node-1bbf2d4e-ac92-43cd-8599-becded2be29e:Node 1bbf2d4e-ac92-43cd-8599-becded2be29e :: true |
deleteNodes | 1.017s |
2022-05-09 23:06:14 |
2022-05-09 23:06:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:14 | ------------------------------------ 2022-05-09 23:06:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1bbf2d4e-ac92-43cd-8599-becded2be29e</node></data> 2022-05-09 23:06:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-09 23:06:15 | [Mutex] waiting for: [received:nodes:3a1a58e6-5dae-4c7e-9500-c0a5b0e4f3a4:localhost] 2022-05-09 23:06:15 | [Mutex] received everything. 2022-05-09 23:06:15 | [Mutex] isItemNotified: received:node:3a1a58e6-5dae-4c7e-9500-c0a5b0e4f3a4:localhost:node-1bbf2d4e-ac92-43cd-8599-becded2be29e:Node 1bbf2d4e-ac92-43cd-8599-becded2be29e :: false |
deleteSubnodes | 1.127s |
2022-05-09 23:06:13 |
2022-05-09 23:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:13 | ------------------------------------ 2022-05-09 23:06:13 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3e8b16a4-959a-4581-a92b-2fd12a1a09be</node></data> 2022-05-09 23:06:13 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-09 23:06:14 | [Mutex] waiting for: [received:nodes:559b4be2-bc83-4c49-be24-5cb553ca2975:localhost] 2022-05-09 23:06:14 | [Mutex] received everything. 2022-05-09 23:06:14 | [Mutex] isItemNotified: received:node:559b4be2-bc83-4c49-be24-5cb553ca2975:localhost:node-3e8b16a4-959a-4581-a92b-2fd12a1a09be:Node 3e8b16a4-959a-4581-a92b-2fd12a1a09be :: false 2022-05-09 23:06:14 | [Mutex] waiting for: [received:nodes:b460566c-a108-4a14-bc98-57e97b7d7d40:localhost] 2022-05-09 23:06:14 | [Mutex] received everything. 2022-05-09 23:06:14 | [Mutex] isItemNotified: received:node:b460566c-a108-4a14-bc98-57e97b7d7d40:localhost:node-3e8b16a4-959a-4581-a92b-2fd12a1a09be:Node 3e8b16a4-959a-4581-a92b-2fd12a1a09be :: false |
publishItemsToNodes | 0.199s |
2022-05-09 23:06:11 |
2022-05-09 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:11 | ------------------------------------ 2022-05-09 23:06:11 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3e8b16a4-959a-4581-a92b-2fd12a1a09be</node><item-id>item-c6636041-04b4-436f-aa6d-8bf057f4bc09</item-id><entry><test>item-c6636041-04b4-436f-aa6d-8bf057f4bc09</test></entry></data> 2022-05-09 23:06:11 | 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-c6636041-04b4-436f-aa6d-8bf057f4bc09</value></item-id></result> 2022-05-09 23:06:11 | [Mutex] received everything. 2022-05-09 23:06:11 | [Mutex] isItemNotified: published:item:notifieditem-c6636041-04b4-436f-aa6d-8bf057f4bc09:admin@test-domain.com :: true |
retractItemsFromNodes | 0.215s |
2022-05-09 23:06:12 |
2022-05-09 23:06:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:12 | ------------------------------------ 2022-05-09 23:06:12 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3e8b16a4-959a-4581-a92b-2fd12a1a09be</node><item-id>item-c6636041-04b4-436f-aa6d-8bf057f4bc09</item-id></data> 2022-05-09 23:06:12 | 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-c6636041-04b4-436f-aa6d-8bf057f4bc09</value></item-id></result> 2022-05-09 23:06:12 | [Mutex] received everything. 2022-05-09 23:06:12 | [Mutex] isItemNotified: retracted:item:notifieditem-c6636041-04b4-436f-aa6d-8bf057f4bc09:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.270s |
2022-05-09 23:06:11 |
2022-05-09 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:11 | ------------------------------------ 2022-05-09 23:06:11 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3e8b16a4-959a-4581-a92b-2fd12a1a09be</node><item-id>item-c6636041-04b4-436f-aa6d-8bf057f4bc09</item-id></data> 2022-05-09 23:06:11 | 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-3e8b16a4-959a-4581-a92b-2fd12a1a09be</value></node><item-id type="text-single" label="Item ID"><value>item-c6636041-04b4-436f-aa6d-8bf057f4bc09</value></item-id><item type="text-multi" label="Item"><value><item id="item-c6636041-04b4-436f-aa6d-8bf057f4bc09"><test>item-c6636041-04b4-436f-aa6d-8bf057f4bc09</test></item></value></item></result> 2022-05-09 23:06:11 | [Mutex] notify: [retrieved:item:item-c6636041-04b4-436f-aa6d-8bf057f4bc09:payload-matches:true:localhost] 2022-05-09 23:06:11 | [Mutex] received everything. 2022-05-09 23:06:11 | [Mutex] isItemNotified: retrieved:item:item-c6636041-04b4-436f-aa6d-8bf057f4bc09:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-05-09 23:06:11 |
2022-05-09 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:11 | ------------------------------------ 2022-05-09 23:06:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-09 23:06:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-1bbf2d4e-ac92-43cd-8599-becded2be29e</value><value>test</value><value>node-3e8b16a4-959a-4581-a92b-2fd12a1a09be</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-05-09 23:06:11 |
2022-05-09 23:06:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:11 | ------------------------------------ 2022-05-09 23:06:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3e8b16a4-959a-4581-a92b-2fd12a1a09be)</node-pattern></data> 2022-05-09 23:06:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.108s |
2022-05-09 23:06:10 |
2022-05-09 23:06:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:10 | ------------------------------------ 2022-05-09 23:06:10 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3e8b16a4-959a-4581-a92b-2fd12a1a09be</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-09 23:06:10 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.251s |
2022-05-09 23:06:12 |
2022-05-09 23:06:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 23:06:12 | ------------------------------------ 2022-05-09 23:06:12 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3e8b16a4-959a-4581-a92b-2fd12a1a09be</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-09 23:06:12 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |