Test duration : 9.412s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.086s |
2023-03-29 23:01:33 |
2023-03-29 23:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:33 | ------------------------------------ 2023-03-29 23:01:33 | [Mutex] waiting for: [configured:node:node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78:node-6740be86-c92a-4e9d-9400-633e58f2f548] 2023-03-29 23:01:33 | [Mutex] received everything. 2023-03-29 23:01:33 | [Mutex] isItemNotified: configured:node:node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78:node-6740be86-c92a-4e9d-9400-633e58f2f548 :: true 2023-03-29 23:01:34 | [Mutex] waiting for: [received:nodes:8162181d-5434-4b79-be26-af1ee3806526:localhost] 2023-03-29 23:01:34 | [Mutex] received everything. 2023-03-29 23:01:34 | [Mutex] isItemNotified: received:node:8162181d-5434-4b79-be26-af1ee3806526:localhost:node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78:Node 1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78 :: true 2023-03-29 23:01:34 | [Mutex] waiting for: [received:nodes:1c48271b-32b0-4df8-b35c-132d8debefc7:localhost] 2023-03-29 23:01:34 | [Mutex] waiting for: [received:nodes:1c48271b-32b0-4df8-b35c-132d8debefc7:localhost] 2023-03-29 23:01:34 | [Mutex] waiting for: [received:nodes:1c48271b-32b0-4df8-b35c-132d8debefc7:localhost] 2023-03-29 23:01:34 | [Mutex] received everything. 2023-03-29 23:01:34 | [Mutex] isItemNotified: received:node:1c48271b-32b0-4df8-b35c-132d8debefc7:localhost:node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78:Node 1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78 :: false |
createNodes | 1.456s |
2023-03-29 23:01:30 |
2023-03-29 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:30 | ------------------------------------ 2023-03-29 23:01:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</title></pubsub></data> 2023-03-29 23:01:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 23:01:32 | [Mutex] waiting for: [received:nodes:cad4f0d3-28f5-4856-a7c5-d6b94ac2f1f4:localhost] 2023-03-29 23:01:32 | [Mutex] waiting for: [received:nodes:cad4f0d3-28f5-4856-a7c5-d6b94ac2f1f4:localhost] 2023-03-29 23:01:32 | [Mutex] waiting for: [received:nodes:cad4f0d3-28f5-4856-a7c5-d6b94ac2f1f4:localhost] 2023-03-29 23:01:32 | [Mutex] received everything. 2023-03-29 23:01:32 | [Mutex] isItemNotified: received:node:cad4f0d3-28f5-4856-a7c5-d6b94ac2f1f4:localhost:node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78:Node 1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78 :: true |
createSubnodes | 1.021s |
2023-03-29 23:01:32 |
2023-03-29 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:32 | ------------------------------------ 2023-03-29 23:01:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6740be86-c92a-4e9d-9400-633e58f2f548</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6740be86-c92a-4e9d-9400-633e58f2f548</title></pubsub></data> 2023-03-29 23:01:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 23:01:33 | [Mutex] waiting for: [received:nodes:d35411cf-3a89-4a69-9cae-1a23e91018ef:localhost] 2023-03-29 23:01:33 | [Mutex] waiting for: [received:nodes:d35411cf-3a89-4a69-9cae-1a23e91018ef:localhost] 2023-03-29 23:01:33 | [Mutex] waiting for: [received:nodes:d35411cf-3a89-4a69-9cae-1a23e91018ef:localhost] 2023-03-29 23:01:33 | [Mutex] waiting for: [received:nodes:d35411cf-3a89-4a69-9cae-1a23e91018ef:localhost] 2023-03-29 23:01:33 | [Mutex] received everything. 2023-03-29 23:01:33 | [Mutex] isItemNotified: received:node:d35411cf-3a89-4a69-9cae-1a23e91018ef:localhost:node-6740be86-c92a-4e9d-9400-633e58f2f548:Node 6740be86-c92a-4e9d-9400-633e58f2f548 :: true |
deleteNodes | 1.018s |
2023-03-29 23:01:38 |
2023-03-29 23:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:38 | ------------------------------------ 2023-03-29 23:01:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6740be86-c92a-4e9d-9400-633e58f2f548</node></data> 2023-03-29 23:01:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 23:01:39 | [Mutex] waiting for: [received:nodes:66d80c57-87ce-417b-8e33-d8b66e1d934b:localhost] 2023-03-29 23:01:39 | [Mutex] waiting for: [received:nodes:66d80c57-87ce-417b-8e33-d8b66e1d934b:localhost] 2023-03-29 23:01:39 | [Mutex] waiting for: [received:nodes:66d80c57-87ce-417b-8e33-d8b66e1d934b:localhost] 2023-03-29 23:01:39 | [Mutex] received everything. 2023-03-29 23:01:39 | [Mutex] isItemNotified: received:node:66d80c57-87ce-417b-8e33-d8b66e1d934b:localhost:node-6740be86-c92a-4e9d-9400-633e58f2f548:Node 6740be86-c92a-4e9d-9400-633e58f2f548 :: false |
deleteSubnodes | 1.122s |
2023-03-29 23:01:37 |
2023-03-29 23:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:37 | ------------------------------------ 2023-03-29 23:01:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</node></data> 2023-03-29 23:01:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-29 23:01:38 | [Mutex] waiting for: [received:nodes:946c5dfe-12d1-443c-98d8-4871feb2c477:localhost] 2023-03-29 23:01:38 | [Mutex] waiting for: [received:nodes:946c5dfe-12d1-443c-98d8-4871feb2c477:localhost] 2023-03-29 23:01:38 | [Mutex] waiting for: [received:nodes:946c5dfe-12d1-443c-98d8-4871feb2c477:localhost] 2023-03-29 23:01:38 | [Mutex] received everything. 2023-03-29 23:01:38 | [Mutex] isItemNotified: received:node:946c5dfe-12d1-443c-98d8-4871feb2c477:localhost:node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78:Node 1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78 :: false 2023-03-29 23:01:38 | [Mutex] waiting for: [received:nodes:c99d11ca-e4c6-41f9-b1bc-12b3ab5704a2:localhost] 2023-03-29 23:01:38 | [Mutex] received everything. 2023-03-29 23:01:38 | [Mutex] isItemNotified: received:node:c99d11ca-e4c6-41f9-b1bc-12b3ab5704a2:localhost:node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78:Node 1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78 :: false |
publishItemsToNodes | 0.190s |
2023-03-29 23:01:35 |
2023-03-29 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:35 | ------------------------------------ 2023-03-29 23:01:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</node><item-id>item-3cfa6f4c-10dc-4948-a29b-8da9ee38e100</item-id><entry><test>item-3cfa6f4c-10dc-4948-a29b-8da9ee38e100</test></entry></data> 2023-03-29 23:01:35 | 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-3cfa6f4c-10dc-4948-a29b-8da9ee38e100</value></item-id></result> 2023-03-29 23:01:35 | [Mutex] received everything. 2023-03-29 23:01:35 | [Mutex] isItemNotified: published:item:notifieditem-3cfa6f4c-10dc-4948-a29b-8da9ee38e100:admin@test-domain.com :: true |
retractItemsFromNodes | 0.241s |
2023-03-29 23:01:36 |
2023-03-29 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:36 | ------------------------------------ 2023-03-29 23:01:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</node><item-id>item-3cfa6f4c-10dc-4948-a29b-8da9ee38e100</item-id></data> 2023-03-29 23:01:36 | 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-3cfa6f4c-10dc-4948-a29b-8da9ee38e100</value></item-id></result> 2023-03-29 23:01:36 | [Mutex] waiting for: [retracted:item:notifieditem-3cfa6f4c-10dc-4948-a29b-8da9ee38e100:admin@test-domain.com] 2023-03-29 23:01:36 | [Mutex] received everything. 2023-03-29 23:01:36 | [Mutex] isItemNotified: retracted:item:notifieditem-3cfa6f4c-10dc-4948-a29b-8da9ee38e100:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.287s |
2023-03-29 23:01:35 |
2023-03-29 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:35 | ------------------------------------ 2023-03-29 23:01:35 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</node><item-id>item-3cfa6f4c-10dc-4948-a29b-8da9ee38e100</item-id></data> 2023-03-29 23:01:35 | 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-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</value></node><item-id label="Item ID" type="text-single"><value>item-3cfa6f4c-10dc-4948-a29b-8da9ee38e100</value></item-id><item label="Item" type="text-multi"><value><item id="item-3cfa6f4c-10dc-4948-a29b-8da9ee38e100"><test>item-3cfa6f4c-10dc-4948-a29b-8da9ee38e100</test></item></value></item></result> 2023-03-29 23:01:35 | [Mutex] notify: [retrieved:item:item-3cfa6f4c-10dc-4948-a29b-8da9ee38e100:payload-matches:true:localhost] 2023-03-29 23:01:35 | [Mutex] received everything. 2023-03-29 23:01:35 | [Mutex] isItemNotified: retrieved:item:item-3cfa6f4c-10dc-4948-a29b-8da9ee38e100:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2023-03-29 23:01:35 |
2023-03-29 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:35 | ------------------------------------ 2023-03-29 23:01:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-29 23:01:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-6740be86-c92a-4e9d-9400-633e58f2f548</value><value>test</value><value>node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-29 23:01:36 |
2023-03-29 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:36 | ------------------------------------ 2023-03-29 23:01:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78)</node-pattern></data> 2023-03-29 23:01:36 | 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-29 23:01:34 |
2023-03-29 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:34 | ------------------------------------ 2023-03-29 23:01:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-29 23:01:34 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.198s |
2023-03-29 23:01:36 |
2023-03-29 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-29 23:01:36 | ------------------------------------ 2023-03-29 23:01:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1dd7c806-50b0-4f25-b7eb-e8c59e6f0c78</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-29 23:01:36 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |