Test duration : 10.149s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2020-09-25 15:59:24 |
2020-09-25 15:59:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:24 | ------------------------------------ 2020-09-25 15:59:24 | [Mutex] waiting for: [configured:node:node-8a3efefd-773d-472e-b860-f41adc8a756d:node-f0d2f57a-d120-43e0-9102-22f4b4e08179] 2020-09-25 15:59:24 | [Mutex] received everything. 2020-09-25 15:59:24 | [Mutex] isItemNotified: configured:node:node-8a3efefd-773d-472e-b860-f41adc8a756d:node-f0d2f57a-d120-43e0-9102-22f4b4e08179 :: true 2020-09-25 15:59:25 | [Mutex] waiting for: [received:nodes:b413e5c3-764c-4f47-b192-925040cfe1d8:localhost] 2020-09-25 15:59:25 | [Mutex] received everything. 2020-09-25 15:59:25 | [Mutex] isItemNotified: received:node:b413e5c3-764c-4f47-b192-925040cfe1d8:localhost:node-8a3efefd-773d-472e-b860-f41adc8a756d:Node 8a3efefd-773d-472e-b860-f41adc8a756d :: true 2020-09-25 15:59:25 | [Mutex] waiting for: [received:nodes:ffe6c3a3-476f-4e21-b2f0-bd5cb5cf09c8:localhost] 2020-09-25 15:59:25 | [Mutex] waiting for: [received:nodes:ffe6c3a3-476f-4e21-b2f0-bd5cb5cf09c8:localhost] 2020-09-25 15:59:25 | [Mutex] waiting for: [received:nodes:ffe6c3a3-476f-4e21-b2f0-bd5cb5cf09c8:localhost] 2020-09-25 15:59:25 | [Mutex] received everything. 2020-09-25 15:59:25 | [Mutex] isItemNotified: received:node:ffe6c3a3-476f-4e21-b2f0-bd5cb5cf09c8:localhost:node-8a3efefd-773d-472e-b860-f41adc8a756d:Node 8a3efefd-773d-472e-b860-f41adc8a756d :: false |
createNodes | 1.592s |
2020-09-25 15:59:21 |
2020-09-25 15:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:21 | ------------------------------------ 2020-09-25 15:59:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8a3efefd-773d-472e-b860-f41adc8a756d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8a3efefd-773d-472e-b860-f41adc8a756d</title></pubsub></data> 2020-09-25 15:59:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 15:59:23 | [Mutex] waiting for: [received:nodes:6538fc54-6077-4cdb-b3d9-7ac9bd45eb56:localhost] 2020-09-25 15:59:23 | [Mutex] received everything. 2020-09-25 15:59:23 | [Mutex] isItemNotified: received:node:6538fc54-6077-4cdb-b3d9-7ac9bd45eb56:localhost:node-8a3efefd-773d-472e-b860-f41adc8a756d:Node 8a3efefd-773d-472e-b860-f41adc8a756d :: true |
createSubnodes | 1.031s |
2020-09-25 15:59:23 |
2020-09-25 15:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:23 | ------------------------------------ 2020-09-25 15:59:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f0d2f57a-d120-43e0-9102-22f4b4e08179</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0d2f57a-d120-43e0-9102-22f4b4e08179</title></pubsub></data> 2020-09-25 15:59:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 15:59:24 | [Mutex] waiting for: [received:nodes:bc0b2a6c-0f09-4b66-82ed-799c7879b241:localhost] 2020-09-25 15:59:24 | [Mutex] received everything. 2020-09-25 15:59:24 | [Mutex] isItemNotified: received:node:bc0b2a6c-0f09-4b66-82ed-799c7879b241:localhost:node-f0d2f57a-d120-43e0-9102-22f4b4e08179:Node f0d2f57a-d120-43e0-9102-22f4b4e08179 :: true |
deleteNodes | 1.015s |
2020-09-25 15:59:29 |
2020-09-25 15:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:29 | ------------------------------------ 2020-09-25 15:59:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f0d2f57a-d120-43e0-9102-22f4b4e08179</node></data> 2020-09-25 15:59:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 15:59:30 | [Mutex] waiting for: [received:nodes:6d58a7be-565a-4fb5-a24a-4cf90e2e44d3:localhost] 2020-09-25 15:59:30 | [Mutex] received everything. 2020-09-25 15:59:30 | [Mutex] isItemNotified: received:node:6d58a7be-565a-4fb5-a24a-4cf90e2e44d3:localhost:node-f0d2f57a-d120-43e0-9102-22f4b4e08179:Node f0d2f57a-d120-43e0-9102-22f4b4e08179 :: false |
deleteSubnodes | 1.133s |
2020-09-25 15:59:28 |
2020-09-25 15:59:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:28 | ------------------------------------ 2020-09-25 15:59:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8a3efefd-773d-472e-b860-f41adc8a756d</node></data> 2020-09-25 15:59:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 15:59:29 | [Mutex] waiting for: [received:nodes:cf14a692-9133-46f6-86b8-c75556a4e819:localhost] 2020-09-25 15:59:29 | [Mutex] received everything. 2020-09-25 15:59:29 | [Mutex] isItemNotified: received:node:cf14a692-9133-46f6-86b8-c75556a4e819:localhost:node-8a3efefd-773d-472e-b860-f41adc8a756d:Node 8a3efefd-773d-472e-b860-f41adc8a756d :: false 2020-09-25 15:59:29 | [Mutex] waiting for: [received:nodes:6307bd0a-528e-41b2-bfce-b409c24a74e7:localhost] 2020-09-25 15:59:29 | [Mutex] received everything. 2020-09-25 15:59:29 | [Mutex] isItemNotified: received:node:6307bd0a-528e-41b2-bfce-b409c24a74e7:localhost:node-8a3efefd-773d-472e-b860-f41adc8a756d:Node 8a3efefd-773d-472e-b860-f41adc8a756d :: false |
publishItemsToNodes | 0.164s |
2020-09-25 15:59:26 |
2020-09-25 15:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:26 | ------------------------------------ 2020-09-25 15:59:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8a3efefd-773d-472e-b860-f41adc8a756d</node><item-id>item-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6</item-id><entry><test>item-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6</test></entry></data> 2020-09-25 15:59:26 | 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-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6</value></item-id></result> 2020-09-25 15:59:26 | [Mutex] received everything. 2020-09-25 15:59:26 | [Mutex] isItemNotified: published:item:notifieditem-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.319s |
2020-09-25 15:59:27 |
2020-09-25 15:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:27 | ------------------------------------ 2020-09-25 15:59:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8a3efefd-773d-472e-b860-f41adc8a756d</node><item-id>item-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6</item-id></data> 2020-09-25 15:59:27 | 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-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6</value></item-id></result> 2020-09-25 15:59:27 | [Mutex] received everything. 2020-09-25 15:59:27 | [Mutex] isItemNotified: retracted:item:notifieditem-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.312s |
2020-09-25 15:59:26 |
2020-09-25 15:59:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:26 | ------------------------------------ 2020-09-25 15:59:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8a3efefd-773d-472e-b860-f41adc8a756d</node><item-id>item-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6</item-id></data> 2020-09-25 15:59:27 | 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-8a3efefd-773d-472e-b860-f41adc8a756d</value></node><item-id label="Item ID" type="text-single"><value>item-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6</value></item-id><item label="Item" type="text-multi"><value><item id="item-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6"><test>item-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6</test></item></value></item></result> 2020-09-25 15:59:27 | [Mutex] notify: [retrieved:item:item-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6:payload-matches:true:localhost] 2020-09-25 15:59:27 | [Mutex] received everything. 2020-09-25 15:59:27 | [Mutex] isItemNotified: retrieved:item:item-c2b1b7a2-6ab9-4e4d-8a9b-1d02fd4f27e6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-25 15:59:27 |
2020-09-25 15:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:27 | ------------------------------------ 2020-09-25 15:59:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-25 15:59:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-8a3efefd-773d-472e-b860-f41adc8a756d</value><value>test</value><value>node-f0d2f57a-d120-43e0-9102-22f4b4e08179</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-25 15:59:27 |
2020-09-25 15:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:27 | ------------------------------------ 2020-09-25 15:59:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8a3efefd-773d-472e-b860-f41adc8a756d)</node-pattern></data> 2020-09-25 15:59:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.117s |
2020-09-25 15:59:25 |
2020-09-25 15:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:25 | ------------------------------------ 2020-09-25 15:59:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8a3efefd-773d-472e-b860-f41adc8a756d</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-25 15:59:25 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.219s |
2020-09-25 15:59:27 |
2020-09-25 15:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 15:59:27 | ------------------------------------ 2020-09-25 15:59:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8a3efefd-773d-472e-b860-f41adc8a756d</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-25 15:59:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |