Test duration : 10.074s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.047s |
2021-02-02 21:57:28 |
2021-02-02 21:57:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:28 | ------------------------------------ 2021-02-02 21:57:28 | [Mutex] waiting for: [configured:node:node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f:node-bd4828b0-e814-4645-8f79-ddb6d4d5037c] 2021-02-02 21:57:28 | [Mutex] received everything. 2021-02-02 21:57:28 | [Mutex] isItemNotified: configured:node:node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f:node-bd4828b0-e814-4645-8f79-ddb6d4d5037c :: true 2021-02-02 21:57:29 | [Mutex] waiting for: [received:nodes:088d5bc5-51e6-4a01-9c8b-8834f7f2cca7:localhost] 2021-02-02 21:57:29 | [Mutex] received everything. 2021-02-02 21:57:29 | [Mutex] isItemNotified: received:node:088d5bc5-51e6-4a01-9c8b-8834f7f2cca7:localhost:node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f:Node d6dd5470-1d02-4e20-9fac-771ebe00ee6f :: true 2021-02-02 21:57:29 | [Mutex] waiting for: [received:nodes:9419119e-f1c3-4d17-879b-d659c71a2f62:localhost] 2021-02-02 21:57:29 | [Mutex] received everything. 2021-02-02 21:57:29 | [Mutex] isItemNotified: received:node:9419119e-f1c3-4d17-879b-d659c71a2f62:localhost:node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f:Node d6dd5470-1d02-4e20-9fac-771ebe00ee6f :: false |
createNodes | 1.433s |
2021-02-02 21:57:26 |
2021-02-02 21:57:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:26 | ------------------------------------ 2021-02-02 21:57:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d6dd5470-1d02-4e20-9fac-771ebe00ee6f</title></pubsub></data> 2021-02-02 21:57:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 21:57:27 | [Mutex] waiting for: [received:nodes:64edc01a-cbf8-4b3b-b7b0-7536110691a8:localhost] 2021-02-02 21:57:27 | [Mutex] received everything. 2021-02-02 21:57:27 | [Mutex] isItemNotified: received:node:64edc01a-cbf8-4b3b-b7b0-7536110691a8:localhost:node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f:Node d6dd5470-1d02-4e20-9fac-771ebe00ee6f :: true |
createSubnodes | 1.026s |
2021-02-02 21:57:27 |
2021-02-02 21:57:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:27 | ------------------------------------ 2021-02-02 21:57:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-bd4828b0-e814-4645-8f79-ddb6d4d5037c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bd4828b0-e814-4645-8f79-ddb6d4d5037c</title></pubsub></data> 2021-02-02 21:57:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 21:57:28 | [Mutex] waiting for: [received:nodes:53c7b64f-423c-40e9-a917-defce7122d2e:localhost] 2021-02-02 21:57:28 | [Mutex] received everything. 2021-02-02 21:57:28 | [Mutex] isItemNotified: received:node:53c7b64f-423c-40e9-a917-defce7122d2e:localhost:node-bd4828b0-e814-4645-8f79-ddb6d4d5037c:Node bd4828b0-e814-4645-8f79-ddb6d4d5037c :: true |
deleteNodes | 1.021s |
2021-02-02 21:57:34 |
2021-02-02 21:57:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:34 | ------------------------------------ 2021-02-02 21:57:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-bd4828b0-e814-4645-8f79-ddb6d4d5037c</node></data> 2021-02-02 21:57:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 21:57:35 | [Mutex] waiting for: [received:nodes:d5410a9b-56bd-4fbe-8655-a5c4309ed934:localhost] 2021-02-02 21:57:35 | [Mutex] received everything. 2021-02-02 21:57:35 | [Mutex] isItemNotified: received:node:d5410a9b-56bd-4fbe-8655-a5c4309ed934:localhost:node-bd4828b0-e814-4645-8f79-ddb6d4d5037c:Node bd4828b0-e814-4645-8f79-ddb6d4d5037c :: false |
deleteSubnodes | 1.136s |
2021-02-02 21:57:32 |
2021-02-02 21:57:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:32 | ------------------------------------ 2021-02-02 21:57:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f</node></data> 2021-02-02 21:57:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-02-02 21:57:34 | [Mutex] waiting for: [received:nodes:ffc3fb2e-be81-4fe0-afd2-bae188519a2e:localhost] 2021-02-02 21:57:34 | [Mutex] received everything. 2021-02-02 21:57:34 | [Mutex] isItemNotified: received:node:ffc3fb2e-be81-4fe0-afd2-bae188519a2e:localhost:node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f:Node d6dd5470-1d02-4e20-9fac-771ebe00ee6f :: false 2021-02-02 21:57:34 | [Mutex] waiting for: [received:nodes:4bd7f0df-f601-4ca3-9ffb-667922cb0d8e:localhost] 2021-02-02 21:57:34 | [Mutex] received everything. 2021-02-02 21:57:34 | [Mutex] isItemNotified: received:node:4bd7f0df-f601-4ca3-9ffb-667922cb0d8e:localhost:node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f:Node d6dd5470-1d02-4e20-9fac-771ebe00ee6f :: false |
publishItemsToNodes | 0.232s |
2021-02-02 21:57:30 |
2021-02-02 21:57:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:30 | ------------------------------------ 2021-02-02 21:57:30 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f</node><item-id>item-c91c8584-fa3a-4b76-9cb4-c61afd6b798d</item-id><entry><test>item-c91c8584-fa3a-4b76-9cb4-c61afd6b798d</test></entry></data> 2021-02-02 21:57:30 | 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-c91c8584-fa3a-4b76-9cb4-c61afd6b798d</value></item-id></result> 2021-02-02 21:57:30 | [Mutex] waiting for: [published:item:notifieditem-c91c8584-fa3a-4b76-9cb4-c61afd6b798d:admin@test-domain.com] 2021-02-02 21:57:31 | [Mutex] received everything. 2021-02-02 21:57:31 | [Mutex] isItemNotified: published:item:notifieditem-c91c8584-fa3a-4b76-9cb4-c61afd6b798d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.260s |
2021-02-02 21:57:31 |
2021-02-02 21:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:31 | ------------------------------------ 2021-02-02 21:57:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f</node><item-id>item-c91c8584-fa3a-4b76-9cb4-c61afd6b798d</item-id></data> 2021-02-02 21:57:31 | 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-c91c8584-fa3a-4b76-9cb4-c61afd6b798d</value></item-id></result> 2021-02-02 21:57:31 | [Mutex] waiting for: [retracted:item:notifieditem-c91c8584-fa3a-4b76-9cb4-c61afd6b798d:admin@test-domain.com] 2021-02-02 21:57:31 | [Mutex] received everything. 2021-02-02 21:57:31 | [Mutex] isItemNotified: retracted:item:notifieditem-c91c8584-fa3a-4b76-9cb4-c61afd6b798d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2021-02-02 21:57:31 |
2021-02-02 21:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:31 | ------------------------------------ 2021-02-02 21:57:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f</node><item-id>item-c91c8584-fa3a-4b76-9cb4-c61afd6b798d</item-id></data> 2021-02-02 21:57:31 | 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-d6dd5470-1d02-4e20-9fac-771ebe00ee6f</value></node><item-id type="text-single" label="Item ID"><value>item-c91c8584-fa3a-4b76-9cb4-c61afd6b798d</value></item-id><item type="text-multi" label="Item"><value><item id="item-c91c8584-fa3a-4b76-9cb4-c61afd6b798d"><test>item-c91c8584-fa3a-4b76-9cb4-c61afd6b798d</test></item></value></item></result> 2021-02-02 21:57:31 | [Mutex] notify: [retrieved:item:item-c91c8584-fa3a-4b76-9cb4-c61afd6b798d:payload-matches:true:localhost] 2021-02-02 21:57:31 | [Mutex] received everything. 2021-02-02 21:57:31 | [Mutex] isItemNotified: retrieved:item:item-c91c8584-fa3a-4b76-9cb4-c61afd6b798d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2021-02-02 21:57:31 |
2021-02-02 21:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:31 | ------------------------------------ 2021-02-02 21:57:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-02-02 21:57:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-bd4828b0-e814-4645-8f79-ddb6d4d5037c</value><value>test</value><value>node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2021-02-02 21:57:31 |
2021-02-02 21:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:31 | ------------------------------------ 2021-02-02 21:57:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f)</node-pattern></data> 2021-02-02 21:57:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.204s |
2021-02-02 21:57:29 |
2021-02-02 21:57:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:29 | ------------------------------------ 2021-02-02 21:57:29 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-02 21:57:29 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.286s |
2021-02-02 21:57:31 |
2021-02-02 21:57:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-02-02 21:57:31 | ------------------------------------ 2021-02-02 21:57:31 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d6dd5470-1d02-4e20-9fac-771ebe00ee6f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-02-02 21:57:31 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |