Test duration : 9.527s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.104s |
2022-09-27 23:02:33 |
2022-09-27 23:02:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:33 | ------------------------------------ 2022-09-27 23:02:33 | [Mutex] waiting for: [configured:node:node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112:node-692198bb-a807-41d7-9d6e-a5ecaa0b891b] 2022-09-27 23:02:33 | [Mutex] received everything. 2022-09-27 23:02:33 | [Mutex] isItemNotified: configured:node:node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112:node-692198bb-a807-41d7-9d6e-a5ecaa0b891b :: true 2022-09-27 23:02:34 | [Mutex] waiting for: [received:nodes:28e0f768-b171-4424-9a0a-e58c64d55f70:localhost] 2022-09-27 23:02:34 | [Mutex] received everything. 2022-09-27 23:02:34 | [Mutex] isItemNotified: received:node:28e0f768-b171-4424-9a0a-e58c64d55f70:localhost:node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112:Node 1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112 :: true 2022-09-27 23:02:35 | [Mutex] waiting for: [received:nodes:0949e503-1b67-45a3-a13d-5e7d5bc7af58:localhost] 2022-09-27 23:02:35 | [Mutex] received everything. 2022-09-27 23:02:35 | [Mutex] isItemNotified: received:node:0949e503-1b67-45a3-a13d-5e7d5bc7af58:localhost:node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112:Node 1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112 :: false |
createNodes | 1.450s |
2022-09-27 23:02:31 |
2022-09-27 23:02:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:31 | ------------------------------------ 2022-09-27 23:02:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</title></pubsub></data> 2022-09-27 23:02:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-27 23:02:32 | [Mutex] waiting for: [received:nodes:32c93081-2a16-4ea9-9fc9-e6bce409a577:localhost] 2022-09-27 23:02:32 | [Mutex] received everything. 2022-09-27 23:02:32 | [Mutex] isItemNotified: received:node:32c93081-2a16-4ea9-9fc9-e6bce409a577:localhost:node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112:Node 1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112 :: true |
createSubnodes | 1.032s |
2022-09-27 23:02:32 |
2022-09-27 23:02:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:32 | ------------------------------------ 2022-09-27 23:02:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-692198bb-a807-41d7-9d6e-a5ecaa0b891b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 692198bb-a807-41d7-9d6e-a5ecaa0b891b</title></pubsub></data> 2022-09-27 23:02:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-27 23:02:33 | [Mutex] waiting for: [received:nodes:086bfd6e-15c5-4b0c-92b6-f090e669fc2d:localhost] 2022-09-27 23:02:33 | [Mutex] received everything. 2022-09-27 23:02:33 | [Mutex] isItemNotified: received:node:086bfd6e-15c5-4b0c-92b6-f090e669fc2d:localhost:node-692198bb-a807-41d7-9d6e-a5ecaa0b891b:Node 692198bb-a807-41d7-9d6e-a5ecaa0b891b :: true |
deleteNodes | 1.016s |
2022-09-27 23:02:39 |
2022-09-27 23:02:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:39 | ------------------------------------ 2022-09-27 23:02:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-692198bb-a807-41d7-9d6e-a5ecaa0b891b</node></data> 2022-09-27 23:02:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-27 23:02:40 | [Mutex] waiting for: [received:nodes:59cdf573-10ca-4989-8a01-c0ba5a6bea8f:localhost] 2022-09-27 23:02:40 | [Mutex] received everything. 2022-09-27 23:02:40 | [Mutex] isItemNotified: received:node:59cdf573-10ca-4989-8a01-c0ba5a6bea8f:localhost:node-692198bb-a807-41d7-9d6e-a5ecaa0b891b:Node 692198bb-a807-41d7-9d6e-a5ecaa0b891b :: false |
deleteSubnodes | 1.130s |
2022-09-27 23:02:38 |
2022-09-27 23:02:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:38 | ------------------------------------ 2022-09-27 23:02:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</node></data> 2022-09-27 23:02:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-27 23:02:39 | [Mutex] waiting for: [received:nodes:658cb3ab-63ca-4555-88d1-16bb0f5d29c9:localhost] 2022-09-27 23:02:39 | [Mutex] waiting for: [received:nodes:658cb3ab-63ca-4555-88d1-16bb0f5d29c9:localhost] 2022-09-27 23:02:39 | [Mutex] waiting for: [received:nodes:658cb3ab-63ca-4555-88d1-16bb0f5d29c9:localhost] 2022-09-27 23:02:39 | [Mutex] waiting for: [received:nodes:658cb3ab-63ca-4555-88d1-16bb0f5d29c9:localhost] 2022-09-27 23:02:39 | [Mutex] received everything. 2022-09-27 23:02:39 | [Mutex] isItemNotified: received:node:658cb3ab-63ca-4555-88d1-16bb0f5d29c9:localhost:node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112:Node 1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112 :: false 2022-09-27 23:02:39 | [Mutex] waiting for: [received:nodes:3055ad55-5749-4246-a81e-60c6fd72adcf:localhost] 2022-09-27 23:02:39 | [Mutex] received everything. 2022-09-27 23:02:39 | [Mutex] isItemNotified: received:node:3055ad55-5749-4246-a81e-60c6fd72adcf:localhost:node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112:Node 1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112 :: false |
publishItemsToNodes | 0.276s |
2022-09-27 23:02:36 |
2022-09-27 23:02:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:36 | ------------------------------------ 2022-09-27 23:02:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</node><item-id>item-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7</item-id><entry><test>item-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7</test></entry></data> 2022-09-27 23:02:36 | 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-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7</value></item-id></result> 2022-09-27 23:02:36 | [Mutex] waiting for: [published:item:notifieditem-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7:admin@test-domain.com] 2022-09-27 23:02:36 | [Mutex] received everything. 2022-09-27 23:02:36 | [Mutex] isItemNotified: published:item:notifieditem-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2022-09-27 23:02:36 |
2022-09-27 23:02:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:36 | ------------------------------------ 2022-09-27 23:02:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</node><item-id>item-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7</item-id></data> 2022-09-27 23:02:36 | 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-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7</value></item-id></result> 2022-09-27 23:02:36 | [Mutex] received everything. 2022-09-27 23:02:36 | [Mutex] isItemNotified: retracted:item:notifieditem-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.177s |
2022-09-27 23:02:36 |
2022-09-27 23:02:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:36 | ------------------------------------ 2022-09-27 23:02:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</node><item-id>item-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7</item-id></data> 2022-09-27 23:02:36 | 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-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</value></node><item-id type="text-single" label="Item ID"><value>item-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7</value></item-id><item type="text-multi" label="Item"><value><item id="item-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7"><test>item-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7</test></item></value></item></result> 2022-09-27 23:02:36 | [Mutex] notify: [retrieved:item:item-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7:payload-matches:true:localhost] 2022-09-27 23:02:36 | [Mutex] received everything. 2022-09-27 23:02:36 | [Mutex] isItemNotified: retrieved:item:item-c5801b3f-d0d1-43d1-bd7c-9330c7295eb7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-09-27 23:02:36 |
2022-09-27 23:02:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:36 | ------------------------------------ 2022-09-27 23:02:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-27 23:02:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</value><value>node-692198bb-a807-41d7-9d6e-a5ecaa0b891b</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-09-27 23:02:36 |
2022-09-27 23:02:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:36 | ------------------------------------ 2022-09-27 23:02:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112)</node-pattern></data> 2022-09-27 23:02:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.109s |
2022-09-27 23:02:35 |
2022-09-27 23:02:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:35 | ------------------------------------ 2022-09-27 23:02:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-27 23:02:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.232s |
2022-09-27 23:02:36 |
2022-09-27 23:02:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-27 23:02:36 | ------------------------------------ 2022-09-27 23:02:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1eb132bd-82c6-4fa2-b8e9-03ed8eeb3112</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-27 23:02:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |