Test duration : 10.253s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.164s |
2020-10-19 22:41:50 |
2020-10-19 22:41:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:50 | ------------------------------------ 2020-10-19 22:41:50 | [Mutex] waiting for: [configured:node:node-686b3003-ef93-43c7-b058-800ceaabe4a7:node-91355f9a-f987-41e4-917d-2917a063acda] 2020-10-19 22:41:50 | [Mutex] received everything. 2020-10-19 22:41:50 | [Mutex] isItemNotified: configured:node:node-686b3003-ef93-43c7-b058-800ceaabe4a7:node-91355f9a-f987-41e4-917d-2917a063acda :: true 2020-10-19 22:41:51 | [Mutex] waiting for: [received:nodes:e29999e5-b8d3-4af7-8140-1a5197567456:localhost] 2020-10-19 22:41:51 | [Mutex] received everything. 2020-10-19 22:41:51 | [Mutex] isItemNotified: received:node:e29999e5-b8d3-4af7-8140-1a5197567456:localhost:node-686b3003-ef93-43c7-b058-800ceaabe4a7:Node 686b3003-ef93-43c7-b058-800ceaabe4a7 :: true 2020-10-19 22:41:51 | [Mutex] waiting for: [received:nodes:5346e0cc-8355-4867-ad3d-5abdc8b0d42d:localhost] 2020-10-19 22:41:51 | [Mutex] received everything. 2020-10-19 22:41:51 | [Mutex] isItemNotified: received:node:5346e0cc-8355-4867-ad3d-5abdc8b0d42d:localhost:node-686b3003-ef93-43c7-b058-800ceaabe4a7:Node 686b3003-ef93-43c7-b058-800ceaabe4a7 :: false |
createNodes | 1.515s |
2020-10-19 22:41:47 |
2020-10-19 22:41:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:47 | ------------------------------------ 2020-10-19 22:41:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-686b3003-ef93-43c7-b058-800ceaabe4a7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 686b3003-ef93-43c7-b058-800ceaabe4a7</title></pubsub></data> 2020-10-19 22:41:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-19 22:41:49 | [Mutex] waiting for: [received:nodes:8e95a3b2-040d-446a-8886-c0c985635bb7:localhost] 2020-10-19 22:41:49 | [Mutex] received everything. 2020-10-19 22:41:49 | [Mutex] isItemNotified: received:node:8e95a3b2-040d-446a-8886-c0c985635bb7:localhost:node-686b3003-ef93-43c7-b058-800ceaabe4a7:Node 686b3003-ef93-43c7-b058-800ceaabe4a7 :: true |
createSubnodes | 1.031s |
2020-10-19 22:41:49 |
2020-10-19 22:41:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:49 | ------------------------------------ 2020-10-19 22:41:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-91355f9a-f987-41e4-917d-2917a063acda</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 91355f9a-f987-41e4-917d-2917a063acda</title></pubsub></data> 2020-10-19 22:41:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-19 22:41:50 | [Mutex] waiting for: [received:nodes:8c8e2a45-0df5-48f7-b126-6598aced077f:localhost] 2020-10-19 22:41:50 | [Mutex] received everything. 2020-10-19 22:41:50 | [Mutex] isItemNotified: received:node:8c8e2a45-0df5-48f7-b126-6598aced077f:localhost:node-91355f9a-f987-41e4-917d-2917a063acda:Node 91355f9a-f987-41e4-917d-2917a063acda :: true |
deleteNodes | 1.042s |
2020-10-19 22:41:56 |
2020-10-19 22:41:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:56 | ------------------------------------ 2020-10-19 22:41:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-91355f9a-f987-41e4-917d-2917a063acda</node></data> 2020-10-19 22:41:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-19 22:41:57 | [Mutex] waiting for: [received:nodes:edabad7a-7699-4938-bcac-76fa3df0800e:localhost] 2020-10-19 22:41:57 | [Mutex] received everything. 2020-10-19 22:41:57 | [Mutex] isItemNotified: received:node:edabad7a-7699-4938-bcac-76fa3df0800e:localhost:node-91355f9a-f987-41e4-917d-2917a063acda:Node 91355f9a-f987-41e4-917d-2917a063acda :: false |
deleteSubnodes | 1.159s |
2020-10-19 22:41:54 |
2020-10-19 22:41:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:54 | ------------------------------------ 2020-10-19 22:41:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-686b3003-ef93-43c7-b058-800ceaabe4a7</node></data> 2020-10-19 22:41:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-19 22:41:55 | [Mutex] waiting for: [received:nodes:5f3a218e-5a49-4d4b-a593-2f731b114be5:localhost] 2020-10-19 22:41:56 | [Mutex] waiting for: [received:nodes:5f3a218e-5a49-4d4b-a593-2f731b114be5:localhost] 2020-10-19 22:41:56 | [Mutex] received everything. 2020-10-19 22:41:56 | [Mutex] isItemNotified: received:node:5f3a218e-5a49-4d4b-a593-2f731b114be5:localhost:node-686b3003-ef93-43c7-b058-800ceaabe4a7:Node 686b3003-ef93-43c7-b058-800ceaabe4a7 :: false 2020-10-19 22:41:56 | [Mutex] waiting for: [received:nodes:57321da8-a689-4852-8717-d0d08b14b737:localhost] 2020-10-19 22:41:56 | [Mutex] received everything. 2020-10-19 22:41:56 | [Mutex] isItemNotified: received:node:57321da8-a689-4852-8717-d0d08b14b737:localhost:node-686b3003-ef93-43c7-b058-800ceaabe4a7:Node 686b3003-ef93-43c7-b058-800ceaabe4a7 :: false |
publishItemsToNodes | 0.215s |
2020-10-19 22:41:52 |
2020-10-19 22:41:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:52 | ------------------------------------ 2020-10-19 22:41:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-686b3003-ef93-43c7-b058-800ceaabe4a7</node><item-id>item-34436be6-87dc-4d0e-a3d6-2405ac7e45c1</item-id><entry><test>item-34436be6-87dc-4d0e-a3d6-2405ac7e45c1</test></entry></data> 2020-10-19 22:41:52 | 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-34436be6-87dc-4d0e-a3d6-2405ac7e45c1</value></item-id></result> 2020-10-19 22:41:52 | [Mutex] waiting for: [published:item:notifieditem-34436be6-87dc-4d0e-a3d6-2405ac7e45c1:admin@test-domain.com] 2020-10-19 22:41:52 | [Mutex] received everything. 2020-10-19 22:41:52 | [Mutex] isItemNotified: published:item:notifieditem-34436be6-87dc-4d0e-a3d6-2405ac7e45c1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.190s |
2020-10-19 22:41:53 |
2020-10-19 22:41:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:53 | ------------------------------------ 2020-10-19 22:41:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-686b3003-ef93-43c7-b058-800ceaabe4a7</node><item-id>item-34436be6-87dc-4d0e-a3d6-2405ac7e45c1</item-id></data> 2020-10-19 22:41:53 | 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-34436be6-87dc-4d0e-a3d6-2405ac7e45c1</value></item-id></result> 2020-10-19 22:41:53 | [Mutex] received everything. 2020-10-19 22:41:53 | [Mutex] isItemNotified: retracted:item:notifieditem-34436be6-87dc-4d0e-a3d6-2405ac7e45c1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.288s |
2020-10-19 22:41:52 |
2020-10-19 22:41:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:52 | ------------------------------------ 2020-10-19 22:41:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-686b3003-ef93-43c7-b058-800ceaabe4a7</node><item-id>item-34436be6-87dc-4d0e-a3d6-2405ac7e45c1</item-id></data> 2020-10-19 22:41:53 | 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-686b3003-ef93-43c7-b058-800ceaabe4a7</value></node><item-id label="Item ID" type="text-single"><value>item-34436be6-87dc-4d0e-a3d6-2405ac7e45c1</value></item-id><item label="Item" type="text-multi"><value><item id="item-34436be6-87dc-4d0e-a3d6-2405ac7e45c1"><test>item-34436be6-87dc-4d0e-a3d6-2405ac7e45c1</test></item></value></item></result> 2020-10-19 22:41:53 | [Mutex] notify: [retrieved:item:item-34436be6-87dc-4d0e-a3d6-2405ac7e45c1:payload-matches:true:localhost] 2020-10-19 22:41:53 | [Mutex] received everything. 2020-10-19 22:41:53 | [Mutex] isItemNotified: retrieved:item:item-34436be6-87dc-4d0e-a3d6-2405ac7e45c1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-10-19 22:41:53 |
2020-10-19 22:41:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:53 | ------------------------------------ 2020-10-19 22:41:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-19 22:41:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-686b3003-ef93-43c7-b058-800ceaabe4a7</value><value>test</value><value>node-91355f9a-f987-41e4-917d-2917a063acda</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-10-19 22:41:53 |
2020-10-19 22:41:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:53 | ------------------------------------ 2020-10-19 22:41:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-686b3003-ef93-43c7-b058-800ceaabe4a7)</node-pattern></data> 2020-10-19 22:41:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.100s |
2020-10-19 22:41:51 |
2020-10-19 22:41:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:51 | ------------------------------------ 2020-10-19 22:41:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-686b3003-ef93-43c7-b058-800ceaabe4a7</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-19 22:41:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.331s |
2020-10-19 22:41:53 |
2020-10-19 22:41:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-19 22:41:53 | ------------------------------------ 2020-10-19 22:41:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-686b3003-ef93-43c7-b058-800ceaabe4a7</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-19 22:41:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |