Test duration : 9.458s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.094s |
2023-07-05 21:53:25 |
2023-07-05 21:53:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:25 | ------------------------------------ 2023-07-05 21:53:25 | [Mutex] waiting for: [configured:node:node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7:node-664b6dd6-bb07-4ffc-8b86-885278881739] 2023-07-05 21:53:26 | [Mutex] received everything. 2023-07-05 21:53:26 | [Mutex] isItemNotified: configured:node:node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7:node-664b6dd6-bb07-4ffc-8b86-885278881739 :: true 2023-07-05 21:53:27 | [Mutex] waiting for: [received:nodes:08e3579c-0dfc-483d-9569-2b66932d5824:localhost] 2023-07-05 21:53:27 | [Mutex] received everything. 2023-07-05 21:53:27 | [Mutex] isItemNotified: received:node:08e3579c-0dfc-483d-9569-2b66932d5824:localhost:node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7:Node 0ca2aac0-05e3-464b-9dc2-0f3d981156b7 :: true 2023-07-05 21:53:27 | [Mutex] waiting for: [received:nodes:9368efc2-2c0a-404e-85e2-26d8f6ac3f5c:localhost] 2023-07-05 21:53:27 | [Mutex] waiting for: [received:nodes:9368efc2-2c0a-404e-85e2-26d8f6ac3f5c:localhost] 2023-07-05 21:53:27 | [Mutex] waiting for: [received:nodes:9368efc2-2c0a-404e-85e2-26d8f6ac3f5c:localhost] 2023-07-05 21:53:27 | [Mutex] received everything. 2023-07-05 21:53:27 | [Mutex] isItemNotified: received:node:9368efc2-2c0a-404e-85e2-26d8f6ac3f5c:localhost:node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7:Node 0ca2aac0-05e3-464b-9dc2-0f3d981156b7 :: false |
createNodes | 1.435s |
2023-07-05 21:53:23 |
2023-07-05 21:53:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:23 | ------------------------------------ 2023-07-05 21:53:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0ca2aac0-05e3-464b-9dc2-0f3d981156b7</title></pubsub></data> 2023-07-05 21:53:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 21:53:24 | [Mutex] waiting for: [received:nodes:7065862a-571f-46cf-8249-9aa1ef948fdd:localhost] 2023-07-05 21:53:24 | [Mutex] waiting for: [received:nodes:7065862a-571f-46cf-8249-9aa1ef948fdd:localhost] 2023-07-05 21:53:24 | [Mutex] waiting for: [received:nodes:7065862a-571f-46cf-8249-9aa1ef948fdd:localhost] 2023-07-05 21:53:24 | [Mutex] received everything. 2023-07-05 21:53:24 | [Mutex] isItemNotified: received:node:7065862a-571f-46cf-8249-9aa1ef948fdd:localhost:node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7:Node 0ca2aac0-05e3-464b-9dc2-0f3d981156b7 :: true |
createSubnodes | 1.024s |
2023-07-05 21:53:24 |
2023-07-05 21:53:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:24 | ------------------------------------ 2023-07-05 21:53:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-664b6dd6-bb07-4ffc-8b86-885278881739</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 664b6dd6-bb07-4ffc-8b86-885278881739</title></pubsub></data> 2023-07-05 21:53:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 21:53:25 | [Mutex] waiting for: [received:nodes:922ca804-e2a7-45f5-afdb-1e06dc331d18:localhost] 2023-07-05 21:53:25 | [Mutex] waiting for: [received:nodes:922ca804-e2a7-45f5-afdb-1e06dc331d18:localhost] 2023-07-05 21:53:25 | [Mutex] waiting for: [received:nodes:922ca804-e2a7-45f5-afdb-1e06dc331d18:localhost] 2023-07-05 21:53:25 | [Mutex] waiting for: [received:nodes:922ca804-e2a7-45f5-afdb-1e06dc331d18:localhost] 2023-07-05 21:53:25 | [Mutex] received everything. 2023-07-05 21:53:25 | [Mutex] isItemNotified: received:node:922ca804-e2a7-45f5-afdb-1e06dc331d18:localhost:node-664b6dd6-bb07-4ffc-8b86-885278881739:Node 664b6dd6-bb07-4ffc-8b86-885278881739 :: true |
deleteNodes | 1.017s |
2023-07-05 21:53:31 |
2023-07-05 21:53:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:31 | ------------------------------------ 2023-07-05 21:53:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-664b6dd6-bb07-4ffc-8b86-885278881739</node></data> 2023-07-05 21:53:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 21:53:32 | [Mutex] waiting for: [received:nodes:27dd6a47-360f-4f12-ad1e-0dbc0420c594:localhost] 2023-07-05 21:53:32 | [Mutex] waiting for: [received:nodes:27dd6a47-360f-4f12-ad1e-0dbc0420c594:localhost] 2023-07-05 21:53:32 | [Mutex] waiting for: [received:nodes:27dd6a47-360f-4f12-ad1e-0dbc0420c594:localhost] 2023-07-05 21:53:32 | [Mutex] received everything. 2023-07-05 21:53:32 | [Mutex] isItemNotified: received:node:27dd6a47-360f-4f12-ad1e-0dbc0420c594:localhost:node-664b6dd6-bb07-4ffc-8b86-885278881739:Node 664b6dd6-bb07-4ffc-8b86-885278881739 :: false |
deleteSubnodes | 1.174s |
2023-07-05 21:53:30 |
2023-07-05 21:53:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:30 | ------------------------------------ 2023-07-05 21:53:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7</node></data> 2023-07-05 21:53:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 21:53:31 | [Mutex] waiting for: [received:nodes:4ea6965f-9ac6-4c9c-ab58-470e9f36b4dd:localhost] 2023-07-05 21:53:31 | [Mutex] waiting for: [received:nodes:4ea6965f-9ac6-4c9c-ab58-470e9f36b4dd:localhost] 2023-07-05 21:53:31 | [Mutex] waiting for: [received:nodes:4ea6965f-9ac6-4c9c-ab58-470e9f36b4dd:localhost] 2023-07-05 21:53:31 | [Mutex] waiting for: [received:nodes:4ea6965f-9ac6-4c9c-ab58-470e9f36b4dd:localhost] 2023-07-05 21:53:31 | [Mutex] received everything. 2023-07-05 21:53:31 | [Mutex] isItemNotified: received:node:4ea6965f-9ac6-4c9c-ab58-470e9f36b4dd:localhost:node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7:Node 0ca2aac0-05e3-464b-9dc2-0f3d981156b7 :: false 2023-07-05 21:53:31 | [Mutex] waiting for: [received:nodes:d4014afa-3ef4-4832-bfed-d6bfb412e332:localhost] 2023-07-05 21:53:31 | [Mutex] received everything. 2023-07-05 21:53:31 | [Mutex] isItemNotified: received:node:d4014afa-3ef4-4832-bfed-d6bfb412e332:localhost:node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7:Node 0ca2aac0-05e3-464b-9dc2-0f3d981156b7 :: false |
publishItemsToNodes | 0.254s |
2023-07-05 21:53:28 |
2023-07-05 21:53:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:28 | ------------------------------------ 2023-07-05 21:53:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7</node><item-id>item-6f1f0433-7d2e-4f6c-862e-c2eec2ace446</item-id><entry><test>item-6f1f0433-7d2e-4f6c-862e-c2eec2ace446</test></entry></data> 2023-07-05 21:53:28 | 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-6f1f0433-7d2e-4f6c-862e-c2eec2ace446</value></item-id></result> 2023-07-05 21:53:28 | [Mutex] waiting for: [published:item:notifieditem-6f1f0433-7d2e-4f6c-862e-c2eec2ace446:admin@test-domain.com] 2023-07-05 21:53:28 | [Mutex] received everything. 2023-07-05 21:53:28 | [Mutex] isItemNotified: published:item:notifieditem-6f1f0433-7d2e-4f6c-862e-c2eec2ace446:admin@test-domain.com :: true |
retractItemsFromNodes | 0.244s |
2023-07-05 21:53:28 |
2023-07-05 21:53:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:28 | ------------------------------------ 2023-07-05 21:53:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7</node><item-id>item-6f1f0433-7d2e-4f6c-862e-c2eec2ace446</item-id></data> 2023-07-05 21:53:28 | 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-6f1f0433-7d2e-4f6c-862e-c2eec2ace446</value></item-id></result> 2023-07-05 21:53:28 | [Mutex] received everything. 2023-07-05 21:53:28 | [Mutex] isItemNotified: retracted:item:notifieditem-6f1f0433-7d2e-4f6c-862e-c2eec2ace446:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.186s |
2023-07-05 21:53:28 |
2023-07-05 21:53:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:28 | ------------------------------------ 2023-07-05 21:53:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7</node><item-id>item-6f1f0433-7d2e-4f6c-862e-c2eec2ace446</item-id></data> 2023-07-05 21:53:28 | 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-0ca2aac0-05e3-464b-9dc2-0f3d981156b7</value></node><item-id type="text-single" label="Item ID"><value>item-6f1f0433-7d2e-4f6c-862e-c2eec2ace446</value></item-id><item type="text-multi" label="Item"><value><item id="item-6f1f0433-7d2e-4f6c-862e-c2eec2ace446"><test>item-6f1f0433-7d2e-4f6c-862e-c2eec2ace446</test></item></value></item></result> 2023-07-05 21:53:28 | [Mutex] notify: [retrieved:item:item-6f1f0433-7d2e-4f6c-862e-c2eec2ace446:payload-matches:true:localhost] 2023-07-05 21:53:28 | [Mutex] received everything. 2023-07-05 21:53:28 | [Mutex] isItemNotified: retrieved:item:item-6f1f0433-7d2e-4f6c-862e-c2eec2ace446:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-05 21:53:28 |
2023-07-05 21:53:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:28 | ------------------------------------ 2023-07-05 21:53:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-05 21:53:28 | 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-0ca2aac0-05e3-464b-9dc2-0f3d981156b7</value><value>node-664b6dd6-bb07-4ffc-8b86-885278881739</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-07-05 21:53:28 |
2023-07-05 21:53:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:28 | ------------------------------------ 2023-07-05 21:53:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7)</node-pattern></data> 2023-07-05 21:53:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.149s |
2023-07-05 21:53:27 |
2023-07-05 21:53:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:27 | ------------------------------------ 2023-07-05 21:53:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-05 21:53:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.200s |
2023-07-05 21:53:28 |
2023-07-05 21:53:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 21:53:28 | ------------------------------------ 2023-07-05 21:53:28 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0ca2aac0-05e3-464b-9dc2-0f3d981156b7</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-05 21:53:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |