Test duration : 9.491s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.098s |
2022-12-30 08:25:38 |
2022-12-30 08:25:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:38 | ------------------------------------ 2022-12-30 08:25:38 | [Mutex] waiting for: [configured:node:node-eb6171b7-b9e1-456c-8236-88dc95cb9468:node-fe0ec744-d18c-43b3-8108-2f727b1e4a4b] 2022-12-30 08:25:38 | [Mutex] received everything. 2022-12-30 08:25:38 | [Mutex] isItemNotified: configured:node:node-eb6171b7-b9e1-456c-8236-88dc95cb9468:node-fe0ec744-d18c-43b3-8108-2f727b1e4a4b :: true 2022-12-30 08:25:39 | [Mutex] waiting for: [received:nodes:9c305df4-ae33-46d9-94b8-1c36db13cfef:localhost] 2022-12-30 08:25:39 | [Mutex] received everything. 2022-12-30 08:25:39 | [Mutex] isItemNotified: received:node:9c305df4-ae33-46d9-94b8-1c36db13cfef:localhost:node-eb6171b7-b9e1-456c-8236-88dc95cb9468:Node eb6171b7-b9e1-456c-8236-88dc95cb9468 :: true 2022-12-30 08:25:39 | [Mutex] waiting for: [received:nodes:5253ce06-b25e-4b3b-9ae7-9c4baa0c8b6f:localhost] 2022-12-30 08:25:39 | [Mutex] waiting for: [received:nodes:5253ce06-b25e-4b3b-9ae7-9c4baa0c8b6f:localhost] 2022-12-30 08:25:39 | [Mutex] waiting for: [received:nodes:5253ce06-b25e-4b3b-9ae7-9c4baa0c8b6f:localhost] 2022-12-30 08:25:39 | [Mutex] waiting for: [received:nodes:5253ce06-b25e-4b3b-9ae7-9c4baa0c8b6f:localhost] 2022-12-30 08:25:39 | [Mutex] received everything. 2022-12-30 08:25:39 | [Mutex] isItemNotified: received:node:5253ce06-b25e-4b3b-9ae7-9c4baa0c8b6f:localhost:node-eb6171b7-b9e1-456c-8236-88dc95cb9468:Node eb6171b7-b9e1-456c-8236-88dc95cb9468 :: false |
createNodes | 1.496s |
2022-12-30 08:25:35 |
2022-12-30 08:25:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:35 | ------------------------------------ 2022-12-30 08:25:35 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-eb6171b7-b9e1-456c-8236-88dc95cb9468</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node eb6171b7-b9e1-456c-8236-88dc95cb9468</title></pubsub></data> 2022-12-30 08:25:36 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 08:25:37 | [Mutex] waiting for: [received:nodes:a70e8f0a-e14a-4f5a-b7e8-b63700e1d18d:localhost] 2022-12-30 08:25:37 | [Mutex] waiting for: [received:nodes:a70e8f0a-e14a-4f5a-b7e8-b63700e1d18d:localhost] 2022-12-30 08:25:37 | [Mutex] waiting for: [received:nodes:a70e8f0a-e14a-4f5a-b7e8-b63700e1d18d:localhost] 2022-12-30 08:25:37 | [Mutex] received everything. 2022-12-30 08:25:37 | [Mutex] isItemNotified: received:node:a70e8f0a-e14a-4f5a-b7e8-b63700e1d18d:localhost:node-eb6171b7-b9e1-456c-8236-88dc95cb9468:Node eb6171b7-b9e1-456c-8236-88dc95cb9468 :: true |
createSubnodes | 1.024s |
2022-12-30 08:25:37 |
2022-12-30 08:25:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:37 | ------------------------------------ 2022-12-30 08:25:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fe0ec744-d18c-43b3-8108-2f727b1e4a4b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fe0ec744-d18c-43b3-8108-2f727b1e4a4b</title></pubsub></data> 2022-12-30 08:25:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 08:25:38 | [Mutex] waiting for: [received:nodes:375fee0f-c526-4f89-9da8-998b7a329dab:localhost] 2022-12-30 08:25:38 | [Mutex] waiting for: [received:nodes:375fee0f-c526-4f89-9da8-998b7a329dab:localhost] 2022-12-30 08:25:38 | [Mutex] waiting for: [received:nodes:375fee0f-c526-4f89-9da8-998b7a329dab:localhost] 2022-12-30 08:25:38 | [Mutex] received everything. 2022-12-30 08:25:38 | [Mutex] isItemNotified: received:node:375fee0f-c526-4f89-9da8-998b7a329dab:localhost:node-fe0ec744-d18c-43b3-8108-2f727b1e4a4b:Node fe0ec744-d18c-43b3-8108-2f727b1e4a4b :: true |
deleteNodes | 1.019s |
2022-12-30 08:25:43 |
2022-12-30 08:25:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:43 | ------------------------------------ 2022-12-30 08:25:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fe0ec744-d18c-43b3-8108-2f727b1e4a4b</node></data> 2022-12-30 08:25:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 08:25:44 | [Mutex] waiting for: [received:nodes:e16d840c-3842-4b1b-95e4-df2fceea86c8:localhost] 2022-12-30 08:25:44 | [Mutex] received everything. 2022-12-30 08:25:44 | [Mutex] isItemNotified: received:node:e16d840c-3842-4b1b-95e4-df2fceea86c8:localhost:node-fe0ec744-d18c-43b3-8108-2f727b1e4a4b:Node fe0ec744-d18c-43b3-8108-2f727b1e4a4b :: false |
deleteSubnodes | 1.123s |
2022-12-30 08:25:42 |
2022-12-30 08:25:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:42 | ------------------------------------ 2022-12-30 08:25:42 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-eb6171b7-b9e1-456c-8236-88dc95cb9468</node></data> 2022-12-30 08:25:42 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-30 08:25:43 | [Mutex] waiting for: [received:nodes:505a7e81-5f70-4a36-b74c-1afe82fcde3a:localhost] 2022-12-30 08:25:43 | [Mutex] waiting for: [received:nodes:505a7e81-5f70-4a36-b74c-1afe82fcde3a:localhost] 2022-12-30 08:25:43 | [Mutex] waiting for: [received:nodes:505a7e81-5f70-4a36-b74c-1afe82fcde3a:localhost] 2022-12-30 08:25:43 | [Mutex] waiting for: [received:nodes:505a7e81-5f70-4a36-b74c-1afe82fcde3a:localhost] 2022-12-30 08:25:43 | [Mutex] received everything. 2022-12-30 08:25:43 | [Mutex] isItemNotified: received:node:505a7e81-5f70-4a36-b74c-1afe82fcde3a:localhost:node-eb6171b7-b9e1-456c-8236-88dc95cb9468:Node eb6171b7-b9e1-456c-8236-88dc95cb9468 :: false 2022-12-30 08:25:43 | [Mutex] waiting for: [received:nodes:4321a700-f047-4ce1-adda-fa5b79819253:localhost] 2022-12-30 08:25:43 | [Mutex] received everything. 2022-12-30 08:25:43 | [Mutex] isItemNotified: received:node:4321a700-f047-4ce1-adda-fa5b79819253:localhost:node-eb6171b7-b9e1-456c-8236-88dc95cb9468:Node eb6171b7-b9e1-456c-8236-88dc95cb9468 :: false |
publishItemsToNodes | 0.252s |
2022-12-30 08:25:40 |
2022-12-30 08:25:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:40 | ------------------------------------ 2022-12-30 08:25:40 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-eb6171b7-b9e1-456c-8236-88dc95cb9468</node><item-id>item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60</item-id><entry><test>item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60</test></entry></data> 2022-12-30 08:25:40 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60</value></item-id></result> 2022-12-30 08:25:40 | [Mutex] waiting for: [published:item:notifieditem-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60:admin@test-domain.com] 2022-12-30 08:25:40 | [Mutex] received everything. 2022-12-30 08:25:40 | [Mutex] isItemNotified: published:item:notifieditem-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60:admin@test-domain.com :: true |
retractItemsFromNodes | 0.242s |
2022-12-30 08:25:40 |
2022-12-30 08:25:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:40 | ------------------------------------ 2022-12-30 08:25:40 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-eb6171b7-b9e1-456c-8236-88dc95cb9468</node><item-id>item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60</item-id></data> 2022-12-30 08:25:41 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60</value></item-id></result> 2022-12-30 08:25:41 | [Mutex] waiting for: [retracted:item:notifieditem-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60:admin@test-domain.com] 2022-12-30 08:25:41 | [Mutex] received everything. 2022-12-30 08:25:41 | [Mutex] isItemNotified: retracted:item:notifieditem-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.243s |
2022-12-30 08:25:40 |
2022-12-30 08:25:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:40 | ------------------------------------ 2022-12-30 08:25:40 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-eb6171b7-b9e1-456c-8236-88dc95cb9468</node><item-id>item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60</item-id></data> 2022-12-30 08:25:40 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-eb6171b7-b9e1-456c-8236-88dc95cb9468</value></node><item-id label="Item ID" type="text-single"><value>item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60</value></item-id><item label="Item" type="text-multi"><value><item id="item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60"><test>item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60</test></item></value></item></result> 2022-12-30 08:25:40 | [Mutex] notify: [retrieved:item:item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60:payload-matches:true:localhost] 2022-12-30 08:25:40 | [Mutex] received everything. 2022-12-30 08:25:40 | [Mutex] isItemNotified: retrieved:item:item-d59e3b96-4ad6-49a2-bfdc-4133e7af0f60:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-12-30 08:25:40 |
2022-12-30 08:25:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:40 | ------------------------------------ 2022-12-30 08:25:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-30 08:25:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-eb6171b7-b9e1-456c-8236-88dc95cb9468</value><value>node-fe0ec744-d18c-43b3-8108-2f727b1e4a4b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-12-30 08:25:40 |
2022-12-30 08:25:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:40 | ------------------------------------ 2022-12-30 08:25:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-eb6171b7-b9e1-456c-8236-88dc95cb9468)</node-pattern></data> 2022-12-30 08:25:40 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.113s |
2022-12-30 08:25:39 |
2022-12-30 08:25:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:39 | ------------------------------------ 2022-12-30 08:25:39 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-eb6171b7-b9e1-456c-8236-88dc95cb9468</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 08:25:39 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.181s |
2022-12-30 08:25:41 |
2022-12-30 08:25:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-30 08:25:41 | ------------------------------------ 2022-12-30 08:25:41 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-eb6171b7-b9e1-456c-8236-88dc95cb9468</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-30 08:25:41 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |