Test duration : 9.595s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2022-06-01 22:40:45 |
2022-06-01 22:40:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:45 | ------------------------------------ 2022-06-01 22:40:45 | [Mutex] waiting for: [configured:node:node-fe9a6b74-325f-4de0-8d3a-a052a0d66887:node-2f6a5321-efc1-476f-bf84-98a6c2e3c04d] 2022-06-01 22:40:45 | [Mutex] received everything. 2022-06-01 22:40:45 | [Mutex] isItemNotified: configured:node:node-fe9a6b74-325f-4de0-8d3a-a052a0d66887:node-2f6a5321-efc1-476f-bf84-98a6c2e3c04d :: true 2022-06-01 22:40:46 | [Mutex] waiting for: [received:nodes:6108e674-4c8a-4e35-9c4f-e188cb6841a5:localhost] 2022-06-01 22:40:46 | [Mutex] received everything. 2022-06-01 22:40:46 | [Mutex] isItemNotified: received:node:6108e674-4c8a-4e35-9c4f-e188cb6841a5:localhost:node-fe9a6b74-325f-4de0-8d3a-a052a0d66887:Node fe9a6b74-325f-4de0-8d3a-a052a0d66887 :: true 2022-06-01 22:40:46 | [Mutex] waiting for: [received:nodes:2d439b53-e5f4-46f2-a72d-950849468c29:localhost] 2022-06-01 22:40:46 | [Mutex] waiting for: [received:nodes:2d439b53-e5f4-46f2-a72d-950849468c29:localhost] 2022-06-01 22:40:46 | [Mutex] received everything. 2022-06-01 22:40:46 | [Mutex] isItemNotified: received:node:2d439b53-e5f4-46f2-a72d-950849468c29:localhost:node-fe9a6b74-325f-4de0-8d3a-a052a0d66887:Node fe9a6b74-325f-4de0-8d3a-a052a0d66887 :: false |
createNodes | 1.490s |
2022-06-01 22:40:42 |
2022-06-01 22:40:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:42 | ------------------------------------ 2022-06-01 22:40:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fe9a6b74-325f-4de0-8d3a-a052a0d66887</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fe9a6b74-325f-4de0-8d3a-a052a0d66887</title></pubsub></data> 2022-06-01 22:40:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-01 22:40:44 | [Mutex] waiting for: [received:nodes:1fc336fc-dc4d-44df-bd84-7608b01a8484:localhost] 2022-06-01 22:40:44 | [Mutex] received everything. 2022-06-01 22:40:44 | [Mutex] isItemNotified: received:node:1fc336fc-dc4d-44df-bd84-7608b01a8484:localhost:node-fe9a6b74-325f-4de0-8d3a-a052a0d66887:Node fe9a6b74-325f-4de0-8d3a-a052a0d66887 :: true |
createSubnodes | 1.035s |
2022-06-01 22:40:44 |
2022-06-01 22:40:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:44 | ------------------------------------ 2022-06-01 22:40:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2f6a5321-efc1-476f-bf84-98a6c2e3c04d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f6a5321-efc1-476f-bf84-98a6c2e3c04d</title></pubsub></data> 2022-06-01 22:40:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-01 22:40:45 | [Mutex] waiting for: [received:nodes:24d0ef98-ec8d-4141-8d2a-e5323bf28071:localhost] 2022-06-01 22:40:45 | [Mutex] waiting for: [received:nodes:24d0ef98-ec8d-4141-8d2a-e5323bf28071:localhost] 2022-06-01 22:40:45 | [Mutex] waiting for: [received:nodes:24d0ef98-ec8d-4141-8d2a-e5323bf28071:localhost] 2022-06-01 22:40:45 | [Mutex] received everything. 2022-06-01 22:40:45 | [Mutex] isItemNotified: received:node:24d0ef98-ec8d-4141-8d2a-e5323bf28071:localhost:node-2f6a5321-efc1-476f-bf84-98a6c2e3c04d:Node 2f6a5321-efc1-476f-bf84-98a6c2e3c04d :: true |
deleteNodes | 1.029s |
2022-06-01 22:40:50 |
2022-06-01 22:40:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:50 | ------------------------------------ 2022-06-01 22:40:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2f6a5321-efc1-476f-bf84-98a6c2e3c04d</node></data> 2022-06-01 22:40:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-01 22:40:51 | [Mutex] waiting for: [received:nodes:830f122f-06a3-42a4-a7fd-f0382a016dda:localhost] 2022-06-01 22:40:51 | [Mutex] waiting for: [received:nodes:830f122f-06a3-42a4-a7fd-f0382a016dda:localhost] 2022-06-01 22:40:51 | [Mutex] received everything. 2022-06-01 22:40:51 | [Mutex] isItemNotified: received:node:830f122f-06a3-42a4-a7fd-f0382a016dda:localhost:node-2f6a5321-efc1-476f-bf84-98a6c2e3c04d:Node 2f6a5321-efc1-476f-bf84-98a6c2e3c04d :: false |
deleteSubnodes | 1.157s |
2022-06-01 22:40:49 |
2022-06-01 22:40:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:49 | ------------------------------------ 2022-06-01 22:40:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fe9a6b74-325f-4de0-8d3a-a052a0d66887</node></data> 2022-06-01 22:40:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-01 22:40:50 | [Mutex] waiting for: [received:nodes:cf0ec0bd-56ba-45ff-9547-5b76a6f875fa:localhost] 2022-06-01 22:40:50 | [Mutex] received everything. 2022-06-01 22:40:50 | [Mutex] isItemNotified: received:node:cf0ec0bd-56ba-45ff-9547-5b76a6f875fa:localhost:node-fe9a6b74-325f-4de0-8d3a-a052a0d66887:Node fe9a6b74-325f-4de0-8d3a-a052a0d66887 :: false 2022-06-01 22:40:50 | [Mutex] waiting for: [received:nodes:fad092e8-02b3-4028-a2fa-81234d97779d:localhost] 2022-06-01 22:40:50 | [Mutex] received everything. 2022-06-01 22:40:50 | [Mutex] isItemNotified: received:node:fad092e8-02b3-4028-a2fa-81234d97779d:localhost:node-fe9a6b74-325f-4de0-8d3a-a052a0d66887:Node fe9a6b74-325f-4de0-8d3a-a052a0d66887 :: false |
publishItemsToNodes | 0.179s |
2022-06-01 22:40:47 |
2022-06-01 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:47 | ------------------------------------ 2022-06-01 22:40:47 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-fe9a6b74-325f-4de0-8d3a-a052a0d66887</node><item-id>item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814</item-id><entry><test>item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814</test></entry></data> 2022-06-01 22:40:47 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814</value></item-id></result> 2022-06-01 22:40:47 | [Mutex] waiting for: [published:item:notifieditem-b6b77b80-d47a-42e7-9919-1f3ef3c6e814:admin@test-domain.com] 2022-06-01 22:40:47 | [Mutex] received everything. 2022-06-01 22:40:47 | [Mutex] isItemNotified: published:item:notifieditem-b6b77b80-d47a-42e7-9919-1f3ef3c6e814:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-06-01 22:40:48 |
2022-06-01 22:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:48 | ------------------------------------ 2022-06-01 22:40:48 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-fe9a6b74-325f-4de0-8d3a-a052a0d66887</node><item-id>item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814</item-id></data> 2022-06-01 22:40:48 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814</value></item-id></result> 2022-06-01 22:40:48 | [Mutex] received everything. 2022-06-01 22:40:48 | [Mutex] isItemNotified: retracted:item:notifieditem-b6b77b80-d47a-42e7-9919-1f3ef3c6e814:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2022-06-01 22:40:47 |
2022-06-01 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:47 | ------------------------------------ 2022-06-01 22:40:47 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-fe9a6b74-325f-4de0-8d3a-a052a0d66887</node><item-id>item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814</item-id></data> 2022-06-01 22:40:47 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-fe9a6b74-325f-4de0-8d3a-a052a0d66887</value></node><item-id type="text-single" label="Item ID"><value>item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814</value></item-id><item type="text-multi" label="Item"><value><item id="item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814"><test>item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814</test></item></value></item></result> 2022-06-01 22:40:47 | [Mutex] notify: [retrieved:item:item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814:payload-matches:true:localhost] 2022-06-01 22:40:47 | [Mutex] received everything. 2022-06-01 22:40:47 | [Mutex] isItemNotified: retrieved:item:item-b6b77b80-d47a-42e7-9919-1f3ef3c6e814:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-01 22:40:47 |
2022-06-01 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:47 | ------------------------------------ 2022-06-01 22:40:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-01 22:40:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-fe9a6b74-325f-4de0-8d3a-a052a0d66887</value><value>node-2f6a5321-efc1-476f-bf84-98a6c2e3c04d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-01 22:40:47 |
2022-06-01 22:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:47 | ------------------------------------ 2022-06-01 22:40:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fe9a6b74-325f-4de0-8d3a-a052a0d66887)</node-pattern></data> 2022-06-01 22:40:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.149s |
2022-06-01 22:40:46 |
2022-06-01 22:40:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:46 | ------------------------------------ 2022-06-01 22:40:46 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-fe9a6b74-325f-4de0-8d3a-a052a0d66887</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-01 22:40:46 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.211s |
2022-06-01 22:40:48 |
2022-06-01 22:40:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:40:48 | ------------------------------------ 2022-06-01 22:40:48 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-fe9a6b74-325f-4de0-8d3a-a052a0d66887</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-01 22:40:48 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |