Test duration : 9.262s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2023-03-15 22:29:39 |
2023-03-15 22:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:39 | ------------------------------------ 2023-03-15 22:29:39 | [Mutex] waiting for: [configured:node:node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f:node-e39f2132-e5c9-4805-9c4c-74fff42860e1] 2023-03-15 22:29:39 | [Mutex] received everything. 2023-03-15 22:29:39 | [Mutex] isItemNotified: configured:node:node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f:node-e39f2132-e5c9-4805-9c4c-74fff42860e1 :: true 2023-03-15 22:29:40 | [Mutex] waiting for: [received:nodes:b114d62a-45f7-472e-935d-a689d83bd2d6:localhost] 2023-03-15 22:29:40 | [Mutex] received everything. 2023-03-15 22:29:40 | [Mutex] isItemNotified: received:node:b114d62a-45f7-472e-935d-a689d83bd2d6:localhost:node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f:Node 723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f :: true 2023-03-15 22:29:40 | [Mutex] waiting for: [received:nodes:3f955d9b-d60c-4c37-9a1b-a92e17ea2e6f:localhost] 2023-03-15 22:29:40 | [Mutex] waiting for: [received:nodes:3f955d9b-d60c-4c37-9a1b-a92e17ea2e6f:localhost] 2023-03-15 22:29:40 | [Mutex] waiting for: [received:nodes:3f955d9b-d60c-4c37-9a1b-a92e17ea2e6f:localhost] 2023-03-15 22:29:40 | [Mutex] waiting for: [received:nodes:3f955d9b-d60c-4c37-9a1b-a92e17ea2e6f:localhost] 2023-03-15 22:29:40 | [Mutex] received everything. 2023-03-15 22:29:40 | [Mutex] isItemNotified: received:node:3f955d9b-d60c-4c37-9a1b-a92e17ea2e6f:localhost:node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f:Node 723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f :: false |
createNodes | 1.379s |
2023-03-15 22:29:37 |
2023-03-15 22:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:37 | ------------------------------------ 2023-03-15 22:29:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</title></pubsub></data> 2023-03-15 22:29:37 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-15 22:29:38 | [Mutex] waiting for: [received:nodes:a29c54e7-bd4c-45d3-8c1b-51daf65f0e32:localhost] 2023-03-15 22:29:38 | [Mutex] waiting for: [received:nodes:a29c54e7-bd4c-45d3-8c1b-51daf65f0e32:localhost] 2023-03-15 22:29:38 | [Mutex] waiting for: [received:nodes:a29c54e7-bd4c-45d3-8c1b-51daf65f0e32:localhost] 2023-03-15 22:29:38 | [Mutex] received everything. 2023-03-15 22:29:38 | [Mutex] isItemNotified: received:node:a29c54e7-bd4c-45d3-8c1b-51daf65f0e32:localhost:node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f:Node 723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f :: true |
createSubnodes | 1.023s |
2023-03-15 22:29:38 |
2023-03-15 22:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:38 | ------------------------------------ 2023-03-15 22:29:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e39f2132-e5c9-4805-9c4c-74fff42860e1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e39f2132-e5c9-4805-9c4c-74fff42860e1</title></pubsub></data> 2023-03-15 22:29:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-15 22:29:39 | [Mutex] waiting for: [received:nodes:e92029c6-6101-4552-8bd0-b41487f54f99:localhost] 2023-03-15 22:29:39 | [Mutex] waiting for: [received:nodes:e92029c6-6101-4552-8bd0-b41487f54f99:localhost] 2023-03-15 22:29:39 | [Mutex] waiting for: [received:nodes:e92029c6-6101-4552-8bd0-b41487f54f99:localhost] 2023-03-15 22:29:39 | [Mutex] received everything. 2023-03-15 22:29:39 | [Mutex] isItemNotified: received:node:e92029c6-6101-4552-8bd0-b41487f54f99:localhost:node-e39f2132-e5c9-4805-9c4c-74fff42860e1:Node e39f2132-e5c9-4805-9c4c-74fff42860e1 :: true |
deleteNodes | 1.016s |
2023-03-15 22:29:44 |
2023-03-15 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:44 | ------------------------------------ 2023-03-15 22:29:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e39f2132-e5c9-4805-9c4c-74fff42860e1</node></data> 2023-03-15 22:29:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-15 22:29:45 | [Mutex] waiting for: [received:nodes:84c20027-0774-4021-853d-ea5ece495992:localhost] 2023-03-15 22:29:45 | [Mutex] waiting for: [received:nodes:84c20027-0774-4021-853d-ea5ece495992:localhost] 2023-03-15 22:29:45 | [Mutex] waiting for: [received:nodes:84c20027-0774-4021-853d-ea5ece495992:localhost] 2023-03-15 22:29:45 | [Mutex] received everything. 2023-03-15 22:29:45 | [Mutex] isItemNotified: received:node:84c20027-0774-4021-853d-ea5ece495992:localhost:node-e39f2132-e5c9-4805-9c4c-74fff42860e1:Node e39f2132-e5c9-4805-9c4c-74fff42860e1 :: false |
deleteSubnodes | 1.123s |
2023-03-15 22:29:43 |
2023-03-15 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:43 | ------------------------------------ 2023-03-15 22:29:43 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</node></data> 2023-03-15 22:29:43 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-15 22:29:44 | [Mutex] waiting for: [received:nodes:57f78e5e-0fb3-4875-8131-1ccf6c918008:localhost] 2023-03-15 22:29:44 | [Mutex] waiting for: [received:nodes:57f78e5e-0fb3-4875-8131-1ccf6c918008:localhost] 2023-03-15 22:29:44 | [Mutex] waiting for: [received:nodes:57f78e5e-0fb3-4875-8131-1ccf6c918008:localhost] 2023-03-15 22:29:44 | [Mutex] received everything. 2023-03-15 22:29:44 | [Mutex] isItemNotified: received:node:57f78e5e-0fb3-4875-8131-1ccf6c918008:localhost:node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f:Node 723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f :: false 2023-03-15 22:29:44 | [Mutex] waiting for: [received:nodes:6b8b3e0c-d4aa-4232-9ce7-fb854a3aced5:localhost] 2023-03-15 22:29:44 | [Mutex] received everything. 2023-03-15 22:29:44 | [Mutex] isItemNotified: received:node:6b8b3e0c-d4aa-4232-9ce7-fb854a3aced5:localhost:node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f:Node 723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f :: false |
publishItemsToNodes | 0.186s |
2023-03-15 22:29:41 |
2023-03-15 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:41 | ------------------------------------ 2023-03-15 22:29:41 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</node><item-id>item-66b9a6aa-3200-4478-933f-40ce33948a89</item-id><entry><test>item-66b9a6aa-3200-4478-933f-40ce33948a89</test></entry></data> 2023-03-15 22:29:41 | 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-66b9a6aa-3200-4478-933f-40ce33948a89</value></item-id></result> 2023-03-15 22:29:41 | [Mutex] received everything. 2023-03-15 22:29:41 | [Mutex] isItemNotified: published:item:notifieditem-66b9a6aa-3200-4478-933f-40ce33948a89:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2023-03-15 22:29:42 |
2023-03-15 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:42 | ------------------------------------ 2023-03-15 22:29:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</node><item-id>item-66b9a6aa-3200-4478-933f-40ce33948a89</item-id></data> 2023-03-15 22:29:42 | 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-66b9a6aa-3200-4478-933f-40ce33948a89</value></item-id></result> 2023-03-15 22:29:42 | [Mutex] received everything. 2023-03-15 22:29:42 | [Mutex] isItemNotified: retracted:item:notifieditem-66b9a6aa-3200-4478-933f-40ce33948a89:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.162s |
2023-03-15 22:29:41 |
2023-03-15 22:29:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:41 | ------------------------------------ 2023-03-15 22:29:41 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</node><item-id>item-66b9a6aa-3200-4478-933f-40ce33948a89</item-id></data> 2023-03-15 22:29:42 | 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-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</value></node><item-id type="text-single" label="Item ID"><value>item-66b9a6aa-3200-4478-933f-40ce33948a89</value></item-id><item type="text-multi" label="Item"><value><item id="item-66b9a6aa-3200-4478-933f-40ce33948a89"><test>item-66b9a6aa-3200-4478-933f-40ce33948a89</test></item></value></item></result> 2023-03-15 22:29:42 | [Mutex] notify: [retrieved:item:item-66b9a6aa-3200-4478-933f-40ce33948a89:payload-matches:true:localhost] 2023-03-15 22:29:42 | [Mutex] received everything. 2023-03-15 22:29:42 | [Mutex] isItemNotified: retrieved:item:item-66b9a6aa-3200-4478-933f-40ce33948a89:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-03-15 22:29:42 |
2023-03-15 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:42 | ------------------------------------ 2023-03-15 22:29:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-15 22:29:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</value><value>test</value><value>node-e39f2132-e5c9-4805-9c4c-74fff42860e1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-15 22:29:42 |
2023-03-15 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:42 | ------------------------------------ 2023-03-15 22:29:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f)</node-pattern></data> 2023-03-15 22:29:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.165s |
2023-03-15 22:29:40 |
2023-03-15 22:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:40 | ------------------------------------ 2023-03-15 22:29:40 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-15 22:29:40 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2023-03-15 22:29:42 |
2023-03-15 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-15 22:29:42 | ------------------------------------ 2023-03-15 22:29:42 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-723a94a6-575a-4cb9-bf4e-0cefc9a4bc8f</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-15 22:29:42 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |