Test duration : 9.618s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.084s |
2022-09-08 22:35:18 |
2022-09-08 22:35:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:18 | ------------------------------------ 2022-09-08 22:35:18 | [Mutex] waiting for: [configured:node:node-09b683bc-ad1c-4b83-96ac-12919ac85839:node-6f55a95a-28e9-48b4-ae8f-cc42e281b797] 2022-09-08 22:35:19 | [Mutex] received everything. 2022-09-08 22:35:19 | [Mutex] isItemNotified: configured:node:node-09b683bc-ad1c-4b83-96ac-12919ac85839:node-6f55a95a-28e9-48b4-ae8f-cc42e281b797 :: true 2022-09-08 22:35:20 | [Mutex] waiting for: [received:nodes:f201a8ac-bcc3-40b0-86bc-88a516200ecf:localhost] 2022-09-08 22:35:20 | [Mutex] received everything. 2022-09-08 22:35:20 | [Mutex] isItemNotified: received:node:f201a8ac-bcc3-40b0-86bc-88a516200ecf:localhost:node-09b683bc-ad1c-4b83-96ac-12919ac85839:Node 09b683bc-ad1c-4b83-96ac-12919ac85839 :: true 2022-09-08 22:35:20 | [Mutex] waiting for: [received:nodes:6e1a5836-21c4-48fd-882a-a5997e4b5807:localhost] 2022-09-08 22:35:20 | [Mutex] waiting for: [received:nodes:6e1a5836-21c4-48fd-882a-a5997e4b5807:localhost] 2022-09-08 22:35:20 | [Mutex] waiting for: [received:nodes:6e1a5836-21c4-48fd-882a-a5997e4b5807:localhost] 2022-09-08 22:35:20 | [Mutex] received everything. 2022-09-08 22:35:20 | [Mutex] isItemNotified: received:node:6e1a5836-21c4-48fd-882a-a5997e4b5807:localhost:node-09b683bc-ad1c-4b83-96ac-12919ac85839:Node 09b683bc-ad1c-4b83-96ac-12919ac85839 :: false |
createNodes | 1.392s |
2022-09-08 22:35:16 |
2022-09-08 22:35:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:16 | ------------------------------------ 2022-09-08 22:35:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-09b683bc-ad1c-4b83-96ac-12919ac85839</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 09b683bc-ad1c-4b83-96ac-12919ac85839</title></pubsub></data> 2022-09-08 22:35:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-08 22:35:17 | [Mutex] waiting for: [received:nodes:086c53e8-121f-4099-a455-daae3d255f5a:localhost] 2022-09-08 22:35:17 | [Mutex] waiting for: [received:nodes:086c53e8-121f-4099-a455-daae3d255f5a:localhost] 2022-09-08 22:35:17 | [Mutex] waiting for: [received:nodes:086c53e8-121f-4099-a455-daae3d255f5a:localhost] 2022-09-08 22:35:17 | [Mutex] received everything. 2022-09-08 22:35:17 | [Mutex] isItemNotified: received:node:086c53e8-121f-4099-a455-daae3d255f5a:localhost:node-09b683bc-ad1c-4b83-96ac-12919ac85839:Node 09b683bc-ad1c-4b83-96ac-12919ac85839 :: true |
createSubnodes | 1.026s |
2022-09-08 22:35:17 |
2022-09-08 22:35:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:17 | ------------------------------------ 2022-09-08 22:35:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6f55a95a-28e9-48b4-ae8f-cc42e281b797</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6f55a95a-28e9-48b4-ae8f-cc42e281b797</title></pubsub></data> 2022-09-08 22:35:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-08 22:35:18 | [Mutex] waiting for: [received:nodes:7221d9c5-653f-4501-b866-4b8ad18182a5:localhost] 2022-09-08 22:35:18 | [Mutex] received everything. 2022-09-08 22:35:18 | [Mutex] isItemNotified: received:node:7221d9c5-653f-4501-b866-4b8ad18182a5:localhost:node-6f55a95a-28e9-48b4-ae8f-cc42e281b797:Node 6f55a95a-28e9-48b4-ae8f-cc42e281b797 :: true |
deleteNodes | 1.018s |
2022-09-08 22:35:24 |
2022-09-08 22:35:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:24 | ------------------------------------ 2022-09-08 22:35:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6f55a95a-28e9-48b4-ae8f-cc42e281b797</node></data> 2022-09-08 22:35:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-08 22:35:25 | [Mutex] waiting for: [received:nodes:b53874d6-9053-4af7-8d13-ee10387d21bb:localhost] 2022-09-08 22:35:25 | [Mutex] received everything. 2022-09-08 22:35:25 | [Mutex] isItemNotified: received:node:b53874d6-9053-4af7-8d13-ee10387d21bb:localhost:node-6f55a95a-28e9-48b4-ae8f-cc42e281b797:Node 6f55a95a-28e9-48b4-ae8f-cc42e281b797 :: false |
deleteSubnodes | 1.157s |
2022-09-08 22:35:23 |
2022-09-08 22:35:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:23 | ------------------------------------ 2022-09-08 22:35:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-09b683bc-ad1c-4b83-96ac-12919ac85839</node></data> 2022-09-08 22:35:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-08 22:35:24 | [Mutex] waiting for: [received:nodes:9f6dfa7e-1db1-4b3e-bce8-c904794c81c2:localhost] 2022-09-08 22:35:24 | [Mutex] waiting for: [received:nodes:9f6dfa7e-1db1-4b3e-bce8-c904794c81c2:localhost] 2022-09-08 22:35:24 | [Mutex] waiting for: [received:nodes:9f6dfa7e-1db1-4b3e-bce8-c904794c81c2:localhost] 2022-09-08 22:35:24 | [Mutex] waiting for: [received:nodes:9f6dfa7e-1db1-4b3e-bce8-c904794c81c2:localhost] 2022-09-08 22:35:24 | [Mutex] received everything. 2022-09-08 22:35:24 | [Mutex] isItemNotified: received:node:9f6dfa7e-1db1-4b3e-bce8-c904794c81c2:localhost:node-09b683bc-ad1c-4b83-96ac-12919ac85839:Node 09b683bc-ad1c-4b83-96ac-12919ac85839 :: false 2022-09-08 22:35:24 | [Mutex] waiting for: [received:nodes:ad4116d1-434f-48bf-93a3-bf1500354c11:localhost] 2022-09-08 22:35:24 | [Mutex] received everything. 2022-09-08 22:35:24 | [Mutex] isItemNotified: received:node:ad4116d1-434f-48bf-93a3-bf1500354c11:localhost:node-09b683bc-ad1c-4b83-96ac-12919ac85839:Node 09b683bc-ad1c-4b83-96ac-12919ac85839 :: false |
publishItemsToNodes | 0.181s |
2022-09-08 22:35:21 |
2022-09-08 22:35:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:21 | ------------------------------------ 2022-09-08 22:35:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-09b683bc-ad1c-4b83-96ac-12919ac85839</node><item-id>item-4419251d-c1e5-4f42-ad1d-0d6fd395f48d</item-id><entry><test>item-4419251d-c1e5-4f42-ad1d-0d6fd395f48d</test></entry></data> 2022-09-08 22:35:21 | 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-4419251d-c1e5-4f42-ad1d-0d6fd395f48d</value></item-id></result> 2022-09-08 22:35:21 | [Mutex] waiting for: [published:item:notifieditem-4419251d-c1e5-4f42-ad1d-0d6fd395f48d:admin@test-domain.com] 2022-09-08 22:35:21 | [Mutex] received everything. 2022-09-08 22:35:21 | [Mutex] isItemNotified: published:item:notifieditem-4419251d-c1e5-4f42-ad1d-0d6fd395f48d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.265s |
2022-09-08 22:35:21 |
2022-09-08 22:35:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:21 | ------------------------------------ 2022-09-08 22:35:21 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-09b683bc-ad1c-4b83-96ac-12919ac85839</node><item-id>item-4419251d-c1e5-4f42-ad1d-0d6fd395f48d</item-id></data> 2022-09-08 22:35:22 | 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-4419251d-c1e5-4f42-ad1d-0d6fd395f48d</value></item-id></result> 2022-09-08 22:35:22 | [Mutex] received everything. 2022-09-08 22:35:22 | [Mutex] isItemNotified: retracted:item:notifieditem-4419251d-c1e5-4f42-ad1d-0d6fd395f48d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.302s |
2022-09-08 22:35:21 |
2022-09-08 22:35:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:21 | ------------------------------------ 2022-09-08 22:35:21 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-09b683bc-ad1c-4b83-96ac-12919ac85839</node><item-id>item-4419251d-c1e5-4f42-ad1d-0d6fd395f48d</item-id></data> 2022-09-08 22:35:21 | 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-09b683bc-ad1c-4b83-96ac-12919ac85839</value></node><item-id type="text-single" label="Item ID"><value>item-4419251d-c1e5-4f42-ad1d-0d6fd395f48d</value></item-id><item type="text-multi" label="Item"><value><item id="item-4419251d-c1e5-4f42-ad1d-0d6fd395f48d"><test>item-4419251d-c1e5-4f42-ad1d-0d6fd395f48d</test></item></value></item></result> 2022-09-08 22:35:21 | [Mutex] notify: [retrieved:item:item-4419251d-c1e5-4f42-ad1d-0d6fd395f48d:payload-matches:true:localhost] 2022-09-08 22:35:21 | [Mutex] received everything. 2022-09-08 22:35:21 | [Mutex] isItemNotified: retrieved:item:item-4419251d-c1e5-4f42-ad1d-0d6fd395f48d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-08 22:35:21 |
2022-09-08 22:35:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:21 | ------------------------------------ 2022-09-08 22:35:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-08 22:35:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-6f55a95a-28e9-48b4-ae8f-cc42e281b797</value><value>test</value><value>node-09b683bc-ad1c-4b83-96ac-12919ac85839</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-09-08 22:35:21 |
2022-09-08 22:35:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:21 | ------------------------------------ 2022-09-08 22:35:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-09b683bc-ad1c-4b83-96ac-12919ac85839)</node-pattern></data> 2022-09-08 22:35:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.127s |
2022-09-08 22:35:20 |
2022-09-08 22:35:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:20 | ------------------------------------ 2022-09-08 22:35:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-09b683bc-ad1c-4b83-96ac-12919ac85839</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-08 22:35:20 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.213s |
2022-09-08 22:35:22 |
2022-09-08 22:35:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-08 22:35:22 | ------------------------------------ 2022-09-08 22:35:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-09b683bc-ad1c-4b83-96ac-12919ac85839</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-08 22:35:22 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |