Test duration : 10.597s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.137s |
2022-02-03 21:49:47 |
2022-02-03 21:49:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:47 | ------------------------------------ 2022-02-03 21:49:47 | [Mutex] waiting for: [configured:node:node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a:node-f450e3b0-234f-44db-a323-c9539dcdc52c] 2022-02-03 21:49:47 | [Mutex] received everything. 2022-02-03 21:49:47 | [Mutex] isItemNotified: configured:node:node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a:node-f450e3b0-234f-44db-a323-c9539dcdc52c :: true 2022-02-03 21:49:48 | [Mutex] waiting for: [received:nodes:6b30409a-c9e6-4661-8ece-c3db81ed4503:localhost] 2022-02-03 21:49:48 | [Mutex] received everything. 2022-02-03 21:49:48 | [Mutex] isItemNotified: received:node:6b30409a-c9e6-4661-8ece-c3db81ed4503:localhost:node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a:Node 7ce060ff-70f3-41b2-ba1f-26460e4b6d7a :: true 2022-02-03 21:49:48 | [Mutex] waiting for: [received:nodes:521d40b3-26f3-4853-91c4-82e357526234:localhost] 2022-02-03 21:49:48 | [Mutex] waiting for: [received:nodes:521d40b3-26f3-4853-91c4-82e357526234:localhost] 2022-02-03 21:49:48 | [Mutex] waiting for: [received:nodes:521d40b3-26f3-4853-91c4-82e357526234:localhost] 2022-02-03 21:49:48 | [Mutex] received everything. 2022-02-03 21:49:48 | [Mutex] isItemNotified: received:node:521d40b3-26f3-4853-91c4-82e357526234:localhost:node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a:Node 7ce060ff-70f3-41b2-ba1f-26460e4b6d7a :: false |
createNodes | 1.722s |
2022-02-03 21:49:44 |
2022-02-03 21:49:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:44 | ------------------------------------ 2022-02-03 21:49:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</title></pubsub></data> 2022-02-03 21:49:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 21:49:46 | [Mutex] waiting for: [received:nodes:65ac59b8-bc69-4b41-9de9-bc9b7bcf8293:localhost] 2022-02-03 21:49:46 | [Mutex] waiting for: [received:nodes:65ac59b8-bc69-4b41-9de9-bc9b7bcf8293:localhost] 2022-02-03 21:49:46 | [Mutex] received everything. 2022-02-03 21:49:46 | [Mutex] isItemNotified: received:node:65ac59b8-bc69-4b41-9de9-bc9b7bcf8293:localhost:node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a:Node 7ce060ff-70f3-41b2-ba1f-26460e4b6d7a :: true |
createSubnodes | 1.035s |
2022-02-03 21:49:46 |
2022-02-03 21:49:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:46 | ------------------------------------ 2022-02-03 21:49:46 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f450e3b0-234f-44db-a323-c9539dcdc52c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f450e3b0-234f-44db-a323-c9539dcdc52c</title></pubsub></data> 2022-02-03 21:49:46 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 21:49:47 | [Mutex] waiting for: [received:nodes:086930ba-7009-4717-adf0-efdb1ebcce85:localhost] 2022-02-03 21:49:47 | [Mutex] received everything. 2022-02-03 21:49:47 | [Mutex] isItemNotified: received:node:086930ba-7009-4717-adf0-efdb1ebcce85:localhost:node-f450e3b0-234f-44db-a323-c9539dcdc52c:Node f450e3b0-234f-44db-a323-c9539dcdc52c :: true |
deleteNodes | 1.024s |
2022-02-03 21:49:52 |
2022-02-03 21:49:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:52 | ------------------------------------ 2022-02-03 21:49:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f450e3b0-234f-44db-a323-c9539dcdc52c</node></data> 2022-02-03 21:49:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 21:49:53 | [Mutex] waiting for: [received:nodes:e26a4dcb-1a79-477c-9f90-822fae69f6a6:localhost] 2022-02-03 21:49:53 | [Mutex] waiting for: [received:nodes:e26a4dcb-1a79-477c-9f90-822fae69f6a6:localhost] 2022-02-03 21:49:53 | [Mutex] received everything. 2022-02-03 21:49:53 | [Mutex] isItemNotified: received:node:e26a4dcb-1a79-477c-9f90-822fae69f6a6:localhost:node-f450e3b0-234f-44db-a323-c9539dcdc52c:Node f450e3b0-234f-44db-a323-c9539dcdc52c :: false |
deleteSubnodes | 1.162s |
2022-02-03 21:49:51 |
2022-02-03 21:49:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:51 | ------------------------------------ 2022-02-03 21:49:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</node></data> 2022-02-03 21:49:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-03 21:49:52 | [Mutex] waiting for: [received:nodes:40fb0f32-13ae-4fde-9d0f-740123358685:localhost] 2022-02-03 21:49:52 | [Mutex] waiting for: [received:nodes:40fb0f32-13ae-4fde-9d0f-740123358685:localhost] 2022-02-03 21:49:52 | [Mutex] waiting for: [received:nodes:40fb0f32-13ae-4fde-9d0f-740123358685:localhost] 2022-02-03 21:49:52 | [Mutex] received everything. 2022-02-03 21:49:52 | [Mutex] isItemNotified: received:node:40fb0f32-13ae-4fde-9d0f-740123358685:localhost:node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a:Node 7ce060ff-70f3-41b2-ba1f-26460e4b6d7a :: false 2022-02-03 21:49:52 | [Mutex] waiting for: [received:nodes:f5adc81d-e979-4ae1-9759-ca86d1807ba2:localhost] 2022-02-03 21:49:52 | [Mutex] received everything. 2022-02-03 21:49:52 | [Mutex] isItemNotified: received:node:f5adc81d-e979-4ae1-9759-ca86d1807ba2:localhost:node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a:Node 7ce060ff-70f3-41b2-ba1f-26460e4b6d7a :: false |
publishItemsToNodes | 0.232s |
2022-02-03 21:49:49 |
2022-02-03 21:49:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:49 | ------------------------------------ 2022-02-03 21:49:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</node><item-id>item-6eb033b1-435e-4080-8ead-3ce2bfa29d7d</item-id><entry><test>item-6eb033b1-435e-4080-8ead-3ce2bfa29d7d</test></entry></data> 2022-02-03 21:49:49 | 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-6eb033b1-435e-4080-8ead-3ce2bfa29d7d</value></item-id></result> 2022-02-03 21:49:49 | [Mutex] waiting for: [published:item:notifieditem-6eb033b1-435e-4080-8ead-3ce2bfa29d7d:admin@test-domain.com] 2022-02-03 21:49:49 | [Mutex] received everything. 2022-02-03 21:49:49 | [Mutex] isItemNotified: published:item:notifieditem-6eb033b1-435e-4080-8ead-3ce2bfa29d7d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.250s |
2022-02-03 21:49:50 |
2022-02-03 21:49:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:50 | ------------------------------------ 2022-02-03 21:49:50 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</node><item-id>item-6eb033b1-435e-4080-8ead-3ce2bfa29d7d</item-id></data> 2022-02-03 21:49:50 | 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-6eb033b1-435e-4080-8ead-3ce2bfa29d7d</value></item-id></result> 2022-02-03 21:49:50 | [Mutex] received everything. 2022-02-03 21:49:50 | [Mutex] isItemNotified: retracted:item:notifieditem-6eb033b1-435e-4080-8ead-3ce2bfa29d7d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.432s |
2022-02-03 21:49:49 |
2022-02-03 21:49:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:49 | ------------------------------------ 2022-02-03 21:49:49 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</node><item-id>item-6eb033b1-435e-4080-8ead-3ce2bfa29d7d</item-id></data> 2022-02-03 21:49:50 | 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-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</value></node><item-id type="text-single" label="Item ID"><value>item-6eb033b1-435e-4080-8ead-3ce2bfa29d7d</value></item-id><item type="text-multi" label="Item"><value><item id="item-6eb033b1-435e-4080-8ead-3ce2bfa29d7d"><test>item-6eb033b1-435e-4080-8ead-3ce2bfa29d7d</test></item></value></item></result> 2022-02-03 21:49:50 | [Mutex] notify: [retrieved:item:item-6eb033b1-435e-4080-8ead-3ce2bfa29d7d:payload-matches:true:localhost] 2022-02-03 21:49:50 | [Mutex] received everything. 2022-02-03 21:49:50 | [Mutex] isItemNotified: retrieved:item:item-6eb033b1-435e-4080-8ead-3ce2bfa29d7d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-02-03 21:49:50 |
2022-02-03 21:49:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:50 | ------------------------------------ 2022-02-03 21:49:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-03 21:49:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</value><value>test</value><value>node-f450e3b0-234f-44db-a323-c9539dcdc52c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-02-03 21:49:50 |
2022-02-03 21:49:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:50 | ------------------------------------ 2022-02-03 21:49:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a)</node-pattern></data> 2022-02-03 21:49:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.161s |
2022-02-03 21:49:48 |
2022-02-03 21:49:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:48 | ------------------------------------ 2022-02-03 21:49:48 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-03 21:49:48 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.167s |
2022-02-03 21:49:50 |
2022-02-03 21:49:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-03 21:49:50 | ------------------------------------ 2022-02-03 21:49:50 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7ce060ff-70f3-41b2-ba1f-26460e4b6d7a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-03 21:49:50 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |