Test duration : 9.503s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.122s |
2022-07-08 22:31:53 |
2022-07-08 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:53 | ------------------------------------ 2022-07-08 22:31:53 | [Mutex] waiting for: [configured:node:node-c7e086b7-f617-4bbd-9ead-00068f62e382:node-9784abb4-91a3-4471-adf4-73c7f3679057] 2022-07-08 22:31:53 | [Mutex] received everything. 2022-07-08 22:31:53 | [Mutex] isItemNotified: configured:node:node-c7e086b7-f617-4bbd-9ead-00068f62e382:node-9784abb4-91a3-4471-adf4-73c7f3679057 :: true 2022-07-08 22:31:54 | [Mutex] waiting for: [received:nodes:b51ff505-ab7b-449a-af4b-a502be80feaf:localhost] 2022-07-08 22:31:54 | [Mutex] received everything. 2022-07-08 22:31:54 | [Mutex] isItemNotified: received:node:b51ff505-ab7b-449a-af4b-a502be80feaf:localhost:node-c7e086b7-f617-4bbd-9ead-00068f62e382:Node c7e086b7-f617-4bbd-9ead-00068f62e382 :: true 2022-07-08 22:31:54 | [Mutex] waiting for: [received:nodes:405a0b35-07ed-4826-b3ce-8e0661217fc3:localhost] 2022-07-08 22:31:54 | [Mutex] received everything. 2022-07-08 22:31:54 | [Mutex] isItemNotified: received:node:405a0b35-07ed-4826-b3ce-8e0661217fc3:localhost:node-c7e086b7-f617-4bbd-9ead-00068f62e382:Node c7e086b7-f617-4bbd-9ead-00068f62e382 :: false |
createNodes | 1.468s |
2022-07-08 22:31:50 |
2022-07-08 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:50 | ------------------------------------ 2022-07-08 22:31:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c7e086b7-f617-4bbd-9ead-00068f62e382</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c7e086b7-f617-4bbd-9ead-00068f62e382</title></pubsub></data> 2022-07-08 22:31:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-08 22:31:52 | [Mutex] waiting for: [received:nodes:2429fcc6-0fd5-4807-a215-dc7a15376430:localhost] 2022-07-08 22:31:52 | [Mutex] waiting for: [received:nodes:2429fcc6-0fd5-4807-a215-dc7a15376430:localhost] 2022-07-08 22:31:52 | [Mutex] received everything. 2022-07-08 22:31:52 | [Mutex] isItemNotified: received:node:2429fcc6-0fd5-4807-a215-dc7a15376430:localhost:node-c7e086b7-f617-4bbd-9ead-00068f62e382:Node c7e086b7-f617-4bbd-9ead-00068f62e382 :: true |
createSubnodes | 1.022s |
2022-07-08 22:31:52 |
2022-07-08 22:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:52 | ------------------------------------ 2022-07-08 22:31:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9784abb4-91a3-4471-adf4-73c7f3679057</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9784abb4-91a3-4471-adf4-73c7f3679057</title></pubsub></data> 2022-07-08 22:31:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-08 22:31:53 | [Mutex] waiting for: [received:nodes:70643043-4e88-4ebc-b8a5-5a9292045195:localhost] 2022-07-08 22:31:53 | [Mutex] waiting for: [received:nodes:70643043-4e88-4ebc-b8a5-5a9292045195:localhost] 2022-07-08 22:31:53 | [Mutex] received everything. 2022-07-08 22:31:53 | [Mutex] isItemNotified: received:node:70643043-4e88-4ebc-b8a5-5a9292045195:localhost:node-9784abb4-91a3-4471-adf4-73c7f3679057:Node 9784abb4-91a3-4471-adf4-73c7f3679057 :: true |
deleteNodes | 1.018s |
2022-07-08 22:31:58 |
2022-07-08 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:58 | ------------------------------------ 2022-07-08 22:31:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9784abb4-91a3-4471-adf4-73c7f3679057</node></data> 2022-07-08 22:31:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-08 22:31:59 | [Mutex] waiting for: [received:nodes:15a5642f-61be-4aba-b834-e0ac7752e334:localhost] 2022-07-08 22:31:59 | [Mutex] waiting for: [received:nodes:15a5642f-61be-4aba-b834-e0ac7752e334:localhost] 2022-07-08 22:31:59 | [Mutex] received everything. 2022-07-08 22:31:59 | [Mutex] isItemNotified: received:node:15a5642f-61be-4aba-b834-e0ac7752e334:localhost:node-9784abb4-91a3-4471-adf4-73c7f3679057:Node 9784abb4-91a3-4471-adf4-73c7f3679057 :: false |
deleteSubnodes | 1.134s |
2022-07-08 22:31:57 |
2022-07-08 22:31:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:57 | ------------------------------------ 2022-07-08 22:31:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c7e086b7-f617-4bbd-9ead-00068f62e382</node></data> 2022-07-08 22:31:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-08 22:31:58 | [Mutex] waiting for: [received:nodes:9bf72956-abd9-48bf-916f-2af5b34c9ef2:localhost] 2022-07-08 22:31:58 | [Mutex] waiting for: [received:nodes:9bf72956-abd9-48bf-916f-2af5b34c9ef2:localhost] 2022-07-08 22:31:58 | [Mutex] received everything. 2022-07-08 22:31:58 | [Mutex] isItemNotified: received:node:9bf72956-abd9-48bf-916f-2af5b34c9ef2:localhost:node-c7e086b7-f617-4bbd-9ead-00068f62e382:Node c7e086b7-f617-4bbd-9ead-00068f62e382 :: false 2022-07-08 22:31:58 | [Mutex] waiting for: [received:nodes:df13d81e-7aed-4dca-a47a-7d934c67b111:localhost] 2022-07-08 22:31:58 | [Mutex] received everything. 2022-07-08 22:31:58 | [Mutex] isItemNotified: received:node:df13d81e-7aed-4dca-a47a-7d934c67b111:localhost:node-c7e086b7-f617-4bbd-9ead-00068f62e382:Node c7e086b7-f617-4bbd-9ead-00068f62e382 :: false |
publishItemsToNodes | 0.241s |
2022-07-08 22:31:55 |
2022-07-08 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:55 | ------------------------------------ 2022-07-08 22:31:55 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c7e086b7-f617-4bbd-9ead-00068f62e382</node><item-id>item-c3e7af1d-bbf7-4c70-98e8-afae5383cf43</item-id><entry><test>item-c3e7af1d-bbf7-4c70-98e8-afae5383cf43</test></entry></data> 2022-07-08 22:31:55 | 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-c3e7af1d-bbf7-4c70-98e8-afae5383cf43</value></item-id></result> 2022-07-08 22:31:55 | [Mutex] received everything. 2022-07-08 22:31:55 | [Mutex] isItemNotified: published:item:notifieditem-c3e7af1d-bbf7-4c70-98e8-afae5383cf43:admin@test-domain.com :: true |
retractItemsFromNodes | 0.189s |
2022-07-08 22:31:56 |
2022-07-08 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:56 | ------------------------------------ 2022-07-08 22:31:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c7e086b7-f617-4bbd-9ead-00068f62e382</node><item-id>item-c3e7af1d-bbf7-4c70-98e8-afae5383cf43</item-id></data> 2022-07-08 22:31:56 | 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-c3e7af1d-bbf7-4c70-98e8-afae5383cf43</value></item-id></result> 2022-07-08 22:31:56 | [Mutex] waiting for: [retracted:item:notifieditem-c3e7af1d-bbf7-4c70-98e8-afae5383cf43:admin@test-domain.com] 2022-07-08 22:31:56 | [Mutex] received everything. 2022-07-08 22:31:56 | [Mutex] isItemNotified: retracted:item:notifieditem-c3e7af1d-bbf7-4c70-98e8-afae5383cf43:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.239s |
2022-07-08 22:31:55 |
2022-07-08 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:55 | ------------------------------------ 2022-07-08 22:31:55 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c7e086b7-f617-4bbd-9ead-00068f62e382</node><item-id>item-c3e7af1d-bbf7-4c70-98e8-afae5383cf43</item-id></data> 2022-07-08 22:31:56 | 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-c7e086b7-f617-4bbd-9ead-00068f62e382</value></node><item-id label="Item ID" type="text-single"><value>item-c3e7af1d-bbf7-4c70-98e8-afae5383cf43</value></item-id><item label="Item" type="text-multi"><value><item id="item-c3e7af1d-bbf7-4c70-98e8-afae5383cf43"><test>item-c3e7af1d-bbf7-4c70-98e8-afae5383cf43</test></item></value></item></result> 2022-07-08 22:31:56 | [Mutex] notify: [retrieved:item:item-c3e7af1d-bbf7-4c70-98e8-afae5383cf43:payload-matches:true:localhost] 2022-07-08 22:31:56 | [Mutex] received everything. 2022-07-08 22:31:56 | [Mutex] isItemNotified: retrieved:item:item-c3e7af1d-bbf7-4c70-98e8-afae5383cf43:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-07-08 22:31:56 |
2022-07-08 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:56 | ------------------------------------ 2022-07-08 22:31:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-08 22:31:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-9784abb4-91a3-4471-adf4-73c7f3679057</value><value>node-c7e086b7-f617-4bbd-9ead-00068f62e382</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-08 22:31:56 |
2022-07-08 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:56 | ------------------------------------ 2022-07-08 22:31:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c7e086b7-f617-4bbd-9ead-00068f62e382)</node-pattern></data> 2022-07-08 22:31:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.109s |
2022-07-08 22:31:54 |
2022-07-08 22:31:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:54 | ------------------------------------ 2022-07-08 22:31:54 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c7e086b7-f617-4bbd-9ead-00068f62e382</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-08 22:31:54 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.186s |
2022-07-08 22:31:56 |
2022-07-08 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 22:31:56 | ------------------------------------ 2022-07-08 22:31:56 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c7e086b7-f617-4bbd-9ead-00068f62e382</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-08 22:31:56 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |