Test duration : 9.440s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2023-03-24 22:30:16 |
2023-03-24 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:16 | ------------------------------------ 2023-03-24 22:30:16 | [Mutex] waiting for: [configured:node:node-b384f92c-6406-4790-a85b-63dccf251fcc:node-73938848-fe6f-49d9-9160-2d1d6febfbec] 2023-03-24 22:30:16 | [Mutex] received everything. 2023-03-24 22:30:16 | [Mutex] isItemNotified: configured:node:node-b384f92c-6406-4790-a85b-63dccf251fcc:node-73938848-fe6f-49d9-9160-2d1d6febfbec :: true 2023-03-24 22:30:17 | [Mutex] waiting for: [received:nodes:6f197c17-2ac4-4636-9db5-648e6a948bf9:localhost] 2023-03-24 22:30:17 | [Mutex] waiting for: [received:nodes:6f197c17-2ac4-4636-9db5-648e6a948bf9:localhost] 2023-03-24 22:30:17 | [Mutex] received everything. 2023-03-24 22:30:17 | [Mutex] isItemNotified: received:node:6f197c17-2ac4-4636-9db5-648e6a948bf9:localhost:node-b384f92c-6406-4790-a85b-63dccf251fcc:Node b384f92c-6406-4790-a85b-63dccf251fcc :: true 2023-03-24 22:30:17 | [Mutex] waiting for: [received:nodes:304d4fd5-1c9e-4c24-9288-52068f5605e6:localhost] 2023-03-24 22:30:17 | [Mutex] waiting for: [received:nodes:304d4fd5-1c9e-4c24-9288-52068f5605e6:localhost] 2023-03-24 22:30:17 | [Mutex] waiting for: [received:nodes:304d4fd5-1c9e-4c24-9288-52068f5605e6:localhost] 2023-03-24 22:30:17 | [Mutex] received everything. 2023-03-24 22:30:17 | [Mutex] isItemNotified: received:node:304d4fd5-1c9e-4c24-9288-52068f5605e6:localhost:node-b384f92c-6406-4790-a85b-63dccf251fcc:Node b384f92c-6406-4790-a85b-63dccf251fcc :: false |
createNodes | 1.390s |
2023-03-24 22:30:13 |
2023-03-24 22:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:13 | ------------------------------------ 2023-03-24 22:30:13 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b384f92c-6406-4790-a85b-63dccf251fcc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b384f92c-6406-4790-a85b-63dccf251fcc</title></pubsub></data> 2023-03-24 22:30:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-24 22:30:15 | [Mutex] waiting for: [received:nodes:db7d5e76-7565-4944-846f-fd1b41ce500b:localhost] 2023-03-24 22:30:15 | [Mutex] received everything. 2023-03-24 22:30:15 | [Mutex] isItemNotified: received:node:db7d5e76-7565-4944-846f-fd1b41ce500b:localhost:node-b384f92c-6406-4790-a85b-63dccf251fcc:Node b384f92c-6406-4790-a85b-63dccf251fcc :: true |
createSubnodes | 1.033s |
2023-03-24 22:30:15 |
2023-03-24 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:15 | ------------------------------------ 2023-03-24 22:30:15 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-73938848-fe6f-49d9-9160-2d1d6febfbec</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 73938848-fe6f-49d9-9160-2d1d6febfbec</title></pubsub></data> 2023-03-24 22:30:15 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-24 22:30:16 | [Mutex] waiting for: [received:nodes:920befb7-c8a1-4f23-ab1b-02c2aad309db:localhost] 2023-03-24 22:30:16 | [Mutex] waiting for: [received:nodes:920befb7-c8a1-4f23-ab1b-02c2aad309db:localhost] 2023-03-24 22:30:16 | [Mutex] waiting for: [received:nodes:920befb7-c8a1-4f23-ab1b-02c2aad309db:localhost] 2023-03-24 22:30:16 | [Mutex] waiting for: [received:nodes:920befb7-c8a1-4f23-ab1b-02c2aad309db:localhost] 2023-03-24 22:30:16 | [Mutex] received everything. 2023-03-24 22:30:16 | [Mutex] isItemNotified: received:node:920befb7-c8a1-4f23-ab1b-02c2aad309db:localhost:node-73938848-fe6f-49d9-9160-2d1d6febfbec:Node 73938848-fe6f-49d9-9160-2d1d6febfbec :: true |
deleteNodes | 1.024s |
2023-03-24 22:30:21 |
2023-03-24 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:21 | ------------------------------------ 2023-03-24 22:30:21 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-73938848-fe6f-49d9-9160-2d1d6febfbec</node></data> 2023-03-24 22:30:21 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-24 22:30:22 | [Mutex] waiting for: [received:nodes:19d8872d-0c5a-4b2b-9322-c0d215a1a523:localhost] 2023-03-24 22:30:22 | [Mutex] received everything. 2023-03-24 22:30:22 | [Mutex] isItemNotified: received:node:19d8872d-0c5a-4b2b-9322-c0d215a1a523:localhost:node-73938848-fe6f-49d9-9160-2d1d6febfbec:Node 73938848-fe6f-49d9-9160-2d1d6febfbec :: false |
deleteSubnodes | 1.130s |
2023-03-24 22:30:20 |
2023-03-24 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:20 | ------------------------------------ 2023-03-24 22:30:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b384f92c-6406-4790-a85b-63dccf251fcc</node></data> 2023-03-24 22:30:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-24 22:30:21 | [Mutex] waiting for: [received:nodes:b2d0928b-fa73-4488-985b-e52f72324313:localhost] 2023-03-24 22:30:21 | [Mutex] waiting for: [received:nodes:b2d0928b-fa73-4488-985b-e52f72324313:localhost] 2023-03-24 22:30:21 | [Mutex] waiting for: [received:nodes:b2d0928b-fa73-4488-985b-e52f72324313:localhost] 2023-03-24 22:30:21 | [Mutex] waiting for: [received:nodes:b2d0928b-fa73-4488-985b-e52f72324313:localhost] 2023-03-24 22:30:21 | [Mutex] received everything. 2023-03-24 22:30:21 | [Mutex] isItemNotified: received:node:b2d0928b-fa73-4488-985b-e52f72324313:localhost:node-b384f92c-6406-4790-a85b-63dccf251fcc:Node b384f92c-6406-4790-a85b-63dccf251fcc :: false 2023-03-24 22:30:21 | [Mutex] waiting for: [received:nodes:7e093ffa-9b3b-48b5-8cbf-c8460127c52c:localhost] 2023-03-24 22:30:21 | [Mutex] received everything. 2023-03-24 22:30:21 | [Mutex] isItemNotified: received:node:7e093ffa-9b3b-48b5-8cbf-c8460127c52c:localhost:node-b384f92c-6406-4790-a85b-63dccf251fcc:Node b384f92c-6406-4790-a85b-63dccf251fcc :: false |
publishItemsToNodes | 0.206s |
2023-03-24 22:30:18 |
2023-03-24 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:18 | ------------------------------------ 2023-03-24 22:30:18 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b384f92c-6406-4790-a85b-63dccf251fcc</node><item-id>item-deffe045-c8df-43a8-9674-0a25e4c39ce1</item-id><entry><test>item-deffe045-c8df-43a8-9674-0a25e4c39ce1</test></entry></data> 2023-03-24 22:30:18 | 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-deffe045-c8df-43a8-9674-0a25e4c39ce1</value></item-id></result> 2023-03-24 22:30:18 | [Mutex] received everything. 2023-03-24 22:30:18 | [Mutex] isItemNotified: published:item:notifieditem-deffe045-c8df-43a8-9674-0a25e4c39ce1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.295s |
2023-03-24 22:30:18 |
2023-03-24 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:18 | ------------------------------------ 2023-03-24 22:30:18 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b384f92c-6406-4790-a85b-63dccf251fcc</node><item-id>item-deffe045-c8df-43a8-9674-0a25e4c39ce1</item-id></data> 2023-03-24 22:30:19 | 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-deffe045-c8df-43a8-9674-0a25e4c39ce1</value></item-id></result> 2023-03-24 22:30:19 | [Mutex] received everything. 2023-03-24 22:30:19 | [Mutex] isItemNotified: retracted:item:notifieditem-deffe045-c8df-43a8-9674-0a25e4c39ce1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.225s |
2023-03-24 22:30:18 |
2023-03-24 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:18 | ------------------------------------ 2023-03-24 22:30:18 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b384f92c-6406-4790-a85b-63dccf251fcc</node><item-id>item-deffe045-c8df-43a8-9674-0a25e4c39ce1</item-id></data> 2023-03-24 22:30:18 | 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-b384f92c-6406-4790-a85b-63dccf251fcc</value></node><item-id label="Item ID" type="text-single"><value>item-deffe045-c8df-43a8-9674-0a25e4c39ce1</value></item-id><item label="Item" type="text-multi"><value><item id="item-deffe045-c8df-43a8-9674-0a25e4c39ce1"><test>item-deffe045-c8df-43a8-9674-0a25e4c39ce1</test></item></value></item></result> 2023-03-24 22:30:18 | [Mutex] notify: [retrieved:item:item-deffe045-c8df-43a8-9674-0a25e4c39ce1:payload-matches:true:localhost] 2023-03-24 22:30:18 | [Mutex] received everything. 2023-03-24 22:30:18 | [Mutex] isItemNotified: retrieved:item:item-deffe045-c8df-43a8-9674-0a25e4c39ce1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-24 22:30:18 |
2023-03-24 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:18 | ------------------------------------ 2023-03-24 22:30:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-24 22:30:18 | 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-73938848-fe6f-49d9-9160-2d1d6febfbec</value><value>node-b384f92c-6406-4790-a85b-63dccf251fcc</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-03-24 22:30:18 |
2023-03-24 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:18 | ------------------------------------ 2023-03-24 22:30:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b384f92c-6406-4790-a85b-63dccf251fcc)</node-pattern></data> 2023-03-24 22:30:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.109s |
2023-03-24 22:30:17 |
2023-03-24 22:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:17 | ------------------------------------ 2023-03-24 22:30:17 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b384f92c-6406-4790-a85b-63dccf251fcc</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-24 22:30:17 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.139s |
2023-03-24 22:30:19 |
2023-03-24 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-24 22:30:19 | ------------------------------------ 2023-03-24 22:30:19 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b384f92c-6406-4790-a85b-63dccf251fcc</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-24 22:30:19 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |