Test duration : 9.444s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.106s |
2022-07-17 23:01:24 |
2022-07-17 23:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:24 | ------------------------------------ 2022-07-17 23:01:24 | [Mutex] waiting for: [configured:node:node-b963f799-0700-42e4-b00d-8083bd72cb4d:node-6273e84d-9cf9-4452-a279-2490da203d5f] 2022-07-17 23:01:24 | [Mutex] received everything. 2022-07-17 23:01:24 | [Mutex] isItemNotified: configured:node:node-b963f799-0700-42e4-b00d-8083bd72cb4d:node-6273e84d-9cf9-4452-a279-2490da203d5f :: true 2022-07-17 23:01:25 | [Mutex] waiting for: [received:nodes:8e4f676e-1d54-44ce-8b3e-cce04a888dbc:localhost] 2022-07-17 23:01:25 | [Mutex] received everything. 2022-07-17 23:01:25 | [Mutex] isItemNotified: received:node:8e4f676e-1d54-44ce-8b3e-cce04a888dbc:localhost:node-b963f799-0700-42e4-b00d-8083bd72cb4d:Node b963f799-0700-42e4-b00d-8083bd72cb4d :: true 2022-07-17 23:01:25 | [Mutex] waiting for: [received:nodes:6338d4d8-6ba1-4bc8-a328-0d553374c561:localhost] 2022-07-17 23:01:25 | [Mutex] received everything. 2022-07-17 23:01:25 | [Mutex] isItemNotified: received:node:6338d4d8-6ba1-4bc8-a328-0d553374c561:localhost:node-b963f799-0700-42e4-b00d-8083bd72cb4d:Node b963f799-0700-42e4-b00d-8083bd72cb4d :: false |
createNodes | 1.357s |
2022-07-17 23:01:22 |
2022-07-17 23:01:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:22 | ------------------------------------ 2022-07-17 23:01:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b963f799-0700-42e4-b00d-8083bd72cb4d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b963f799-0700-42e4-b00d-8083bd72cb4d</title></pubsub></data> 2022-07-17 23:01:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-17 23:01:23 | [Mutex] waiting for: [received:nodes:eee44d87-67d3-4bcb-b1ed-668657a62266:localhost] 2022-07-17 23:01:23 | [Mutex] waiting for: [received:nodes:eee44d87-67d3-4bcb-b1ed-668657a62266:localhost] 2022-07-17 23:01:23 | [Mutex] received everything. 2022-07-17 23:01:23 | [Mutex] isItemNotified: received:node:eee44d87-67d3-4bcb-b1ed-668657a62266:localhost:node-b963f799-0700-42e4-b00d-8083bd72cb4d:Node b963f799-0700-42e4-b00d-8083bd72cb4d :: true |
createSubnodes | 1.023s |
2022-07-17 23:01:23 |
2022-07-17 23:01:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:23 | ------------------------------------ 2022-07-17 23:01:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6273e84d-9cf9-4452-a279-2490da203d5f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6273e84d-9cf9-4452-a279-2490da203d5f</title></pubsub></data> 2022-07-17 23:01:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-17 23:01:24 | [Mutex] waiting for: [received:nodes:66a4c081-8987-4c7d-8166-d2e4d6d76677:localhost] 2022-07-17 23:01:24 | [Mutex] received everything. 2022-07-17 23:01:24 | [Mutex] isItemNotified: received:node:66a4c081-8987-4c7d-8166-d2e4d6d76677:localhost:node-6273e84d-9cf9-4452-a279-2490da203d5f:Node 6273e84d-9cf9-4452-a279-2490da203d5f :: true |
deleteNodes | 1.018s |
2022-07-17 23:01:30 |
2022-07-17 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:30 | ------------------------------------ 2022-07-17 23:01:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6273e84d-9cf9-4452-a279-2490da203d5f</node></data> 2022-07-17 23:01:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-17 23:01:31 | [Mutex] waiting for: [received:nodes:b8669639-71cd-45d7-8725-9587c47d5da2:localhost] 2022-07-17 23:01:31 | [Mutex] received everything. 2022-07-17 23:01:31 | [Mutex] isItemNotified: received:node:b8669639-71cd-45d7-8725-9587c47d5da2:localhost:node-6273e84d-9cf9-4452-a279-2490da203d5f:Node 6273e84d-9cf9-4452-a279-2490da203d5f :: false |
deleteSubnodes | 1.140s |
2022-07-17 23:01:28 |
2022-07-17 23:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:28 | ------------------------------------ 2022-07-17 23:01:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b963f799-0700-42e4-b00d-8083bd72cb4d</node></data> 2022-07-17 23:01:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-17 23:01:30 | [Mutex] waiting for: [received:nodes:aff8222b-b99d-4a64-9c10-5671ccf6640d:localhost] 2022-07-17 23:01:30 | [Mutex] waiting for: [received:nodes:aff8222b-b99d-4a64-9c10-5671ccf6640d:localhost] 2022-07-17 23:01:30 | [Mutex] waiting for: [received:nodes:aff8222b-b99d-4a64-9c10-5671ccf6640d:localhost] 2022-07-17 23:01:30 | [Mutex] received everything. 2022-07-17 23:01:30 | [Mutex] isItemNotified: received:node:aff8222b-b99d-4a64-9c10-5671ccf6640d:localhost:node-b963f799-0700-42e4-b00d-8083bd72cb4d:Node b963f799-0700-42e4-b00d-8083bd72cb4d :: false 2022-07-17 23:01:30 | [Mutex] waiting for: [received:nodes:47afeeaa-b56f-4f40-8cd0-8dcaaac308da:localhost] 2022-07-17 23:01:30 | [Mutex] received everything. 2022-07-17 23:01:30 | [Mutex] isItemNotified: received:node:47afeeaa-b56f-4f40-8cd0-8dcaaac308da:localhost:node-b963f799-0700-42e4-b00d-8083bd72cb4d:Node b963f799-0700-42e4-b00d-8083bd72cb4d :: false |
publishItemsToNodes | 0.226s |
2022-07-17 23:01:26 |
2022-07-17 23:01:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:26 | ------------------------------------ 2022-07-17 23:01:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b963f799-0700-42e4-b00d-8083bd72cb4d</node><item-id>item-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b</item-id><entry><test>item-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b</test></entry></data> 2022-07-17 23:01:27 | 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-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b</value></item-id></result> 2022-07-17 23:01:27 | [Mutex] received everything. 2022-07-17 23:01:27 | [Mutex] isItemNotified: published:item:notifieditem-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.255s |
2022-07-17 23:01:27 |
2022-07-17 23:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:27 | ------------------------------------ 2022-07-17 23:01:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b963f799-0700-42e4-b00d-8083bd72cb4d</node><item-id>item-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b</item-id></data> 2022-07-17 23:01:27 | 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-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b</value></item-id></result> 2022-07-17 23:01:27 | [Mutex] received everything. 2022-07-17 23:01:27 | [Mutex] isItemNotified: retracted:item:notifieditem-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.175s |
2022-07-17 23:01:27 |
2022-07-17 23:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:27 | ------------------------------------ 2022-07-17 23:01:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b963f799-0700-42e4-b00d-8083bd72cb4d</node><item-id>item-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b</item-id></data> 2022-07-17 23:01:27 | 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-b963f799-0700-42e4-b00d-8083bd72cb4d</value></node><item-id type="text-single" label="Item ID"><value>item-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b</value></item-id><item type="text-multi" label="Item"><value><item id="item-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b"><test>item-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b</test></item></value></item></result> 2022-07-17 23:01:27 | [Mutex] notify: [retrieved:item:item-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b:payload-matches:true:localhost] 2022-07-17 23:01:27 | [Mutex] received everything. 2022-07-17 23:01:27 | [Mutex] isItemNotified: retrieved:item:item-7043c1c0-be8c-424b-a3fb-1a6f5a13e44b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-07-17 23:01:27 |
2022-07-17 23:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:27 | ------------------------------------ 2022-07-17 23:01:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-17 23:01:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-6273e84d-9cf9-4452-a279-2490da203d5f</value><value>test</value><value>node-b963f799-0700-42e4-b00d-8083bd72cb4d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-17 23:01:27 |
2022-07-17 23:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:27 | ------------------------------------ 2022-07-17 23:01:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b963f799-0700-42e4-b00d-8083bd72cb4d)</node-pattern></data> 2022-07-17 23:01:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.157s |
2022-07-17 23:01:25 |
2022-07-17 23:01:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:25 | ------------------------------------ 2022-07-17 23:01:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b963f799-0700-42e4-b00d-8083bd72cb4d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-17 23:01:25 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2022-07-17 23:01:27 |
2022-07-17 23:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-17 23:01:27 | ------------------------------------ 2022-07-17 23:01:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b963f799-0700-42e4-b00d-8083bd72cb4d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-17 23:01:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |