Test duration : 9.356s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.131s |
2022-12-26 04:15:18 |
2022-12-26 04:15:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:18 | ------------------------------------ 2022-12-26 04:15:18 | [Mutex] waiting for: [configured:node:node-cea22def-5580-4b58-8cf1-f7d02516d0af:node-e4743521-68af-4f2a-a284-bbf560125e88] 2022-12-26 04:15:18 | [Mutex] received everything. 2022-12-26 04:15:18 | [Mutex] isItemNotified: configured:node:node-cea22def-5580-4b58-8cf1-f7d02516d0af:node-e4743521-68af-4f2a-a284-bbf560125e88 :: true 2022-12-26 04:15:19 | [Mutex] waiting for: [received:nodes:3dd31327-fefa-4718-861e-3ddab4ccf8ff:localhost] 2022-12-26 04:15:19 | [Mutex] received everything. 2022-12-26 04:15:19 | [Mutex] isItemNotified: received:node:3dd31327-fefa-4718-861e-3ddab4ccf8ff:localhost:node-cea22def-5580-4b58-8cf1-f7d02516d0af:Node cea22def-5580-4b58-8cf1-f7d02516d0af :: true 2022-12-26 04:15:19 | [Mutex] waiting for: [received:nodes:07bb5ccc-766e-45cc-b96f-dcbdc37f882d:localhost] 2022-12-26 04:15:19 | [Mutex] received everything. 2022-12-26 04:15:19 | [Mutex] isItemNotified: received:node:07bb5ccc-766e-45cc-b96f-dcbdc37f882d:localhost:node-cea22def-5580-4b58-8cf1-f7d02516d0af:Node cea22def-5580-4b58-8cf1-f7d02516d0af :: false |
createNodes | 1.349s |
2022-12-26 04:15:15 |
2022-12-26 04:15:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:15 | ------------------------------------ 2022-12-26 04:15:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cea22def-5580-4b58-8cf1-f7d02516d0af</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cea22def-5580-4b58-8cf1-f7d02516d0af</title></pubsub></data> 2022-12-26 04:15:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-26 04:15:17 | [Mutex] waiting for: [received:nodes:0c5006f9-33ee-44a9-97f1-22b5f714d07a:localhost] 2022-12-26 04:15:17 | [Mutex] waiting for: [received:nodes:0c5006f9-33ee-44a9-97f1-22b5f714d07a:localhost] 2022-12-26 04:15:17 | [Mutex] waiting for: [received:nodes:0c5006f9-33ee-44a9-97f1-22b5f714d07a:localhost] 2022-12-26 04:15:17 | [Mutex] waiting for: [received:nodes:0c5006f9-33ee-44a9-97f1-22b5f714d07a:localhost] 2022-12-26 04:15:17 | [Mutex] received everything. 2022-12-26 04:15:17 | [Mutex] isItemNotified: received:node:0c5006f9-33ee-44a9-97f1-22b5f714d07a:localhost:node-cea22def-5580-4b58-8cf1-f7d02516d0af:Node cea22def-5580-4b58-8cf1-f7d02516d0af :: true |
createSubnodes | 1.028s |
2022-12-26 04:15:17 |
2022-12-26 04:15:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:17 | ------------------------------------ 2022-12-26 04:15:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e4743521-68af-4f2a-a284-bbf560125e88</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e4743521-68af-4f2a-a284-bbf560125e88</title></pubsub></data> 2022-12-26 04:15:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-26 04:15:18 | [Mutex] waiting for: [received:nodes:47760d7b-83e8-4c50-815e-ceb9ee655483:localhost] 2022-12-26 04:15:18 | [Mutex] waiting for: [received:nodes:47760d7b-83e8-4c50-815e-ceb9ee655483:localhost] 2022-12-26 04:15:18 | [Mutex] waiting for: [received:nodes:47760d7b-83e8-4c50-815e-ceb9ee655483:localhost] 2022-12-26 04:15:18 | [Mutex] received everything. 2022-12-26 04:15:18 | [Mutex] isItemNotified: received:node:47760d7b-83e8-4c50-815e-ceb9ee655483:localhost:node-e4743521-68af-4f2a-a284-bbf560125e88:Node e4743521-68af-4f2a-a284-bbf560125e88 :: true |
deleteNodes | 1.020s |
2022-12-26 04:15:23 |
2022-12-26 04:15:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:23 | ------------------------------------ 2022-12-26 04:15:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e4743521-68af-4f2a-a284-bbf560125e88</node></data> 2022-12-26 04:15:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-26 04:15:24 | [Mutex] waiting for: [received:nodes:e9a2eb9c-a432-4466-838d-bdc4c28ba19f:localhost] 2022-12-26 04:15:24 | [Mutex] waiting for: [received:nodes:e9a2eb9c-a432-4466-838d-bdc4c28ba19f:localhost] 2022-12-26 04:15:24 | [Mutex] waiting for: [received:nodes:e9a2eb9c-a432-4466-838d-bdc4c28ba19f:localhost] 2022-12-26 04:15:24 | [Mutex] received everything. 2022-12-26 04:15:24 | [Mutex] isItemNotified: received:node:e9a2eb9c-a432-4466-838d-bdc4c28ba19f:localhost:node-e4743521-68af-4f2a-a284-bbf560125e88:Node e4743521-68af-4f2a-a284-bbf560125e88 :: false |
deleteSubnodes | 1.121s |
2022-12-26 04:15:22 |
2022-12-26 04:15:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:22 | ------------------------------------ 2022-12-26 04:15:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cea22def-5580-4b58-8cf1-f7d02516d0af</node></data> 2022-12-26 04:15:22 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-26 04:15:23 | [Mutex] waiting for: [received:nodes:dc218368-634f-4f6d-a0e9-1d505313a968:localhost] 2022-12-26 04:15:23 | [Mutex] waiting for: [received:nodes:dc218368-634f-4f6d-a0e9-1d505313a968:localhost] 2022-12-26 04:15:23 | [Mutex] waiting for: [received:nodes:dc218368-634f-4f6d-a0e9-1d505313a968:localhost] 2022-12-26 04:15:23 | [Mutex] received everything. 2022-12-26 04:15:23 | [Mutex] isItemNotified: received:node:dc218368-634f-4f6d-a0e9-1d505313a968:localhost:node-cea22def-5580-4b58-8cf1-f7d02516d0af:Node cea22def-5580-4b58-8cf1-f7d02516d0af :: false 2022-12-26 04:15:23 | [Mutex] waiting for: [received:nodes:a74e03ee-a223-4348-b970-c6dbd11f5c73:localhost] 2022-12-26 04:15:23 | [Mutex] received everything. 2022-12-26 04:15:23 | [Mutex] isItemNotified: received:node:a74e03ee-a223-4348-b970-c6dbd11f5c73:localhost:node-cea22def-5580-4b58-8cf1-f7d02516d0af:Node cea22def-5580-4b58-8cf1-f7d02516d0af :: false |
publishItemsToNodes | 0.221s |
2022-12-26 04:15:20 |
2022-12-26 04:15:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:20 | ------------------------------------ 2022-12-26 04:15:20 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-cea22def-5580-4b58-8cf1-f7d02516d0af</node><item-id>item-0bacd68b-7c8d-497a-bbae-a8db4637ccf4</item-id><entry><test>item-0bacd68b-7c8d-497a-bbae-a8db4637ccf4</test></entry></data> 2022-12-26 04:15:20 | 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-0bacd68b-7c8d-497a-bbae-a8db4637ccf4</value></item-id></result> 2022-12-26 04:15:20 | [Mutex] received everything. 2022-12-26 04:15:20 | [Mutex] isItemNotified: published:item:notifieditem-0bacd68b-7c8d-497a-bbae-a8db4637ccf4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.215s |
2022-12-26 04:15:21 |
2022-12-26 04:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:21 | ------------------------------------ 2022-12-26 04:15:21 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-cea22def-5580-4b58-8cf1-f7d02516d0af</node><item-id>item-0bacd68b-7c8d-497a-bbae-a8db4637ccf4</item-id></data> 2022-12-26 04:15:21 | 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-0bacd68b-7c8d-497a-bbae-a8db4637ccf4</value></item-id></result> 2022-12-26 04:15:21 | [Mutex] received everything. 2022-12-26 04:15:21 | [Mutex] isItemNotified: retracted:item:notifieditem-0bacd68b-7c8d-497a-bbae-a8db4637ccf4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.248s |
2022-12-26 04:15:20 |
2022-12-26 04:15:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:20 | ------------------------------------ 2022-12-26 04:15:20 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-cea22def-5580-4b58-8cf1-f7d02516d0af</node><item-id>item-0bacd68b-7c8d-497a-bbae-a8db4637ccf4</item-id></data> 2022-12-26 04:15:21 | 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-cea22def-5580-4b58-8cf1-f7d02516d0af</value></node><item-id type="text-single" label="Item ID"><value>item-0bacd68b-7c8d-497a-bbae-a8db4637ccf4</value></item-id><item type="text-multi" label="Item"><value><item id="item-0bacd68b-7c8d-497a-bbae-a8db4637ccf4"><test>item-0bacd68b-7c8d-497a-bbae-a8db4637ccf4</test></item></value></item></result> 2022-12-26 04:15:21 | [Mutex] notify: [retrieved:item:item-0bacd68b-7c8d-497a-bbae-a8db4637ccf4:payload-matches:true:localhost] 2022-12-26 04:15:21 | [Mutex] received everything. 2022-12-26 04:15:21 | [Mutex] isItemNotified: retrieved:item:item-0bacd68b-7c8d-497a-bbae-a8db4637ccf4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-26 04:15:21 |
2022-12-26 04:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:21 | ------------------------------------ 2022-12-26 04:15:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-26 04:15:21 | 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-e4743521-68af-4f2a-a284-bbf560125e88</value><value>node-cea22def-5580-4b58-8cf1-f7d02516d0af</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-26 04:15:21 |
2022-12-26 04:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:21 | ------------------------------------ 2022-12-26 04:15:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cea22def-5580-4b58-8cf1-f7d02516d0af)</node-pattern></data> 2022-12-26 04:15:21 | 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-12-26 04:15:19 |
2022-12-26 04:15:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:19 | ------------------------------------ 2022-12-26 04:15:19 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-cea22def-5580-4b58-8cf1-f7d02516d0af</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-26 04:15:19 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.191s |
2022-12-26 04:15:21 |
2022-12-26 04:15:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 04:15:21 | ------------------------------------ 2022-12-26 04:15:21 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-cea22def-5580-4b58-8cf1-f7d02516d0af</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-26 04:15:21 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |