Test duration : 9.407s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2022-12-26 03:45:15 |
2022-12-26 03:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:15 | ------------------------------------ 2022-12-26 03:45:15 | [Mutex] waiting for: [configured:node:node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4:node-9e307870-5429-4902-aa0e-0c32a93866de] 2022-12-26 03:45:15 | [Mutex] received everything. 2022-12-26 03:45:15 | [Mutex] isItemNotified: configured:node:node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4:node-9e307870-5429-4902-aa0e-0c32a93866de :: true 2022-12-26 03:45:16 | [Mutex] waiting for: [received:nodes:03c70851-3a29-4ddc-92cb-d667dd296ca1:localhost] 2022-12-26 03:45:16 | [Mutex] received everything. 2022-12-26 03:45:16 | [Mutex] isItemNotified: received:node:03c70851-3a29-4ddc-92cb-d667dd296ca1:localhost:node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4:Node 0753b4c8-ac2e-4cf6-8c3e-79ede10867e4 :: true 2022-12-26 03:45:16 | [Mutex] waiting for: [received:nodes:4affbb3f-5e55-4243-bc34-02aa15173a99:localhost] 2022-12-26 03:45:16 | [Mutex] waiting for: [received:nodes:4affbb3f-5e55-4243-bc34-02aa15173a99:localhost] 2022-12-26 03:45:16 | [Mutex] waiting for: [received:nodes:4affbb3f-5e55-4243-bc34-02aa15173a99:localhost] 2022-12-26 03:45:16 | [Mutex] waiting for: [received:nodes:4affbb3f-5e55-4243-bc34-02aa15173a99:localhost] 2022-12-26 03:45:16 | [Mutex] received everything. 2022-12-26 03:45:16 | [Mutex] isItemNotified: received:node:4affbb3f-5e55-4243-bc34-02aa15173a99:localhost:node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4:Node 0753b4c8-ac2e-4cf6-8c3e-79ede10867e4 :: false |
createNodes | 1.466s |
2022-12-26 03:45:12 |
2022-12-26 03:45:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:12 | ------------------------------------ 2022-12-26 03:45:12 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</title></pubsub></data> 2022-12-26 03:45:13 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-26 03:45:14 | [Mutex] waiting for: [received:nodes:df7e403f-3fbe-4697-a7f7-ca362137e4d8:localhost] 2022-12-26 03:45:14 | [Mutex] waiting for: [received:nodes:df7e403f-3fbe-4697-a7f7-ca362137e4d8:localhost] 2022-12-26 03:45:14 | [Mutex] waiting for: [received:nodes:df7e403f-3fbe-4697-a7f7-ca362137e4d8:localhost] 2022-12-26 03:45:14 | [Mutex] waiting for: [received:nodes:df7e403f-3fbe-4697-a7f7-ca362137e4d8:localhost] 2022-12-26 03:45:14 | [Mutex] received everything. 2022-12-26 03:45:14 | [Mutex] isItemNotified: received:node:df7e403f-3fbe-4697-a7f7-ca362137e4d8:localhost:node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4:Node 0753b4c8-ac2e-4cf6-8c3e-79ede10867e4 :: true |
createSubnodes | 1.031s |
2022-12-26 03:45:14 |
2022-12-26 03:45:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:14 | ------------------------------------ 2022-12-26 03:45:14 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9e307870-5429-4902-aa0e-0c32a93866de</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9e307870-5429-4902-aa0e-0c32a93866de</title></pubsub></data> 2022-12-26 03:45:14 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-26 03:45:15 | [Mutex] waiting for: [received:nodes:3b2ecfd3-078a-4b86-ab83-753d66ac2e00:localhost] 2022-12-26 03:45:15 | [Mutex] waiting for: [received:nodes:3b2ecfd3-078a-4b86-ab83-753d66ac2e00:localhost] 2022-12-26 03:45:15 | [Mutex] waiting for: [received:nodes:3b2ecfd3-078a-4b86-ab83-753d66ac2e00:localhost] 2022-12-26 03:45:15 | [Mutex] waiting for: [received:nodes:3b2ecfd3-078a-4b86-ab83-753d66ac2e00:localhost] 2022-12-26 03:45:15 | [Mutex] waiting for: [received:nodes:3b2ecfd3-078a-4b86-ab83-753d66ac2e00:localhost] 2022-12-26 03:45:15 | [Mutex] received everything. 2022-12-26 03:45:15 | [Mutex] isItemNotified: received:node:3b2ecfd3-078a-4b86-ab83-753d66ac2e00:localhost:node-9e307870-5429-4902-aa0e-0c32a93866de:Node 9e307870-5429-4902-aa0e-0c32a93866de :: true |
deleteNodes | 1.021s |
2022-12-26 03:45:20 |
2022-12-26 03:45:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:20 | ------------------------------------ 2022-12-26 03:45:20 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9e307870-5429-4902-aa0e-0c32a93866de</node></data> 2022-12-26 03:45:20 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-26 03:45:21 | [Mutex] waiting for: [received:nodes:c0f39b18-ad8d-4e9c-a341-edb198ab9967:localhost] 2022-12-26 03:45:21 | [Mutex] waiting for: [received:nodes:c0f39b18-ad8d-4e9c-a341-edb198ab9967:localhost] 2022-12-26 03:45:21 | [Mutex] waiting for: [received:nodes:c0f39b18-ad8d-4e9c-a341-edb198ab9967:localhost] 2022-12-26 03:45:21 | [Mutex] received everything. 2022-12-26 03:45:21 | [Mutex] isItemNotified: received:node:c0f39b18-ad8d-4e9c-a341-edb198ab9967:localhost:node-9e307870-5429-4902-aa0e-0c32a93866de:Node 9e307870-5429-4902-aa0e-0c32a93866de :: false |
deleteSubnodes | 1.123s |
2022-12-26 03:45:19 |
2022-12-26 03:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:19 | ------------------------------------ 2022-12-26 03:45:19 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</node></data> 2022-12-26 03:45:19 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-26 03:45:20 | [Mutex] waiting for: [received:nodes:22238a62-23ec-4a54-bde7-7956e7042516:localhost] 2022-12-26 03:45:20 | [Mutex] waiting for: [received:nodes:22238a62-23ec-4a54-bde7-7956e7042516:localhost] 2022-12-26 03:45:20 | [Mutex] waiting for: [received:nodes:22238a62-23ec-4a54-bde7-7956e7042516:localhost] 2022-12-26 03:45:20 | [Mutex] waiting for: [received:nodes:22238a62-23ec-4a54-bde7-7956e7042516:localhost] 2022-12-26 03:45:20 | [Mutex] received everything. 2022-12-26 03:45:20 | [Mutex] isItemNotified: received:node:22238a62-23ec-4a54-bde7-7956e7042516:localhost:node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4:Node 0753b4c8-ac2e-4cf6-8c3e-79ede10867e4 :: false 2022-12-26 03:45:20 | [Mutex] waiting for: [received:nodes:58f0cb31-e137-4088-a20b-4c121e6da757:localhost] 2022-12-26 03:45:20 | [Mutex] received everything. 2022-12-26 03:45:20 | [Mutex] isItemNotified: received:node:58f0cb31-e137-4088-a20b-4c121e6da757:localhost:node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4:Node 0753b4c8-ac2e-4cf6-8c3e-79ede10867e4 :: false |
publishItemsToNodes | 0.184s |
2022-12-26 03:45:17 |
2022-12-26 03:45:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:17 | ------------------------------------ 2022-12-26 03:45:17 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</node><item-id>item-666cec63-c348-49a6-b752-cbf3aeb01305</item-id><entry><test>item-666cec63-c348-49a6-b752-cbf3aeb01305</test></entry></data> 2022-12-26 03:45:17 | 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-666cec63-c348-49a6-b752-cbf3aeb01305</value></item-id></result> 2022-12-26 03:45:17 | [Mutex] waiting for: [published:item:notifieditem-666cec63-c348-49a6-b752-cbf3aeb01305:admin@test-domain.com] 2022-12-26 03:45:17 | [Mutex] received everything. 2022-12-26 03:45:17 | [Mutex] isItemNotified: published:item:notifieditem-666cec63-c348-49a6-b752-cbf3aeb01305:admin@test-domain.com :: true |
retractItemsFromNodes | 0.239s |
2022-12-26 03:45:17 |
2022-12-26 03:45:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:17 | ------------------------------------ 2022-12-26 03:45:17 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</node><item-id>item-666cec63-c348-49a6-b752-cbf3aeb01305</item-id></data> 2022-12-26 03:45:18 | 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-666cec63-c348-49a6-b752-cbf3aeb01305</value></item-id></result> 2022-12-26 03:45:18 | [Mutex] received everything. 2022-12-26 03:45:18 | [Mutex] isItemNotified: retracted:item:notifieditem-666cec63-c348-49a6-b752-cbf3aeb01305:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.235s |
2022-12-26 03:45:17 |
2022-12-26 03:45:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:17 | ------------------------------------ 2022-12-26 03:45:17 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</node><item-id>item-666cec63-c348-49a6-b752-cbf3aeb01305</item-id></data> 2022-12-26 03:45:17 | 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-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</value></node><item-id type="text-single" label="Item ID"><value>item-666cec63-c348-49a6-b752-cbf3aeb01305</value></item-id><item type="text-multi" label="Item"><value><item id="item-666cec63-c348-49a6-b752-cbf3aeb01305"><test>item-666cec63-c348-49a6-b752-cbf3aeb01305</test></item></value></item></result> 2022-12-26 03:45:17 | [Mutex] notify: [retrieved:item:item-666cec63-c348-49a6-b752-cbf3aeb01305:payload-matches:true:localhost] 2022-12-26 03:45:17 | [Mutex] received everything. 2022-12-26 03:45:17 | [Mutex] isItemNotified: retrieved:item:item-666cec63-c348-49a6-b752-cbf3aeb01305:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-26 03:45:17 |
2022-12-26 03:45:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:17 | ------------------------------------ 2022-12-26 03:45:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-26 03:45:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-9e307870-5429-4902-aa0e-0c32a93866de</value><value>node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-12-26 03:45:17 |
2022-12-26 03:45:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:17 | ------------------------------------ 2022-12-26 03:45:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4)</node-pattern></data> 2022-12-26 03:45:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.114s |
2022-12-26 03:45:16 |
2022-12-26 03:45:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:16 | ------------------------------------ 2022-12-26 03:45:16 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-26 03:45:16 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.163s |
2022-12-26 03:45:18 |
2022-12-26 03:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-26 03:45:18 | ------------------------------------ 2022-12-26 03:45:18 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0753b4c8-ac2e-4cf6-8c3e-79ede10867e4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-26 03:45:18 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |