Test duration : 9.991s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2020-09-09 07:05:00 |
2020-09-09 07:05:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:00 | ------------------------------------ 2020-09-09 07:05:00 | [Mutex] waiting for: [configured:node:node-11bfc392-0010-4dac-9647-cf246427e324:node-b74b24c0-41f1-455d-b3e6-0b0dbff11eef] 2020-09-09 07:05:00 | [Mutex] received everything. 2020-09-09 07:05:00 | [Mutex] isItemNotified: configured:node:node-11bfc392-0010-4dac-9647-cf246427e324:node-b74b24c0-41f1-455d-b3e6-0b0dbff11eef :: true 2020-09-09 07:05:01 | [Mutex] waiting for: [received:nodes:337c99fd-0f73-4db9-9ddd-c46d69167dff:localhost] 2020-09-09 07:05:01 | [Mutex] received everything. 2020-09-09 07:05:01 | [Mutex] isItemNotified: received:node:337c99fd-0f73-4db9-9ddd-c46d69167dff:localhost:node-11bfc392-0010-4dac-9647-cf246427e324:Node 11bfc392-0010-4dac-9647-cf246427e324 :: true 2020-09-09 07:05:01 | [Mutex] waiting for: [received:nodes:7f372e4d-e93b-4b15-88cb-a66d93b68b9e:localhost] 2020-09-09 07:05:02 | [Mutex] received everything. 2020-09-09 07:05:02 | [Mutex] isItemNotified: received:node:7f372e4d-e93b-4b15-88cb-a66d93b68b9e:localhost:node-11bfc392-0010-4dac-9647-cf246427e324:Node 11bfc392-0010-4dac-9647-cf246427e324 :: false |
createNodes | 1.348s |
2020-09-09 07:04:58 |
2020-09-09 07:04:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:04:58 | ------------------------------------ 2020-09-09 07:04:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-11bfc392-0010-4dac-9647-cf246427e324</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 11bfc392-0010-4dac-9647-cf246427e324</title></pubsub></data> 2020-09-09 07:04:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 07:04:59 | [Mutex] waiting for: [received:nodes:3a99d24c-0e07-4727-b72a-59285d63d77e:localhost] 2020-09-09 07:04:59 | [Mutex] received everything. 2020-09-09 07:04:59 | [Mutex] isItemNotified: received:node:3a99d24c-0e07-4727-b72a-59285d63d77e:localhost:node-11bfc392-0010-4dac-9647-cf246427e324:Node 11bfc392-0010-4dac-9647-cf246427e324 :: true |
createSubnodes | 1.035s |
2020-09-09 07:04:59 |
2020-09-09 07:04:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:04:59 | ------------------------------------ 2020-09-09 07:04:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b74b24c0-41f1-455d-b3e6-0b0dbff11eef</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b74b24c0-41f1-455d-b3e6-0b0dbff11eef</title></pubsub></data> 2020-09-09 07:04:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 07:05:00 | [Mutex] waiting for: [received:nodes:c352638e-b748-4afa-98c7-06eb047e1425:localhost] 2020-09-09 07:05:00 | [Mutex] received everything. 2020-09-09 07:05:00 | [Mutex] isItemNotified: received:node:c352638e-b748-4afa-98c7-06eb047e1425:localhost:node-b74b24c0-41f1-455d-b3e6-0b0dbff11eef:Node b74b24c0-41f1-455d-b3e6-0b0dbff11eef :: true |
deleteNodes | 1.022s |
2020-09-09 07:05:06 |
2020-09-09 07:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:06 | ------------------------------------ 2020-09-09 07:05:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b74b24c0-41f1-455d-b3e6-0b0dbff11eef</node></data> 2020-09-09 07:05:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 07:05:07 | [Mutex] waiting for: [received:nodes:cb5671c2-a048-49e5-b9ca-a504bf29809a:localhost] 2020-09-09 07:05:07 | [Mutex] received everything. 2020-09-09 07:05:07 | [Mutex] isItemNotified: received:node:cb5671c2-a048-49e5-b9ca-a504bf29809a:localhost:node-b74b24c0-41f1-455d-b3e6-0b0dbff11eef:Node b74b24c0-41f1-455d-b3e6-0b0dbff11eef :: false |
deleteSubnodes | 1.113s |
2020-09-09 07:05:05 |
2020-09-09 07:05:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:05 | ------------------------------------ 2020-09-09 07:05:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-11bfc392-0010-4dac-9647-cf246427e324</node></data> 2020-09-09 07:05:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 07:05:06 | [Mutex] waiting for: [received:nodes:2a96c24c-bb91-4a4a-9652-be379af50c88:localhost] 2020-09-09 07:05:06 | [Mutex] waiting for: [received:nodes:2a96c24c-bb91-4a4a-9652-be379af50c88:localhost] 2020-09-09 07:05:06 | [Mutex] received everything. 2020-09-09 07:05:06 | [Mutex] isItemNotified: received:node:2a96c24c-bb91-4a4a-9652-be379af50c88:localhost:node-11bfc392-0010-4dac-9647-cf246427e324:Node 11bfc392-0010-4dac-9647-cf246427e324 :: false 2020-09-09 07:05:06 | [Mutex] waiting for: [received:nodes:c8e7ed32-50e0-40d6-992a-5015abab033f:localhost] 2020-09-09 07:05:06 | [Mutex] received everything. 2020-09-09 07:05:06 | [Mutex] isItemNotified: received:node:c8e7ed32-50e0-40d6-992a-5015abab033f:localhost:node-11bfc392-0010-4dac-9647-cf246427e324:Node 11bfc392-0010-4dac-9647-cf246427e324 :: false |
publishItemsToNodes | 0.185s |
2020-09-09 07:05:03 |
2020-09-09 07:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:03 | ------------------------------------ 2020-09-09 07:05:03 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-11bfc392-0010-4dac-9647-cf246427e324</node><item-id>item-de9efcc1-252f-493b-9be5-d38d0186a547</item-id><entry><test>item-de9efcc1-252f-493b-9be5-d38d0186a547</test></entry></data> 2020-09-09 07:05:03 | 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-de9efcc1-252f-493b-9be5-d38d0186a547</value></item-id></result> 2020-09-09 07:05:03 | [Mutex] received everything. 2020-09-09 07:05:03 | [Mutex] isItemNotified: published:item:notifieditem-de9efcc1-252f-493b-9be5-d38d0186a547:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2020-09-09 07:05:03 |
2020-09-09 07:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:03 | ------------------------------------ 2020-09-09 07:05:03 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-11bfc392-0010-4dac-9647-cf246427e324</node><item-id>item-de9efcc1-252f-493b-9be5-d38d0186a547</item-id></data> 2020-09-09 07:05:04 | 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-de9efcc1-252f-493b-9be5-d38d0186a547</value></item-id></result> 2020-09-09 07:05:04 | [Mutex] received everything. 2020-09-09 07:05:04 | [Mutex] isItemNotified: retracted:item:notifieditem-de9efcc1-252f-493b-9be5-d38d0186a547:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.252s |
2020-09-09 07:05:03 |
2020-09-09 07:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:03 | ------------------------------------ 2020-09-09 07:05:03 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-11bfc392-0010-4dac-9647-cf246427e324</node><item-id>item-de9efcc1-252f-493b-9be5-d38d0186a547</item-id></data> 2020-09-09 07:05:03 | 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-11bfc392-0010-4dac-9647-cf246427e324</value></node><item-id label="Item ID" type="text-single"><value>item-de9efcc1-252f-493b-9be5-d38d0186a547</value></item-id><item label="Item" type="text-multi"><value><item id="item-de9efcc1-252f-493b-9be5-d38d0186a547"><test>item-de9efcc1-252f-493b-9be5-d38d0186a547</test></item></value></item></result> 2020-09-09 07:05:03 | [Mutex] notify: [retrieved:item:item-de9efcc1-252f-493b-9be5-d38d0186a547:payload-matches:true:localhost] 2020-09-09 07:05:03 | [Mutex] received everything. 2020-09-09 07:05:03 | [Mutex] isItemNotified: retrieved:item:item-de9efcc1-252f-493b-9be5-d38d0186a547:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.060s |
2020-09-09 07:05:03 |
2020-09-09 07:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:03 | ------------------------------------ 2020-09-09 07:05:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-09 07:05:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-11bfc392-0010-4dac-9647-cf246427e324</value><value>node-b74b24c0-41f1-455d-b3e6-0b0dbff11eef</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-09 07:05:03 |
2020-09-09 07:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:03 | ------------------------------------ 2020-09-09 07:05:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-11bfc392-0010-4dac-9647-cf246427e324)</node-pattern></data> 2020-09-09 07:05:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.219s |
2020-09-09 07:05:02 |
2020-09-09 07:05:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:02 | ------------------------------------ 2020-09-09 07:05:02 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-11bfc392-0010-4dac-9647-cf246427e324</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-09 07:05:02 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.260s |
2020-09-09 07:05:04 |
2020-09-09 07:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 07:05:04 | ------------------------------------ 2020-09-09 07:05:04 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-11bfc392-0010-4dac-9647-cf246427e324</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-09 07:05:04 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |