Test duration : 10.226s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.148s |
2022-01-16 21:44:18 |
2022-01-16 21:44:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:18 | ------------------------------------ 2022-01-16 21:44:18 | [Mutex] waiting for: [configured:node:node-80983b09-859c-4156-a08c-29ba304272e4:node-655d5af3-a292-445b-8db4-71c597057a06] 2022-01-16 21:44:18 | [Mutex] received everything. 2022-01-16 21:44:18 | [Mutex] isItemNotified: configured:node:node-80983b09-859c-4156-a08c-29ba304272e4:node-655d5af3-a292-445b-8db4-71c597057a06 :: true 2022-01-16 21:44:19 | [Mutex] waiting for: [received:nodes:0d8d2ead-39a3-498c-92c5-2b3db3f1864e:localhost] 2022-01-16 21:44:19 | [Mutex] received everything. 2022-01-16 21:44:19 | [Mutex] isItemNotified: received:node:0d8d2ead-39a3-498c-92c5-2b3db3f1864e:localhost:node-80983b09-859c-4156-a08c-29ba304272e4:Node 80983b09-859c-4156-a08c-29ba304272e4 :: true 2022-01-16 21:44:19 | [Mutex] waiting for: [received:nodes:ebf5cec9-20d7-4d46-a7aa-213238e65f13:localhost] 2022-01-16 21:44:19 | [Mutex] received everything. 2022-01-16 21:44:19 | [Mutex] isItemNotified: received:node:ebf5cec9-20d7-4d46-a7aa-213238e65f13:localhost:node-80983b09-859c-4156-a08c-29ba304272e4:Node 80983b09-859c-4156-a08c-29ba304272e4 :: false |
createNodes | 1.512s |
2022-01-16 21:44:15 |
2022-01-16 21:44:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:15 | ------------------------------------ 2022-01-16 21:44:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-80983b09-859c-4156-a08c-29ba304272e4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 80983b09-859c-4156-a08c-29ba304272e4</title></pubsub></data> 2022-01-16 21:44:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-16 21:44:17 | [Mutex] waiting for: [received:nodes:07c43118-eacc-4f35-ade1-14cd70fd341a:localhost] 2022-01-16 21:44:17 | [Mutex] received everything. 2022-01-16 21:44:17 | [Mutex] isItemNotified: received:node:07c43118-eacc-4f35-ade1-14cd70fd341a:localhost:node-80983b09-859c-4156-a08c-29ba304272e4:Node 80983b09-859c-4156-a08c-29ba304272e4 :: true |
createSubnodes | 1.023s |
2022-01-16 21:44:17 |
2022-01-16 21:44:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:17 | ------------------------------------ 2022-01-16 21:44:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-655d5af3-a292-445b-8db4-71c597057a06</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 655d5af3-a292-445b-8db4-71c597057a06</title></pubsub></data> 2022-01-16 21:44:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-16 21:44:18 | [Mutex] waiting for: [received:nodes:3b58f1cd-c26d-4a9c-8ad1-f749f12790c8:localhost] 2022-01-16 21:44:18 | [Mutex] received everything. 2022-01-16 21:44:18 | [Mutex] isItemNotified: received:node:3b58f1cd-c26d-4a9c-8ad1-f749f12790c8:localhost:node-655d5af3-a292-445b-8db4-71c597057a06:Node 655d5af3-a292-445b-8db4-71c597057a06 :: true |
deleteNodes | 1.018s |
2022-01-16 21:44:24 |
2022-01-16 21:44:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:24 | ------------------------------------ 2022-01-16 21:44:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-655d5af3-a292-445b-8db4-71c597057a06</node></data> 2022-01-16 21:44:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-16 21:44:25 | [Mutex] waiting for: [received:nodes:58e8f815-b01b-4f1e-90c2-23ce199f3acc:localhost] 2022-01-16 21:44:25 | [Mutex] received everything. 2022-01-16 21:44:25 | [Mutex] isItemNotified: received:node:58e8f815-b01b-4f1e-90c2-23ce199f3acc:localhost:node-655d5af3-a292-445b-8db4-71c597057a06:Node 655d5af3-a292-445b-8db4-71c597057a06 :: false |
deleteSubnodes | 1.149s |
2022-01-16 21:44:22 |
2022-01-16 21:44:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:22 | ------------------------------------ 2022-01-16 21:44:22 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-80983b09-859c-4156-a08c-29ba304272e4</node></data> 2022-01-16 21:44:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-16 21:44:24 | [Mutex] waiting for: [received:nodes:14039611-f839-431f-8ecf-49c20e02ffb5:localhost] 2022-01-16 21:44:24 | [Mutex] waiting for: [received:nodes:14039611-f839-431f-8ecf-49c20e02ffb5:localhost] 2022-01-16 21:44:24 | [Mutex] received everything. 2022-01-16 21:44:24 | [Mutex] isItemNotified: received:node:14039611-f839-431f-8ecf-49c20e02ffb5:localhost:node-80983b09-859c-4156-a08c-29ba304272e4:Node 80983b09-859c-4156-a08c-29ba304272e4 :: false 2022-01-16 21:44:24 | [Mutex] waiting for: [received:nodes:5a1cce55-588f-44f8-bebb-65ef18c3fa9b:localhost] 2022-01-16 21:44:24 | [Mutex] received everything. 2022-01-16 21:44:24 | [Mutex] isItemNotified: received:node:5a1cce55-588f-44f8-bebb-65ef18c3fa9b:localhost:node-80983b09-859c-4156-a08c-29ba304272e4:Node 80983b09-859c-4156-a08c-29ba304272e4 :: false |
publishItemsToNodes | 0.267s |
2022-01-16 21:44:20 |
2022-01-16 21:44:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:20 | ------------------------------------ 2022-01-16 21:44:20 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-80983b09-859c-4156-a08c-29ba304272e4</node><item-id>item-88675839-d062-4155-8eca-8fcd797ce453</item-id><entry><test>item-88675839-d062-4155-8eca-8fcd797ce453</test></entry></data> 2022-01-16 21:44:20 | 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-88675839-d062-4155-8eca-8fcd797ce453</value></item-id></result> 2022-01-16 21:44:20 | [Mutex] waiting for: [published:item:notifieditem-88675839-d062-4155-8eca-8fcd797ce453:admin@test-domain.com] 2022-01-16 21:44:20 | [Mutex] received everything. 2022-01-16 21:44:20 | [Mutex] isItemNotified: published:item:notifieditem-88675839-d062-4155-8eca-8fcd797ce453:admin@test-domain.com :: true |
retractItemsFromNodes | 0.352s |
2022-01-16 21:44:21 |
2022-01-16 21:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:21 | ------------------------------------ 2022-01-16 21:44:21 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-80983b09-859c-4156-a08c-29ba304272e4</node><item-id>item-88675839-d062-4155-8eca-8fcd797ce453</item-id></data> 2022-01-16 21:44:21 | 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-88675839-d062-4155-8eca-8fcd797ce453</value></item-id></result> 2022-01-16 21:44:21 | [Mutex] received everything. 2022-01-16 21:44:21 | [Mutex] isItemNotified: retracted:item:notifieditem-88675839-d062-4155-8eca-8fcd797ce453:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.332s |
2022-01-16 21:44:20 |
2022-01-16 21:44:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:20 | ------------------------------------ 2022-01-16 21:44:20 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-80983b09-859c-4156-a08c-29ba304272e4</node><item-id>item-88675839-d062-4155-8eca-8fcd797ce453</item-id></data> 2022-01-16 21:44:21 | 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-80983b09-859c-4156-a08c-29ba304272e4</value></node><item-id label="Item ID" type="text-single"><value>item-88675839-d062-4155-8eca-8fcd797ce453</value></item-id><item label="Item" type="text-multi"><value><item id="item-88675839-d062-4155-8eca-8fcd797ce453"><test>item-88675839-d062-4155-8eca-8fcd797ce453</test></item></value></item></result> 2022-01-16 21:44:21 | [Mutex] notify: [retrieved:item:item-88675839-d062-4155-8eca-8fcd797ce453:payload-matches:true:localhost] 2022-01-16 21:44:21 | [Mutex] received everything. 2022-01-16 21:44:21 | [Mutex] isItemNotified: retrieved:item:item-88675839-d062-4155-8eca-8fcd797ce453:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-01-16 21:44:21 |
2022-01-16 21:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:21 | ------------------------------------ 2022-01-16 21:44:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-01-16 21:44:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-80983b09-859c-4156-a08c-29ba304272e4</value><value>test</value><value>node-655d5af3-a292-445b-8db4-71c597057a06</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-01-16 21:44:21 |
2022-01-16 21:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:21 | ------------------------------------ 2022-01-16 21:44: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-80983b09-859c-4156-a08c-29ba304272e4)</node-pattern></data> 2022-01-16 21:44:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.216s |
2022-01-16 21:44:19 |
2022-01-16 21:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:19 | ------------------------------------ 2022-01-16 21:44:19 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-80983b09-859c-4156-a08c-29ba304272e4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-16 21:44: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.205s |
2022-01-16 21:44:21 |
2022-01-16 21:44:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:44:21 | ------------------------------------ 2022-01-16 21:44:21 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-80983b09-859c-4156-a08c-29ba304272e4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-16 21:44:21 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |