Test duration : 9.905s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.089s |
2020-08-27 22:59:13 |
2020-08-27 22:59:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:13 | ------------------------------------ 2020-08-27 22:59:13 | [Mutex] waiting for: [configured:node:node-d000011a-4148-4674-a062-315bad92b40c:node-c6f2d412-b32c-42fb-8800-71a95c2d2f94] 2020-08-27 22:59:13 | [Mutex] received everything. 2020-08-27 22:59:13 | [Mutex] isItemNotified: configured:node:node-d000011a-4148-4674-a062-315bad92b40c:node-c6f2d412-b32c-42fb-8800-71a95c2d2f94 :: true 2020-08-27 22:59:14 | [Mutex] waiting for: [received:nodes:d10bc817-ef5d-4793-9a38-5285f629e587:localhost] 2020-08-27 22:59:14 | [Mutex] received everything. 2020-08-27 22:59:14 | [Mutex] isItemNotified: received:node:d10bc817-ef5d-4793-9a38-5285f629e587:localhost:node-d000011a-4148-4674-a062-315bad92b40c:Node d000011a-4148-4674-a062-315bad92b40c :: true 2020-08-27 22:59:14 | [Mutex] waiting for: [received:nodes:1417df1a-fb15-49aa-89c5-7efbdfe46c9f:localhost] 2020-08-27 22:59:14 | [Mutex] received everything. 2020-08-27 22:59:14 | [Mutex] isItemNotified: received:node:1417df1a-fb15-49aa-89c5-7efbdfe46c9f:localhost:node-d000011a-4148-4674-a062-315bad92b40c:Node d000011a-4148-4674-a062-315bad92b40c :: false |
createNodes | 1.359s |
2020-08-27 22:59:11 |
2020-08-27 22:59:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:11 | ------------------------------------ 2020-08-27 22:59:11 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d000011a-4148-4674-a062-315bad92b40c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d000011a-4148-4674-a062-315bad92b40c</title></pubsub></data> 2020-08-27 22:59:11 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 22:59:12 | [Mutex] waiting for: [received:nodes:dff7d381-098b-489e-a8ad-e05578e58ffd:localhost] 2020-08-27 22:59:12 | [Mutex] received everything. 2020-08-27 22:59:12 | [Mutex] isItemNotified: received:node:dff7d381-098b-489e-a8ad-e05578e58ffd:localhost:node-d000011a-4148-4674-a062-315bad92b40c:Node d000011a-4148-4674-a062-315bad92b40c :: true |
createSubnodes | 1.041s |
2020-08-27 22:59:12 |
2020-08-27 22:59:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:12 | ------------------------------------ 2020-08-27 22:59:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c6f2d412-b32c-42fb-8800-71a95c2d2f94</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c6f2d412-b32c-42fb-8800-71a95c2d2f94</title></pubsub></data> 2020-08-27 22:59:12 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 22:59:13 | [Mutex] waiting for: [received:nodes:dde7801c-d96e-4b8e-b75f-0bf78674f82b:localhost] 2020-08-27 22:59:13 | [Mutex] received everything. 2020-08-27 22:59:13 | [Mutex] isItemNotified: received:node:dde7801c-d96e-4b8e-b75f-0bf78674f82b:localhost:node-c6f2d412-b32c-42fb-8800-71a95c2d2f94:Node c6f2d412-b32c-42fb-8800-71a95c2d2f94 :: true |
deleteNodes | 1.018s |
2020-08-27 22:59:19 |
2020-08-27 22:59:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:19 | ------------------------------------ 2020-08-27 22:59:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c6f2d412-b32c-42fb-8800-71a95c2d2f94</node></data> 2020-08-27 22:59:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 22:59:20 | [Mutex] waiting for: [received:nodes:8c7639f9-47cd-4d8e-99e2-a2a1ca65b159:localhost] 2020-08-27 22:59:20 | [Mutex] received everything. 2020-08-27 22:59:20 | [Mutex] isItemNotified: received:node:8c7639f9-47cd-4d8e-99e2-a2a1ca65b159:localhost:node-c6f2d412-b32c-42fb-8800-71a95c2d2f94:Node c6f2d412-b32c-42fb-8800-71a95c2d2f94 :: false |
deleteSubnodes | 1.122s |
2020-08-27 22:59:17 |
2020-08-27 22:59:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:17 | ------------------------------------ 2020-08-27 22:59:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d000011a-4148-4674-a062-315bad92b40c</node></data> 2020-08-27 22:59:18 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-27 22:59:19 | [Mutex] waiting for: [received:nodes:1acb59e7-88fb-4601-8e94-1bd380c3a0eb:localhost] 2020-08-27 22:59:19 | [Mutex] waiting for: [received:nodes:1acb59e7-88fb-4601-8e94-1bd380c3a0eb:localhost] 2020-08-27 22:59:19 | [Mutex] received everything. 2020-08-27 22:59:19 | [Mutex] isItemNotified: received:node:1acb59e7-88fb-4601-8e94-1bd380c3a0eb:localhost:node-d000011a-4148-4674-a062-315bad92b40c:Node d000011a-4148-4674-a062-315bad92b40c :: false 2020-08-27 22:59:19 | [Mutex] waiting for: [received:nodes:8193c6c8-563e-429f-84a3-6c721d12b936:localhost] 2020-08-27 22:59:19 | [Mutex] received everything. 2020-08-27 22:59:19 | [Mutex] isItemNotified: received:node:8193c6c8-563e-429f-84a3-6c721d12b936:localhost:node-d000011a-4148-4674-a062-315bad92b40c:Node d000011a-4148-4674-a062-315bad92b40c :: false |
publishItemsToNodes | 0.186s |
2020-08-27 22:59:15 |
2020-08-27 22:59:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:15 | ------------------------------------ 2020-08-27 22:59:15 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d000011a-4148-4674-a062-315bad92b40c</node><item-id>item-c01f8235-de46-4be7-8d6b-2dd237e987ed</item-id><entry><test>item-c01f8235-de46-4be7-8d6b-2dd237e987ed</test></entry></data> 2020-08-27 22:59:16 | 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-c01f8235-de46-4be7-8d6b-2dd237e987ed</value></item-id></result> 2020-08-27 22:59:16 | [Mutex] waiting for: [published:item:notifieditem-c01f8235-de46-4be7-8d6b-2dd237e987ed:admin@test-domain.com] 2020-08-27 22:59:16 | [Mutex] received everything. 2020-08-27 22:59:16 | [Mutex] isItemNotified: published:item:notifieditem-c01f8235-de46-4be7-8d6b-2dd237e987ed:admin@test-domain.com :: true |
retractItemsFromNodes | 0.307s |
2020-08-27 22:59:16 |
2020-08-27 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:16 | ------------------------------------ 2020-08-27 22:59:16 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d000011a-4148-4674-a062-315bad92b40c</node><item-id>item-c01f8235-de46-4be7-8d6b-2dd237e987ed</item-id></data> 2020-08-27 22:59:16 | 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-c01f8235-de46-4be7-8d6b-2dd237e987ed</value></item-id></result> 2020-08-27 22:59:16 | [Mutex] received everything. 2020-08-27 22:59:16 | [Mutex] isItemNotified: retracted:item:notifieditem-c01f8235-de46-4be7-8d6b-2dd237e987ed:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.188s |
2020-08-27 22:59:16 |
2020-08-27 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:16 | ------------------------------------ 2020-08-27 22:59:16 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d000011a-4148-4674-a062-315bad92b40c</node><item-id>item-c01f8235-de46-4be7-8d6b-2dd237e987ed</item-id></data> 2020-08-27 22:59:16 | 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-d000011a-4148-4674-a062-315bad92b40c</value></node><item-id type="text-single" label="Item ID"><value>item-c01f8235-de46-4be7-8d6b-2dd237e987ed</value></item-id><item type="text-multi" label="Item"><value><item id="item-c01f8235-de46-4be7-8d6b-2dd237e987ed"><test>item-c01f8235-de46-4be7-8d6b-2dd237e987ed</test></item></value></item></result> 2020-08-27 22:59:16 | [Mutex] notify: [retrieved:item:item-c01f8235-de46-4be7-8d6b-2dd237e987ed:payload-matches:true:localhost] 2020-08-27 22:59:16 | [Mutex] received everything. 2020-08-27 22:59:16 | [Mutex] isItemNotified: retrieved:item:item-c01f8235-de46-4be7-8d6b-2dd237e987ed:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-08-27 22:59:16 |
2020-08-27 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:16 | ------------------------------------ 2020-08-27 22:59:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-27 22:59:16 | 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-c6f2d412-b32c-42fb-8800-71a95c2d2f94</value><value>node-d000011a-4148-4674-a062-315bad92b40c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-08-27 22:59:16 |
2020-08-27 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:16 | ------------------------------------ 2020-08-27 22:59:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d000011a-4148-4674-a062-315bad92b40c)</node-pattern></data> 2020-08-27 22:59:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.141s |
2020-08-27 22:59:14 |
2020-08-27 22:59:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:14 | ------------------------------------ 2020-08-27 22:59:14 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d000011a-4148-4674-a062-315bad92b40c</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 22:59:14 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.195s |
2020-08-27 22:59:16 |
2020-08-27 22:59:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-27 22:59:16 | ------------------------------------ 2020-08-27 22:59:16 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d000011a-4148-4674-a062-315bad92b40c</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-27 22:59:16 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |