Test duration : 9.547s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-11-24 21:32:04 |
2022-11-24 21:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:04 | ------------------------------------ 2022-11-24 21:32:04 | [Mutex] waiting for: [configured:node:node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679:node-7e979845-334f-47c9-b2b6-75ab7ce170d2] 2022-11-24 21:32:04 | [Mutex] received everything. 2022-11-24 21:32:04 | [Mutex] isItemNotified: configured:node:node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679:node-7e979845-334f-47c9-b2b6-75ab7ce170d2 :: true 2022-11-24 21:32:05 | [Mutex] waiting for: [received:nodes:819a7140-6013-4678-ace0-d2024e1fc102:localhost] 2022-11-24 21:32:05 | [Mutex] received everything. 2022-11-24 21:32:05 | [Mutex] isItemNotified: received:node:819a7140-6013-4678-ace0-d2024e1fc102:localhost:node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679:Node c5aaa2d6-aa76-4879-bf83-3a1b35bfb679 :: true 2022-11-24 21:32:05 | [Mutex] waiting for: [received:nodes:d8d1b0ca-b7e3-4ae9-a84e-9e00935b10fc:localhost] 2022-11-24 21:32:05 | [Mutex] waiting for: [received:nodes:d8d1b0ca-b7e3-4ae9-a84e-9e00935b10fc:localhost] 2022-11-24 21:32:05 | [Mutex] received everything. 2022-11-24 21:32:05 | [Mutex] isItemNotified: received:node:d8d1b0ca-b7e3-4ae9-a84e-9e00935b10fc:localhost:node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679:Node c5aaa2d6-aa76-4879-bf83-3a1b35bfb679 :: false |
createNodes | 1.397s |
2022-11-24 21:32:01 |
2022-11-24 21:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:01 | ------------------------------------ 2022-11-24 21:32:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</title></pubsub></data> 2022-11-24 21:32:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 21:32:03 | [Mutex] waiting for: [received:nodes:ec6cef1e-490a-42fc-a1a7-10ad87956058:localhost] 2022-11-24 21:32:03 | [Mutex] received everything. 2022-11-24 21:32:03 | [Mutex] isItemNotified: received:node:ec6cef1e-490a-42fc-a1a7-10ad87956058:localhost:node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679:Node c5aaa2d6-aa76-4879-bf83-3a1b35bfb679 :: true |
createSubnodes | 1.031s |
2022-11-24 21:32:03 |
2022-11-24 21:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:03 | ------------------------------------ 2022-11-24 21:32:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7e979845-334f-47c9-b2b6-75ab7ce170d2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7e979845-334f-47c9-b2b6-75ab7ce170d2</title></pubsub></data> 2022-11-24 21:32:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 21:32:04 | [Mutex] waiting for: [received:nodes:95076bde-cac1-4e9c-87c4-8a4839bea903:localhost] 2022-11-24 21:32:04 | [Mutex] received everything. 2022-11-24 21:32:04 | [Mutex] isItemNotified: received:node:95076bde-cac1-4e9c-87c4-8a4839bea903:localhost:node-7e979845-334f-47c9-b2b6-75ab7ce170d2:Node 7e979845-334f-47c9-b2b6-75ab7ce170d2 :: true |
deleteNodes | 1.017s |
2022-11-24 21:32:09 |
2022-11-24 21:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:09 | ------------------------------------ 2022-11-24 21:32:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7e979845-334f-47c9-b2b6-75ab7ce170d2</node></data> 2022-11-24 21:32:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 21:32:10 | [Mutex] waiting for: [received:nodes:62c9fd3d-039f-42d5-bfa4-60ec2b0e7d1e:localhost] 2022-11-24 21:32:10 | [Mutex] waiting for: [received:nodes:62c9fd3d-039f-42d5-bfa4-60ec2b0e7d1e:localhost] 2022-11-24 21:32:10 | [Mutex] received everything. 2022-11-24 21:32:10 | [Mutex] isItemNotified: received:node:62c9fd3d-039f-42d5-bfa4-60ec2b0e7d1e:localhost:node-7e979845-334f-47c9-b2b6-75ab7ce170d2:Node 7e979845-334f-47c9-b2b6-75ab7ce170d2 :: false |
deleteSubnodes | 1.126s |
2022-11-24 21:32:08 |
2022-11-24 21:32:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:08 | ------------------------------------ 2022-11-24 21:32:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</node></data> 2022-11-24 21:32:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 21:32:09 | [Mutex] waiting for: [received:nodes:c3112962-9453-43c4-bd70-ef8de34545e9:localhost] 2022-11-24 21:32:09 | [Mutex] received everything. 2022-11-24 21:32:09 | [Mutex] isItemNotified: received:node:c3112962-9453-43c4-bd70-ef8de34545e9:localhost:node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679:Node c5aaa2d6-aa76-4879-bf83-3a1b35bfb679 :: false 2022-11-24 21:32:09 | [Mutex] waiting for: [received:nodes:cac3ba4d-2ac9-4d96-9eae-4fe0002cd689:localhost] 2022-11-24 21:32:09 | [Mutex] received everything. 2022-11-24 21:32:09 | [Mutex] isItemNotified: received:node:cac3ba4d-2ac9-4d96-9eae-4fe0002cd689:localhost:node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679:Node c5aaa2d6-aa76-4879-bf83-3a1b35bfb679 :: false |
publishItemsToNodes | 0.207s |
2022-11-24 21:32:06 |
2022-11-24 21:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:06 | ------------------------------------ 2022-11-24 21:32:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</node><item-id>item-706f6a42-7c83-4332-bc28-184925dda52d</item-id><entry><test>item-706f6a42-7c83-4332-bc28-184925dda52d</test></entry></data> 2022-11-24 21:32:06 | 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-706f6a42-7c83-4332-bc28-184925dda52d</value></item-id></result> 2022-11-24 21:32:06 | [Mutex] waiting for: [published:item:notifieditem-706f6a42-7c83-4332-bc28-184925dda52d:admin@test-domain.com] 2022-11-24 21:32:06 | [Mutex] received everything. 2022-11-24 21:32:06 | [Mutex] isItemNotified: published:item:notifieditem-706f6a42-7c83-4332-bc28-184925dda52d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.355s |
2022-11-24 21:32:06 |
2022-11-24 21:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:06 | ------------------------------------ 2022-11-24 21:32:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</node><item-id>item-706f6a42-7c83-4332-bc28-184925dda52d</item-id></data> 2022-11-24 21:32:07 | 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-706f6a42-7c83-4332-bc28-184925dda52d</value></item-id></result> 2022-11-24 21:32:07 | [Mutex] received everything. 2022-11-24 21:32:07 | [Mutex] isItemNotified: retracted:item:notifieditem-706f6a42-7c83-4332-bc28-184925dda52d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.275s |
2022-11-24 21:32:06 |
2022-11-24 21:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:06 | ------------------------------------ 2022-11-24 21:32:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</node><item-id>item-706f6a42-7c83-4332-bc28-184925dda52d</item-id></data> 2022-11-24 21:32:06 | 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-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</value></node><item-id label="Item ID" type="text-single"><value>item-706f6a42-7c83-4332-bc28-184925dda52d</value></item-id><item label="Item" type="text-multi"><value><item id="item-706f6a42-7c83-4332-bc28-184925dda52d"><test>item-706f6a42-7c83-4332-bc28-184925dda52d</test></item></value></item></result> 2022-11-24 21:32:06 | [Mutex] notify: [retrieved:item:item-706f6a42-7c83-4332-bc28-184925dda52d:payload-matches:true:localhost] 2022-11-24 21:32:06 | [Mutex] received everything. 2022-11-24 21:32:06 | [Mutex] isItemNotified: retrieved:item:item-706f6a42-7c83-4332-bc28-184925dda52d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-11-24 21:32:06 |
2022-11-24 21:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:06 | ------------------------------------ 2022-11-24 21:32:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-24 21:32:06 | 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-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</value><value>node-7e979845-334f-47c9-b2b6-75ab7ce170d2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-11-24 21:32:06 |
2022-11-24 21:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:06 | ------------------------------------ 2022-11-24 21:32:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679)</node-pattern></data> 2022-11-24 21:32:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.104s |
2022-11-24 21:32:05 |
2022-11-24 21:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:05 | ------------------------------------ 2022-11-24 21:32:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-24 21:32:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.163s |
2022-11-24 21:32:07 |
2022-11-24 21:32:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:32:07 | ------------------------------------ 2022-11-24 21:32:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c5aaa2d6-aa76-4879-bf83-3a1b35bfb679</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-24 21:32:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |