Test duration : 9.675s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2022-05-09 22:37:21 |
2022-05-09 22:37:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:21 | ------------------------------------ 2022-05-09 22:37:21 | [Mutex] waiting for: [configured:node:node-2d88ce2f-ab33-40c4-b422-fea21994092e:node-2dbd904e-c5de-4a25-beb1-c06bbf12e4df] 2022-05-09 22:37:21 | [Mutex] received everything. 2022-05-09 22:37:21 | [Mutex] isItemNotified: configured:node:node-2d88ce2f-ab33-40c4-b422-fea21994092e:node-2dbd904e-c5de-4a25-beb1-c06bbf12e4df :: true 2022-05-09 22:37:22 | [Mutex] waiting for: [received:nodes:610e8d36-6de8-44d4-a294-c8963db174e5:localhost] 2022-05-09 22:37:22 | [Mutex] received everything. 2022-05-09 22:37:22 | [Mutex] isItemNotified: received:node:610e8d36-6de8-44d4-a294-c8963db174e5:localhost:node-2d88ce2f-ab33-40c4-b422-fea21994092e:Node 2d88ce2f-ab33-40c4-b422-fea21994092e :: true 2022-05-09 22:37:22 | [Mutex] waiting for: [received:nodes:4802a444-9768-4a3a-83d1-fd38c85c20c2:localhost] 2022-05-09 22:37:22 | [Mutex] waiting for: [received:nodes:4802a444-9768-4a3a-83d1-fd38c85c20c2:localhost] 2022-05-09 22:37:22 | [Mutex] received everything. 2022-05-09 22:37:22 | [Mutex] isItemNotified: received:node:4802a444-9768-4a3a-83d1-fd38c85c20c2:localhost:node-2d88ce2f-ab33-40c4-b422-fea21994092e:Node 2d88ce2f-ab33-40c4-b422-fea21994092e :: false |
createNodes | 1.465s |
2022-05-09 22:37:19 |
2022-05-09 22:37:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:19 | ------------------------------------ 2022-05-09 22:37:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2d88ce2f-ab33-40c4-b422-fea21994092e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d88ce2f-ab33-40c4-b422-fea21994092e</title></pubsub></data> 2022-05-09 22:37:19 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-09 22:37:20 | [Mutex] waiting for: [received:nodes:921d0747-3162-4e34-8b04-6f4899bd4d31:localhost] 2022-05-09 22:37:20 | [Mutex] received everything. 2022-05-09 22:37:20 | [Mutex] isItemNotified: received:node:921d0747-3162-4e34-8b04-6f4899bd4d31:localhost:node-2d88ce2f-ab33-40c4-b422-fea21994092e:Node 2d88ce2f-ab33-40c4-b422-fea21994092e :: true |
createSubnodes | 1.032s |
2022-05-09 22:37:20 |
2022-05-09 22:37:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:20 | ------------------------------------ 2022-05-09 22:37:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2dbd904e-c5de-4a25-beb1-c06bbf12e4df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2dbd904e-c5de-4a25-beb1-c06bbf12e4df</title></pubsub></data> 2022-05-09 22:37:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-09 22:37:21 | [Mutex] waiting for: [received:nodes:1641fe50-216d-41e6-8077-65f2d5d675fa:localhost] 2022-05-09 22:37:21 | [Mutex] received everything. 2022-05-09 22:37:21 | [Mutex] isItemNotified: received:node:1641fe50-216d-41e6-8077-65f2d5d675fa:localhost:node-2dbd904e-c5de-4a25-beb1-c06bbf12e4df:Node 2dbd904e-c5de-4a25-beb1-c06bbf12e4df :: true |
deleteNodes | 1.023s |
2022-05-09 22:37:27 |
2022-05-09 22:37:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:27 | ------------------------------------ 2022-05-09 22:37:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2dbd904e-c5de-4a25-beb1-c06bbf12e4df</node></data> 2022-05-09 22:37:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-09 22:37:28 | [Mutex] waiting for: [received:nodes:7a6e3663-5b6e-4aaf-af33-2cab595f9510:localhost] 2022-05-09 22:37:28 | [Mutex] waiting for: [received:nodes:7a6e3663-5b6e-4aaf-af33-2cab595f9510:localhost] 2022-05-09 22:37:28 | [Mutex] received everything. 2022-05-09 22:37:28 | [Mutex] isItemNotified: received:node:7a6e3663-5b6e-4aaf-af33-2cab595f9510:localhost:node-2dbd904e-c5de-4a25-beb1-c06bbf12e4df:Node 2dbd904e-c5de-4a25-beb1-c06bbf12e4df :: false |
deleteSubnodes | 1.146s |
2022-05-09 22:37:25 |
2022-05-09 22:37:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:25 | ------------------------------------ 2022-05-09 22:37:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2d88ce2f-ab33-40c4-b422-fea21994092e</node></data> 2022-05-09 22:37:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-09 22:37:27 | [Mutex] waiting for: [received:nodes:54812e13-2c4b-4707-9574-d244948a09b8:localhost] 2022-05-09 22:37:27 | [Mutex] waiting for: [received:nodes:54812e13-2c4b-4707-9574-d244948a09b8:localhost] 2022-05-09 22:37:27 | [Mutex] received everything. 2022-05-09 22:37:27 | [Mutex] isItemNotified: received:node:54812e13-2c4b-4707-9574-d244948a09b8:localhost:node-2d88ce2f-ab33-40c4-b422-fea21994092e:Node 2d88ce2f-ab33-40c4-b422-fea21994092e :: false 2022-05-09 22:37:27 | [Mutex] waiting for: [received:nodes:50a58fc4-bc18-475a-94e0-c1ce7a2573b8:localhost] 2022-05-09 22:37:27 | [Mutex] received everything. 2022-05-09 22:37:27 | [Mutex] isItemNotified: received:node:50a58fc4-bc18-475a-94e0-c1ce7a2573b8:localhost:node-2d88ce2f-ab33-40c4-b422-fea21994092e:Node 2d88ce2f-ab33-40c4-b422-fea21994092e :: false |
publishItemsToNodes | 0.238s |
2022-05-09 22:37:23 |
2022-05-09 22:37:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:23 | ------------------------------------ 2022-05-09 22:37:23 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2d88ce2f-ab33-40c4-b422-fea21994092e</node><item-id>item-844869b2-4da3-497a-bc9a-02488c7f0661</item-id><entry><test>item-844869b2-4da3-497a-bc9a-02488c7f0661</test></entry></data> 2022-05-09 22:37:24 | 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-844869b2-4da3-497a-bc9a-02488c7f0661</value></item-id></result> 2022-05-09 22:37:24 | [Mutex] waiting for: [published:item:notifieditem-844869b2-4da3-497a-bc9a-02488c7f0661:admin@test-domain.com] 2022-05-09 22:37:24 | [Mutex] received everything. 2022-05-09 22:37:24 | [Mutex] isItemNotified: published:item:notifieditem-844869b2-4da3-497a-bc9a-02488c7f0661:admin@test-domain.com :: true |
retractItemsFromNodes | 0.247s |
2022-05-09 22:37:24 |
2022-05-09 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:24 | ------------------------------------ 2022-05-09 22:37:24 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2d88ce2f-ab33-40c4-b422-fea21994092e</node><item-id>item-844869b2-4da3-497a-bc9a-02488c7f0661</item-id></data> 2022-05-09 22:37:24 | 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-844869b2-4da3-497a-bc9a-02488c7f0661</value></item-id></result> 2022-05-09 22:37:24 | [Mutex] received everything. 2022-05-09 22:37:24 | [Mutex] isItemNotified: retracted:item:notifieditem-844869b2-4da3-497a-bc9a-02488c7f0661:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.240s |
2022-05-09 22:37:24 |
2022-05-09 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:24 | ------------------------------------ 2022-05-09 22:37:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2d88ce2f-ab33-40c4-b422-fea21994092e</node><item-id>item-844869b2-4da3-497a-bc9a-02488c7f0661</item-id></data> 2022-05-09 22:37:24 | 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-2d88ce2f-ab33-40c4-b422-fea21994092e</value></node><item-id type="text-single" label="Item ID"><value>item-844869b2-4da3-497a-bc9a-02488c7f0661</value></item-id><item type="text-multi" label="Item"><value><item id="item-844869b2-4da3-497a-bc9a-02488c7f0661"><test>item-844869b2-4da3-497a-bc9a-02488c7f0661</test></item></value></item></result> 2022-05-09 22:37:24 | [Mutex] notify: [retrieved:item:item-844869b2-4da3-497a-bc9a-02488c7f0661:payload-matches:true:localhost] 2022-05-09 22:37:24 | [Mutex] received everything. 2022-05-09 22:37:24 | [Mutex] isItemNotified: retrieved:item:item-844869b2-4da3-497a-bc9a-02488c7f0661:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-09 22:37:24 |
2022-05-09 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:24 | ------------------------------------ 2022-05-09 22:37:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-09 22:37:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-2d88ce2f-ab33-40c4-b422-fea21994092e</value><value>node-2dbd904e-c5de-4a25-beb1-c06bbf12e4df</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-05-09 22:37:24 |
2022-05-09 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:24 | ------------------------------------ 2022-05-09 22:37:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d88ce2f-ab33-40c4-b422-fea21994092e)</node-pattern></data> 2022-05-09 22:37:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.175s |
2022-05-09 22:37:22 |
2022-05-09 22:37:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:22 | ------------------------------------ 2022-05-09 22:37:22 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2d88ce2f-ab33-40c4-b422-fea21994092e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-09 22:37:22 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.171s |
2022-05-09 22:37:24 |
2022-05-09 22:37:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-09 22:37:24 | ------------------------------------ 2022-05-09 22:37:24 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2d88ce2f-ab33-40c4-b422-fea21994092e</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-09 22:37:24 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |