Test duration : 9.535s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-07-08 23:04:06 |
2022-07-08 23:04:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:06 | ------------------------------------ 2022-07-08 23:04:06 | [Mutex] waiting for: [configured:node:node-7f9362ad-3afb-421d-8734-3327b77e5b4b:node-a67b46d0-8cd3-4390-a992-8745ec4a7d98] 2022-07-08 23:04:06 | [Mutex] received everything. 2022-07-08 23:04:06 | [Mutex] isItemNotified: configured:node:node-7f9362ad-3afb-421d-8734-3327b77e5b4b:node-a67b46d0-8cd3-4390-a992-8745ec4a7d98 :: true 2022-07-08 23:04:07 | [Mutex] waiting for: [received:nodes:2ea2f359-d7ff-4de7-b161-d253fbc8197c:localhost] 2022-07-08 23:04:07 | [Mutex] received everything. 2022-07-08 23:04:07 | [Mutex] isItemNotified: received:node:2ea2f359-d7ff-4de7-b161-d253fbc8197c:localhost:node-7f9362ad-3afb-421d-8734-3327b77e5b4b:Node 7f9362ad-3afb-421d-8734-3327b77e5b4b :: true 2022-07-08 23:04:07 | [Mutex] waiting for: [received:nodes:ff1c7083-c9c1-4aa4-98ee-8c010c75ec6a:localhost] 2022-07-08 23:04:07 | [Mutex] waiting for: [received:nodes:ff1c7083-c9c1-4aa4-98ee-8c010c75ec6a:localhost] 2022-07-08 23:04:07 | [Mutex] waiting for: [received:nodes:ff1c7083-c9c1-4aa4-98ee-8c010c75ec6a:localhost] 2022-07-08 23:04:07 | [Mutex] received everything. 2022-07-08 23:04:07 | [Mutex] isItemNotified: received:node:ff1c7083-c9c1-4aa4-98ee-8c010c75ec6a:localhost:node-7f9362ad-3afb-421d-8734-3327b77e5b4b:Node 7f9362ad-3afb-421d-8734-3327b77e5b4b :: false |
createNodes | 1.451s |
2022-07-08 23:04:04 |
2022-07-08 23:04:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:04 | ------------------------------------ 2022-07-08 23:04:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7f9362ad-3afb-421d-8734-3327b77e5b4b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7f9362ad-3afb-421d-8734-3327b77e5b4b</title></pubsub></data> 2022-07-08 23:04:04 | 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 23:04:05 | [Mutex] waiting for: [received:nodes:3ae1779e-bdfd-4915-a32e-8dfadbcfc5f5:localhost] 2022-07-08 23:04:05 | [Mutex] received everything. 2022-07-08 23:04:05 | [Mutex] isItemNotified: received:node:3ae1779e-bdfd-4915-a32e-8dfadbcfc5f5:localhost:node-7f9362ad-3afb-421d-8734-3327b77e5b4b:Node 7f9362ad-3afb-421d-8734-3327b77e5b4b :: true |
createSubnodes | 1.021s |
2022-07-08 23:04:05 |
2022-07-08 23:04:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:05 | ------------------------------------ 2022-07-08 23:04:05 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a67b46d0-8cd3-4390-a992-8745ec4a7d98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a67b46d0-8cd3-4390-a992-8745ec4a7d98</title></pubsub></data> 2022-07-08 23:04:05 | 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 23:04:06 | [Mutex] waiting for: [received:nodes:a17cc9c1-d267-4e4c-b617-8f24ec62defa:localhost] 2022-07-08 23:04:06 | [Mutex] received everything. 2022-07-08 23:04:06 | [Mutex] isItemNotified: received:node:a17cc9c1-d267-4e4c-b617-8f24ec62defa:localhost:node-a67b46d0-8cd3-4390-a992-8745ec4a7d98:Node a67b46d0-8cd3-4390-a992-8745ec4a7d98 :: true |
deleteNodes | 1.019s |
2022-07-08 23:04:11 |
2022-07-08 23:04:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:11 | ------------------------------------ 2022-07-08 23:04:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a67b46d0-8cd3-4390-a992-8745ec4a7d98</node></data> 2022-07-08 23:04:11 | 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 23:04:12 | [Mutex] waiting for: [received:nodes:1be6e714-c6a3-46d3-97bd-cfcc6901d0b5:localhost] 2022-07-08 23:04:12 | [Mutex] received everything. 2022-07-08 23:04:12 | [Mutex] isItemNotified: received:node:1be6e714-c6a3-46d3-97bd-cfcc6901d0b5:localhost:node-a67b46d0-8cd3-4390-a992-8745ec4a7d98:Node a67b46d0-8cd3-4390-a992-8745ec4a7d98 :: false |
deleteSubnodes | 1.171s |
2022-07-08 23:04:10 |
2022-07-08 23:04:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:10 | ------------------------------------ 2022-07-08 23:04:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7f9362ad-3afb-421d-8734-3327b77e5b4b</node></data> 2022-07-08 23:04:10 | 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 23:04:11 | [Mutex] waiting for: [received:nodes:744d9645-ccbb-4bce-abaa-4eab1511c13d:localhost] 2022-07-08 23:04:11 | [Mutex] waiting for: [received:nodes:744d9645-ccbb-4bce-abaa-4eab1511c13d:localhost] 2022-07-08 23:04:11 | [Mutex] received everything. 2022-07-08 23:04:11 | [Mutex] isItemNotified: received:node:744d9645-ccbb-4bce-abaa-4eab1511c13d:localhost:node-7f9362ad-3afb-421d-8734-3327b77e5b4b:Node 7f9362ad-3afb-421d-8734-3327b77e5b4b :: false 2022-07-08 23:04:11 | [Mutex] waiting for: [received:nodes:f65bbf8a-d4a3-4f74-8105-965d118afe74:localhost] 2022-07-08 23:04:11 | [Mutex] received everything. 2022-07-08 23:04:11 | [Mutex] isItemNotified: received:node:f65bbf8a-d4a3-4f74-8105-965d118afe74:localhost:node-7f9362ad-3afb-421d-8734-3327b77e5b4b:Node 7f9362ad-3afb-421d-8734-3327b77e5b4b :: false |
publishItemsToNodes | 0.269s |
2022-07-08 23:04:08 |
2022-07-08 23:04:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:08 | ------------------------------------ 2022-07-08 23:04:08 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7f9362ad-3afb-421d-8734-3327b77e5b4b</node><item-id>item-da122377-7c59-48d0-8f22-588c0d5d8d50</item-id><entry><test>item-da122377-7c59-48d0-8f22-588c0d5d8d50</test></entry></data> 2022-07-08 23:04:09 | 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-da122377-7c59-48d0-8f22-588c0d5d8d50</value></item-id></result> 2022-07-08 23:04:09 | [Mutex] waiting for: [published:item:notifieditem-da122377-7c59-48d0-8f22-588c0d5d8d50:admin@test-domain.com] 2022-07-08 23:04:09 | [Mutex] received everything. 2022-07-08 23:04:09 | [Mutex] isItemNotified: published:item:notifieditem-da122377-7c59-48d0-8f22-588c0d5d8d50:admin@test-domain.com :: true |
retractItemsFromNodes | 0.227s |
2022-07-08 23:04:09 |
2022-07-08 23:04:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:09 | ------------------------------------ 2022-07-08 23:04:09 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7f9362ad-3afb-421d-8734-3327b77e5b4b</node><item-id>item-da122377-7c59-48d0-8f22-588c0d5d8d50</item-id></data> 2022-07-08 23:04:09 | 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-da122377-7c59-48d0-8f22-588c0d5d8d50</value></item-id></result> 2022-07-08 23:04:09 | [Mutex] received everything. 2022-07-08 23:04:09 | [Mutex] isItemNotified: retracted:item:notifieditem-da122377-7c59-48d0-8f22-588c0d5d8d50:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2022-07-08 23:04:09 |
2022-07-08 23:04:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:09 | ------------------------------------ 2022-07-08 23:04:09 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7f9362ad-3afb-421d-8734-3327b77e5b4b</node><item-id>item-da122377-7c59-48d0-8f22-588c0d5d8d50</item-id></data> 2022-07-08 23:04:09 | 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-7f9362ad-3afb-421d-8734-3327b77e5b4b</value></node><item-id label="Item ID" type="text-single"><value>item-da122377-7c59-48d0-8f22-588c0d5d8d50</value></item-id><item label="Item" type="text-multi"><value><item id="item-da122377-7c59-48d0-8f22-588c0d5d8d50"><test>item-da122377-7c59-48d0-8f22-588c0d5d8d50</test></item></value></item></result> 2022-07-08 23:04:09 | [Mutex] notify: [retrieved:item:item-da122377-7c59-48d0-8f22-588c0d5d8d50:payload-matches:true:localhost] 2022-07-08 23:04:09 | [Mutex] received everything. 2022-07-08 23:04:09 | [Mutex] isItemNotified: retrieved:item:item-da122377-7c59-48d0-8f22-588c0d5d8d50:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-07-08 23:04:09 |
2022-07-08 23:04:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:09 | ------------------------------------ 2022-07-08 23:04:09 | 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 23:04:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a67b46d0-8cd3-4390-a992-8745ec4a7d98</value><value>test</value><value>node-7f9362ad-3afb-421d-8734-3327b77e5b4b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-07-08 23:04:09 |
2022-07-08 23:04:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:09 | ------------------------------------ 2022-07-08 23:04:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7f9362ad-3afb-421d-8734-3327b77e5b4b)</node-pattern></data> 2022-07-08 23:04:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.151s |
2022-07-08 23:04:07 |
2022-07-08 23:04:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:07 | ------------------------------------ 2022-07-08 23:04:07 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7f9362ad-3afb-421d-8734-3327b77e5b4b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-08 23:04:07 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.175s |
2022-07-08 23:04:09 |
2022-07-08 23:04:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-08 23:04:09 | ------------------------------------ 2022-07-08 23:04:09 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7f9362ad-3afb-421d-8734-3327b77e5b4b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-08 23:04:09 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |