Test duration : 10.226s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.110s |
2021-04-28 22:29:51 |
2021-04-28 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:51 | ------------------------------------ 2021-04-28 22:29:51 | [Mutex] waiting for: [configured:node:node-d75c4988-6600-4e1d-8d38-2a14b81514ba:node-1941b874-7bc1-4a27-a123-3134a93ea7a1] 2021-04-28 22:29:51 | [Mutex] received everything. 2021-04-28 22:29:51 | [Mutex] isItemNotified: configured:node:node-d75c4988-6600-4e1d-8d38-2a14b81514ba:node-1941b874-7bc1-4a27-a123-3134a93ea7a1 :: true 2021-04-28 22:29:52 | [Mutex] waiting for: [received:nodes:70f565b9-673e-41f8-9787-a62beb210219:localhost] 2021-04-28 22:29:52 | [Mutex] received everything. 2021-04-28 22:29:52 | [Mutex] isItemNotified: received:node:70f565b9-673e-41f8-9787-a62beb210219:localhost:node-d75c4988-6600-4e1d-8d38-2a14b81514ba:Node d75c4988-6600-4e1d-8d38-2a14b81514ba :: true 2021-04-28 22:29:52 | [Mutex] waiting for: [received:nodes:a8ccac01-0991-4cc1-b1b4-22bf86db5d77:localhost] 2021-04-28 22:29:52 | [Mutex] received everything. 2021-04-28 22:29:52 | [Mutex] isItemNotified: received:node:a8ccac01-0991-4cc1-b1b4-22bf86db5d77:localhost:node-d75c4988-6600-4e1d-8d38-2a14b81514ba:Node d75c4988-6600-4e1d-8d38-2a14b81514ba :: false |
createNodes | 1.524s |
2021-04-28 22:29:49 |
2021-04-28 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:49 | ------------------------------------ 2021-04-28 22:29:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d75c4988-6600-4e1d-8d38-2a14b81514ba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d75c4988-6600-4e1d-8d38-2a14b81514ba</title></pubsub></data> 2021-04-28 22:29:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:29:50 | [Mutex] waiting for: [received:nodes:e3b044aa-9135-47f9-882a-aa1b228833a7:localhost] 2021-04-28 22:29:50 | [Mutex] received everything. 2021-04-28 22:29:50 | [Mutex] isItemNotified: received:node:e3b044aa-9135-47f9-882a-aa1b228833a7:localhost:node-d75c4988-6600-4e1d-8d38-2a14b81514ba:Node d75c4988-6600-4e1d-8d38-2a14b81514ba :: true |
createSubnodes | 1.028s |
2021-04-28 22:29:50 |
2021-04-28 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:50 | ------------------------------------ 2021-04-28 22:29:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1941b874-7bc1-4a27-a123-3134a93ea7a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1941b874-7bc1-4a27-a123-3134a93ea7a1</title></pubsub></data> 2021-04-28 22:29:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:29:51 | [Mutex] waiting for: [received:nodes:f7f40f9a-c854-4a81-a765-e60b1777dcd5:localhost] 2021-04-28 22:29:51 | [Mutex] received everything. 2021-04-28 22:29:51 | [Mutex] isItemNotified: received:node:f7f40f9a-c854-4a81-a765-e60b1777dcd5:localhost:node-1941b874-7bc1-4a27-a123-3134a93ea7a1:Node 1941b874-7bc1-4a27-a123-3134a93ea7a1 :: true |
deleteNodes | 1.019s |
2021-04-28 22:29:57 |
2021-04-28 22:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:57 | ------------------------------------ 2021-04-28 22:29:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1941b874-7bc1-4a27-a123-3134a93ea7a1</node></data> 2021-04-28 22:29:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:29:58 | [Mutex] waiting for: [received:nodes:2d45ab99-083d-4162-8823-bf3b440f5bc6:localhost] 2021-04-28 22:29:58 | [Mutex] received everything. 2021-04-28 22:29:58 | [Mutex] isItemNotified: received:node:2d45ab99-083d-4162-8823-bf3b440f5bc6:localhost:node-1941b874-7bc1-4a27-a123-3134a93ea7a1:Node 1941b874-7bc1-4a27-a123-3134a93ea7a1 :: false |
deleteSubnodes | 1.193s |
2021-04-28 22:29:56 |
2021-04-28 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:56 | ------------------------------------ 2021-04-28 22:29:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d75c4988-6600-4e1d-8d38-2a14b81514ba</node></data> 2021-04-28 22:29:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-28 22:29:57 | [Mutex] waiting for: [received:nodes:72892034-8d2f-46d4-a3ab-b5ff35873edb:localhost] 2021-04-28 22:29:57 | [Mutex] received everything. 2021-04-28 22:29:57 | [Mutex] isItemNotified: received:node:72892034-8d2f-46d4-a3ab-b5ff35873edb:localhost:node-d75c4988-6600-4e1d-8d38-2a14b81514ba:Node d75c4988-6600-4e1d-8d38-2a14b81514ba :: false 2021-04-28 22:29:57 | [Mutex] waiting for: [received:nodes:feb6f953-d025-4209-b557-f93662dd00ea:localhost] 2021-04-28 22:29:57 | [Mutex] received everything. 2021-04-28 22:29:57 | [Mutex] isItemNotified: received:node:feb6f953-d025-4209-b557-f93662dd00ea:localhost:node-d75c4988-6600-4e1d-8d38-2a14b81514ba:Node d75c4988-6600-4e1d-8d38-2a14b81514ba :: false |
publishItemsToNodes | 0.283s |
2021-04-28 22:29:54 |
2021-04-28 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:54 | ------------------------------------ 2021-04-28 22:29:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d75c4988-6600-4e1d-8d38-2a14b81514ba</node><item-id>item-e4edcf07-4a2b-43d4-b40a-e50595204a99</item-id><entry><test>item-e4edcf07-4a2b-43d4-b40a-e50595204a99</test></entry></data> 2021-04-28 22:29:54 | 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-e4edcf07-4a2b-43d4-b40a-e50595204a99</value></item-id></result> 2021-04-28 22:29:54 | [Mutex] waiting for: [published:item:notifieditem-e4edcf07-4a2b-43d4-b40a-e50595204a99:admin@test-domain.com] 2021-04-28 22:29:54 | [Mutex] received everything. 2021-04-28 22:29:54 | [Mutex] isItemNotified: published:item:notifieditem-e4edcf07-4a2b-43d4-b40a-e50595204a99:admin@test-domain.com :: true |
retractItemsFromNodes | 0.296s |
2021-04-28 22:29:54 |
2021-04-28 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:54 | ------------------------------------ 2021-04-28 22:29:54 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d75c4988-6600-4e1d-8d38-2a14b81514ba</node><item-id>item-e4edcf07-4a2b-43d4-b40a-e50595204a99</item-id></data> 2021-04-28 22:29:54 | 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-e4edcf07-4a2b-43d4-b40a-e50595204a99</value></item-id></result> 2021-04-28 22:29:54 | [Mutex] received everything. 2021-04-28 22:29:54 | [Mutex] isItemNotified: retracted:item:notifieditem-e4edcf07-4a2b-43d4-b40a-e50595204a99:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.264s |
2021-04-28 22:29:54 |
2021-04-28 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:54 | ------------------------------------ 2021-04-28 22:29:54 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d75c4988-6600-4e1d-8d38-2a14b81514ba</node><item-id>item-e4edcf07-4a2b-43d4-b40a-e50595204a99</item-id></data> 2021-04-28 22:29:54 | 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-d75c4988-6600-4e1d-8d38-2a14b81514ba</value></node><item-id label="Item ID" type="text-single"><value>item-e4edcf07-4a2b-43d4-b40a-e50595204a99</value></item-id><item label="Item" type="text-multi"><value><item id="item-e4edcf07-4a2b-43d4-b40a-e50595204a99"><test>item-e4edcf07-4a2b-43d4-b40a-e50595204a99</test></item></value></item></result> 2021-04-28 22:29:54 | [Mutex] notify: [retrieved:item:item-e4edcf07-4a2b-43d4-b40a-e50595204a99:payload-matches:true:localhost] 2021-04-28 22:29:54 | [Mutex] received everything. 2021-04-28 22:29:54 | [Mutex] isItemNotified: retrieved:item:item-e4edcf07-4a2b-43d4-b40a-e50595204a99:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2021-04-28 22:29:54 |
2021-04-28 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:54 | ------------------------------------ 2021-04-28 22:29:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-28 22:29:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-d75c4988-6600-4e1d-8d38-2a14b81514ba</value><value>test</value><value>node-1941b874-7bc1-4a27-a123-3134a93ea7a1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-04-28 22:29:54 |
2021-04-28 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:54 | ------------------------------------ 2021-04-28 22:29:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d75c4988-6600-4e1d-8d38-2a14b81514ba)</node-pattern></data> 2021-04-28 22:29:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.159s |
2021-04-28 22:29:52 |
2021-04-28 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:52 | ------------------------------------ 2021-04-28 22:29:52 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d75c4988-6600-4e1d-8d38-2a14b81514ba</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-28 22:29:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.259s |
2021-04-28 22:29:54 |
2021-04-28 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-28 22:29:54 | ------------------------------------ 2021-04-28 22:29:54 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d75c4988-6600-4e1d-8d38-2a14b81514ba</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-28 22:29:55 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |