Test duration : 9.274s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.085s |
2022-06-01 22:50:29 |
2022-06-01 22:50:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:29 | ------------------------------------ 2022-06-01 22:50:29 | [Mutex] waiting for: [configured:node:node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210:node-6c6c24c0-9060-4174-b95d-436b56dd3004] 2022-06-01 22:50:30 | [Mutex] received everything. 2022-06-01 22:50:30 | [Mutex] isItemNotified: configured:node:node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210:node-6c6c24c0-9060-4174-b95d-436b56dd3004 :: true 2022-06-01 22:50:31 | [Mutex] waiting for: [received:nodes:8999f6d4-bc10-4482-8e87-1301aa7607d0:localhost] 2022-06-01 22:50:31 | [Mutex] waiting for: [received:nodes:8999f6d4-bc10-4482-8e87-1301aa7607d0:localhost] 2022-06-01 22:50:31 | [Mutex] received everything. 2022-06-01 22:50:31 | [Mutex] isItemNotified: received:node:8999f6d4-bc10-4482-8e87-1301aa7607d0:localhost:node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210:Node ef6eeb4f-00b0-4d9f-88bb-c9eefe612210 :: true 2022-06-01 22:50:31 | [Mutex] waiting for: [received:nodes:e2465557-b88a-4034-acc4-b0d3f53e64e5:localhost] 2022-06-01 22:50:31 | [Mutex] waiting for: [received:nodes:e2465557-b88a-4034-acc4-b0d3f53e64e5:localhost] 2022-06-01 22:50:31 | [Mutex] received everything. 2022-06-01 22:50:31 | [Mutex] isItemNotified: received:node:e2465557-b88a-4034-acc4-b0d3f53e64e5:localhost:node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210:Node ef6eeb4f-00b0-4d9f-88bb-c9eefe612210 :: false |
createNodes | 1.355s |
2022-06-01 22:50:27 |
2022-06-01 22:50:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:27 | ------------------------------------ 2022-06-01 22:50:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</title></pubsub></data> 2022-06-01 22:50:27 | 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:50:28 | [Mutex] waiting for: [received:nodes:d148e2ba-5787-45eb-93fe-94dee75e402f:localhost] 2022-06-01 22:50:28 | [Mutex] received everything. 2022-06-01 22:50:28 | [Mutex] isItemNotified: received:node:d148e2ba-5787-45eb-93fe-94dee75e402f:localhost:node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210:Node ef6eeb4f-00b0-4d9f-88bb-c9eefe612210 :: true |
createSubnodes | 1.034s |
2022-06-01 22:50:28 |
2022-06-01 22:50:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:28 | ------------------------------------ 2022-06-01 22:50:28 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6c6c24c0-9060-4174-b95d-436b56dd3004</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6c6c24c0-9060-4174-b95d-436b56dd3004</title></pubsub></data> 2022-06-01 22:50:28 | 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:50:29 | [Mutex] waiting for: [received:nodes:32cde8a5-77b8-4586-8056-fb97abed0daf:localhost] 2022-06-01 22:50:29 | [Mutex] waiting for: [received:nodes:32cde8a5-77b8-4586-8056-fb97abed0daf:localhost] 2022-06-01 22:50:29 | [Mutex] waiting for: [received:nodes:32cde8a5-77b8-4586-8056-fb97abed0daf:localhost] 2022-06-01 22:50:29 | [Mutex] waiting for: [received:nodes:32cde8a5-77b8-4586-8056-fb97abed0daf:localhost] 2022-06-01 22:50:29 | [Mutex] waiting for: [received:nodes:32cde8a5-77b8-4586-8056-fb97abed0daf:localhost] 2022-06-01 22:50:29 | [Mutex] received everything. 2022-06-01 22:50:29 | [Mutex] isItemNotified: received:node:32cde8a5-77b8-4586-8056-fb97abed0daf:localhost:node-6c6c24c0-9060-4174-b95d-436b56dd3004:Node 6c6c24c0-9060-4174-b95d-436b56dd3004 :: true |
deleteNodes | 1.023s |
2022-06-01 22:50:35 |
2022-06-01 22:50:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:35 | ------------------------------------ 2022-06-01 22:50:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6c6c24c0-9060-4174-b95d-436b56dd3004</node></data> 2022-06-01 22:50:35 | 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:50:36 | [Mutex] waiting for: [received:nodes:3dcbd578-34b7-4910-9e75-019d186732e3:localhost] 2022-06-01 22:50:36 | [Mutex] received everything. 2022-06-01 22:50:36 | [Mutex] isItemNotified: received:node:3dcbd578-34b7-4910-9e75-019d186732e3:localhost:node-6c6c24c0-9060-4174-b95d-436b56dd3004:Node 6c6c24c0-9060-4174-b95d-436b56dd3004 :: false |
deleteSubnodes | 1.111s |
2022-06-01 22:50:34 |
2022-06-01 22:50:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:34 | ------------------------------------ 2022-06-01 22:50:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</node></data> 2022-06-01 22:50:34 | 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:50:35 | [Mutex] waiting for: [received:nodes:a45ed207-5b83-4c2c-813a-6878bfd0c82b:localhost] 2022-06-01 22:50:35 | [Mutex] waiting for: [received:nodes:a45ed207-5b83-4c2c-813a-6878bfd0c82b:localhost] 2022-06-01 22:50:35 | [Mutex] waiting for: [received:nodes:a45ed207-5b83-4c2c-813a-6878bfd0c82b:localhost] 2022-06-01 22:50:35 | [Mutex] waiting for: [received:nodes:a45ed207-5b83-4c2c-813a-6878bfd0c82b:localhost] 2022-06-01 22:50:35 | [Mutex] received everything. 2022-06-01 22:50:35 | [Mutex] isItemNotified: received:node:a45ed207-5b83-4c2c-813a-6878bfd0c82b:localhost:node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210:Node ef6eeb4f-00b0-4d9f-88bb-c9eefe612210 :: false 2022-06-01 22:50:35 | [Mutex] waiting for: [received:nodes:4a1afa73-6ab6-4e37-9b36-7f143606f8e2:localhost] 2022-06-01 22:50:35 | [Mutex] received everything. 2022-06-01 22:50:35 | [Mutex] isItemNotified: received:node:4a1afa73-6ab6-4e37-9b36-7f143606f8e2:localhost:node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210:Node ef6eeb4f-00b0-4d9f-88bb-c9eefe612210 :: false |
publishItemsToNodes | 0.196s |
2022-06-01 22:50:32 |
2022-06-01 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:32 | ------------------------------------ 2022-06-01 22:50:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</node><item-id>item-6a1d8740-a0b7-457d-a348-0d985a0e53a4</item-id><entry><test>item-6a1d8740-a0b7-457d-a348-0d985a0e53a4</test></entry></data> 2022-06-01 22:50:32 | 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-6a1d8740-a0b7-457d-a348-0d985a0e53a4</value></item-id></result> 2022-06-01 22:50:32 | [Mutex] received everything. 2022-06-01 22:50:32 | [Mutex] isItemNotified: published:item:notifieditem-6a1d8740-a0b7-457d-a348-0d985a0e53a4:admin@test-domain.com :: true |
retractItemsFromNodes | 0.260s |
2022-06-01 22:50:32 |
2022-06-01 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:32 | ------------------------------------ 2022-06-01 22:50:32 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</node><item-id>item-6a1d8740-a0b7-457d-a348-0d985a0e53a4</item-id></data> 2022-06-01 22:50:32 | 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-6a1d8740-a0b7-457d-a348-0d985a0e53a4</value></item-id></result> 2022-06-01 22:50:32 | [Mutex] received everything. 2022-06-01 22:50:32 | [Mutex] isItemNotified: retracted:item:notifieditem-6a1d8740-a0b7-457d-a348-0d985a0e53a4:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.151s |
2022-06-01 22:50:32 |
2022-06-01 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:32 | ------------------------------------ 2022-06-01 22:50:32 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</node><item-id>item-6a1d8740-a0b7-457d-a348-0d985a0e53a4</item-id></data> 2022-06-01 22:50:32 | 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-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</value></node><item-id type="text-single" label="Item ID"><value>item-6a1d8740-a0b7-457d-a348-0d985a0e53a4</value></item-id><item type="text-multi" label="Item"><value><item id="item-6a1d8740-a0b7-457d-a348-0d985a0e53a4"><test>item-6a1d8740-a0b7-457d-a348-0d985a0e53a4</test></item></value></item></result> 2022-06-01 22:50:32 | [Mutex] notify: [retrieved:item:item-6a1d8740-a0b7-457d-a348-0d985a0e53a4:payload-matches:true:localhost] 2022-06-01 22:50:32 | [Mutex] received everything. 2022-06-01 22:50:32 | [Mutex] isItemNotified: retrieved:item:item-6a1d8740-a0b7-457d-a348-0d985a0e53a4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-01 22:50:32 |
2022-06-01 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:32 | ------------------------------------ 2022-06-01 22:50:32 | 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:50:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-6c6c24c0-9060-4174-b95d-436b56dd3004</value><value>test</value><value>node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-01 22:50:32 |
2022-06-01 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:32 | ------------------------------------ 2022-06-01 22:50:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210)</node-pattern></data> 2022-06-01 22:50:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.110s |
2022-06-01 22:50:31 |
2022-06-01 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:31 | ------------------------------------ 2022-06-01 22:50:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-01 22:50:31 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.246s |
2022-06-01 22:50:32 |
2022-06-01 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-01 22:50:32 | ------------------------------------ 2022-06-01 22:50:32 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ef6eeb4f-00b0-4d9f-88bb-c9eefe612210</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-01 22:50:33 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |