Test duration : 9.484s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.155s |
2023-03-17 22:44:02 |
2023-03-17 22:44:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:02 | ------------------------------------ 2023-03-17 22:44:02 | [Mutex] waiting for: [configured:node:node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c:node-c1bb1dff-25f1-409a-baf9-a0320850f73f] 2023-03-17 22:44:02 | [Mutex] received everything. 2023-03-17 22:44:02 | [Mutex] isItemNotified: configured:node:node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c:node-c1bb1dff-25f1-409a-baf9-a0320850f73f :: true 2023-03-17 22:44:03 | [Mutex] waiting for: [received:nodes:acdda722-1fdc-48ce-a317-9832c95e8fbc:localhost] 2023-03-17 22:44:03 | [Mutex] received everything. 2023-03-17 22:44:03 | [Mutex] isItemNotified: received:node:acdda722-1fdc-48ce-a317-9832c95e8fbc:localhost:node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c:Node 1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c :: true 2023-03-17 22:44:03 | [Mutex] waiting for: [received:nodes:4ebcc4a1-d299-4c94-9aa5-5488cb4ab579:localhost] 2023-03-17 22:44:03 | [Mutex] waiting for: [received:nodes:4ebcc4a1-d299-4c94-9aa5-5488cb4ab579:localhost] 2023-03-17 22:44:03 | [Mutex] waiting for: [received:nodes:4ebcc4a1-d299-4c94-9aa5-5488cb4ab579:localhost] 2023-03-17 22:44:03 | [Mutex] waiting for: [received:nodes:4ebcc4a1-d299-4c94-9aa5-5488cb4ab579:localhost] 2023-03-17 22:44:03 | [Mutex] received everything. 2023-03-17 22:44:03 | [Mutex] isItemNotified: received:node:4ebcc4a1-d299-4c94-9aa5-5488cb4ab579:localhost:node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c:Node 1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c :: false |
createNodes | 1.453s |
2023-03-17 22:43:59 |
2023-03-17 22:43:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:43:59 | ------------------------------------ 2023-03-17 22:43:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</title></pubsub></data> 2023-03-17 22:44:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-17 22:44:01 | [Mutex] waiting for: [received:nodes:80fde3a8-f20d-410a-add2-16046ed2a311:localhost] 2023-03-17 22:44:01 | [Mutex] received everything. 2023-03-17 22:44:01 | [Mutex] isItemNotified: received:node:80fde3a8-f20d-410a-add2-16046ed2a311:localhost:node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c:Node 1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c :: true |
createSubnodes | 1.029s |
2023-03-17 22:44:01 |
2023-03-17 22:44:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:01 | ------------------------------------ 2023-03-17 22:44:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c1bb1dff-25f1-409a-baf9-a0320850f73f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c1bb1dff-25f1-409a-baf9-a0320850f73f</title></pubsub></data> 2023-03-17 22:44:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-17 22:44:02 | [Mutex] waiting for: [received:nodes:831cc22b-0804-4424-ab1a-d3481b4a893a:localhost] 2023-03-17 22:44:02 | [Mutex] waiting for: [received:nodes:831cc22b-0804-4424-ab1a-d3481b4a893a:localhost] 2023-03-17 22:44:02 | [Mutex] waiting for: [received:nodes:831cc22b-0804-4424-ab1a-d3481b4a893a:localhost] 2023-03-17 22:44:02 | [Mutex] waiting for: [received:nodes:831cc22b-0804-4424-ab1a-d3481b4a893a:localhost] 2023-03-17 22:44:02 | [Mutex] waiting for: [received:nodes:831cc22b-0804-4424-ab1a-d3481b4a893a:localhost] 2023-03-17 22:44:02 | [Mutex] received everything. 2023-03-17 22:44:02 | [Mutex] isItemNotified: received:node:831cc22b-0804-4424-ab1a-d3481b4a893a:localhost:node-c1bb1dff-25f1-409a-baf9-a0320850f73f:Node c1bb1dff-25f1-409a-baf9-a0320850f73f :: true |
deleteNodes | 1.022s |
2023-03-17 22:44:07 |
2023-03-17 22:44:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:07 | ------------------------------------ 2023-03-17 22:44:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c1bb1dff-25f1-409a-baf9-a0320850f73f</node></data> 2023-03-17 22:44:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-17 22:44:08 | [Mutex] waiting for: [received:nodes:71e4b8d5-4148-4542-92e9-58802c70a350:localhost] 2023-03-17 22:44:08 | [Mutex] waiting for: [received:nodes:71e4b8d5-4148-4542-92e9-58802c70a350:localhost] 2023-03-17 22:44:08 | [Mutex] received everything. 2023-03-17 22:44:08 | [Mutex] isItemNotified: received:node:71e4b8d5-4148-4542-92e9-58802c70a350:localhost:node-c1bb1dff-25f1-409a-baf9-a0320850f73f:Node c1bb1dff-25f1-409a-baf9-a0320850f73f :: false |
deleteSubnodes | 1.149s |
2023-03-17 22:44:06 |
2023-03-17 22:44:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:06 | ------------------------------------ 2023-03-17 22:44:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</node></data> 2023-03-17 22:44:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-03-17 22:44:07 | [Mutex] waiting for: [received:nodes:511f5a45-c771-483b-80d6-d22580e561cf:localhost] 2023-03-17 22:44:07 | [Mutex] waiting for: [received:nodes:511f5a45-c771-483b-80d6-d22580e561cf:localhost] 2023-03-17 22:44:07 | [Mutex] waiting for: [received:nodes:511f5a45-c771-483b-80d6-d22580e561cf:localhost] 2023-03-17 22:44:07 | [Mutex] waiting for: [received:nodes:511f5a45-c771-483b-80d6-d22580e561cf:localhost] 2023-03-17 22:44:07 | [Mutex] received everything. 2023-03-17 22:44:07 | [Mutex] isItemNotified: received:node:511f5a45-c771-483b-80d6-d22580e561cf:localhost:node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c:Node 1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c :: false 2023-03-17 22:44:07 | [Mutex] waiting for: [received:nodes:dfb455cc-a54c-41a7-926b-83d9756000eb:localhost] 2023-03-17 22:44:07 | [Mutex] received everything. 2023-03-17 22:44:07 | [Mutex] isItemNotified: received:node:dfb455cc-a54c-41a7-926b-83d9756000eb:localhost:node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c:Node 1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c :: false |
publishItemsToNodes | 0.201s |
2023-03-17 22:44:04 |
2023-03-17 22:44:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:04 | ------------------------------------ 2023-03-17 22:44:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</node><item-id>item-08a827f0-3aaf-4b96-930f-fa7e6f419350</item-id><entry><test>item-08a827f0-3aaf-4b96-930f-fa7e6f419350</test></entry></data> 2023-03-17 22:44:04 | 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-08a827f0-3aaf-4b96-930f-fa7e6f419350</value></item-id></result> 2023-03-17 22:44:04 | [Mutex] waiting for: [published:item:notifieditem-08a827f0-3aaf-4b96-930f-fa7e6f419350:admin@test-domain.com] 2023-03-17 22:44:04 | [Mutex] received everything. 2023-03-17 22:44:04 | [Mutex] isItemNotified: published:item:notifieditem-08a827f0-3aaf-4b96-930f-fa7e6f419350:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2023-03-17 22:44:05 |
2023-03-17 22:44:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:05 | ------------------------------------ 2023-03-17 22:44:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</node><item-id>item-08a827f0-3aaf-4b96-930f-fa7e6f419350</item-id></data> 2023-03-17 22:44:05 | 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-08a827f0-3aaf-4b96-930f-fa7e6f419350</value></item-id></result> 2023-03-17 22:44:05 | [Mutex] received everything. 2023-03-17 22:44:05 | [Mutex] isItemNotified: retracted:item:notifieditem-08a827f0-3aaf-4b96-930f-fa7e6f419350:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.246s |
2023-03-17 22:44:04 |
2023-03-17 22:44:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:04 | ------------------------------------ 2023-03-17 22:44:04 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</node><item-id>item-08a827f0-3aaf-4b96-930f-fa7e6f419350</item-id></data> 2023-03-17 22:44:05 | 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-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</value></node><item-id type="text-single" label="Item ID"><value>item-08a827f0-3aaf-4b96-930f-fa7e6f419350</value></item-id><item type="text-multi" label="Item"><value><item id="item-08a827f0-3aaf-4b96-930f-fa7e6f419350"><test>item-08a827f0-3aaf-4b96-930f-fa7e6f419350</test></item></value></item></result> 2023-03-17 22:44:05 | [Mutex] notify: [retrieved:item:item-08a827f0-3aaf-4b96-930f-fa7e6f419350:payload-matches:true:localhost] 2023-03-17 22:44:05 | [Mutex] received everything. 2023-03-17 22:44:05 | [Mutex] isItemNotified: retrieved:item:item-08a827f0-3aaf-4b96-930f-fa7e6f419350:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2023-03-17 22:44:05 |
2023-03-17 22:44:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:05 | ------------------------------------ 2023-03-17 22:44:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-03-17 22:44:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-c1bb1dff-25f1-409a-baf9-a0320850f73f</value><value>test</value><value>node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-03-17 22:44:05 |
2023-03-17 22:44:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:05 | ------------------------------------ 2023-03-17 22:44:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c)</node-pattern></data> 2023-03-17 22:44:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.114s |
2023-03-17 22:44:03 |
2023-03-17 22:44:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:03 | ------------------------------------ 2023-03-17 22:44:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-17 22:44:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.143s |
2023-03-17 22:44:05 |
2023-03-17 22:44:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-03-17 22:44:05 | ------------------------------------ 2023-03-17 22:44:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-1f4a0f64-1f11-4c8d-9f5e-bd447f6c0b1c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-03-17 22:44:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |