Test duration : 9.603s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2022-03-27 23:01:33 |
2022-03-27 23:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:33 | ------------------------------------ 2022-03-27 23:01:33 | [Mutex] waiting for: [configured:node:node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d:node-d436142e-151b-4008-8066-0ed893e62323] 2022-03-27 23:01:34 | [Mutex] received everything. 2022-03-27 23:01:34 | [Mutex] isItemNotified: configured:node:node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d:node-d436142e-151b-4008-8066-0ed893e62323 :: true 2022-03-27 23:01:35 | [Mutex] waiting for: [received:nodes:86e0f107-58a1-4c13-8c40-dc969ef853d1:localhost] 2022-03-27 23:01:35 | [Mutex] received everything. 2022-03-27 23:01:35 | [Mutex] isItemNotified: received:node:86e0f107-58a1-4c13-8c40-dc969ef853d1:localhost:node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d:Node a53e0683-b0fe-40a0-b1e2-dc54e77d454d :: true 2022-03-27 23:01:35 | [Mutex] waiting for: [received:nodes:4062a6b6-afec-4d23-8e8d-463d6f4653ac:localhost] 2022-03-27 23:01:35 | [Mutex] received everything. 2022-03-27 23:01:35 | [Mutex] isItemNotified: received:node:4062a6b6-afec-4d23-8e8d-463d6f4653ac:localhost:node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d:Node a53e0683-b0fe-40a0-b1e2-dc54e77d454d :: false |
createNodes | 1.539s |
2022-03-27 23:01:31 |
2022-03-27 23:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:31 | ------------------------------------ 2022-03-27 23:01:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a53e0683-b0fe-40a0-b1e2-dc54e77d454d</title></pubsub></data> 2022-03-27 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> 2022-03-27 23:01:32 | [Mutex] waiting for: [received:nodes:c5271961-0041-404d-a3af-55cd45a4a8db:localhost] 2022-03-27 23:01:32 | [Mutex] waiting for: [received:nodes:c5271961-0041-404d-a3af-55cd45a4a8db:localhost] 2022-03-27 23:01:32 | [Mutex] received everything. 2022-03-27 23:01:32 | [Mutex] isItemNotified: received:node:c5271961-0041-404d-a3af-55cd45a4a8db:localhost:node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d:Node a53e0683-b0fe-40a0-b1e2-dc54e77d454d :: true |
createSubnodes | 1.027s |
2022-03-27 23:01:32 |
2022-03-27 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:32 | ------------------------------------ 2022-03-27 23:01:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d436142e-151b-4008-8066-0ed893e62323</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d436142e-151b-4008-8066-0ed893e62323</title></pubsub></data> 2022-03-27 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> 2022-03-27 23:01:33 | [Mutex] waiting for: [received:nodes:29e4529a-3624-4581-b9f3-1358b4d91548:localhost] 2022-03-27 23:01:33 | [Mutex] received everything. 2022-03-27 23:01:33 | [Mutex] isItemNotified: received:node:29e4529a-3624-4581-b9f3-1358b4d91548:localhost:node-d436142e-151b-4008-8066-0ed893e62323:Node d436142e-151b-4008-8066-0ed893e62323 :: true |
deleteNodes | 1.018s |
2022-03-27 23:01:39 |
2022-03-27 23:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:39 | ------------------------------------ 2022-03-27 23:01:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d436142e-151b-4008-8066-0ed893e62323</node></data> 2022-03-27 23:01:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-03-27 23:01:40 | [Mutex] waiting for: [received:nodes:d7113d91-3b7f-4763-8ded-78fee90f302f:localhost] 2022-03-27 23:01:40 | [Mutex] waiting for: [received:nodes:d7113d91-3b7f-4763-8ded-78fee90f302f:localhost] 2022-03-27 23:01:40 | [Mutex] received everything. 2022-03-27 23:01:40 | [Mutex] isItemNotified: received:node:d7113d91-3b7f-4763-8ded-78fee90f302f:localhost:node-d436142e-151b-4008-8066-0ed893e62323:Node d436142e-151b-4008-8066-0ed893e62323 :: false |
deleteSubnodes | 1.119s |
2022-03-27 23:01:38 |
2022-03-27 23:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:38 | ------------------------------------ 2022-03-27 23:01:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d</node></data> 2022-03-27 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> 2022-03-27 23:01:39 | [Mutex] waiting for: [received:nodes:8925307c-9f38-4359-803a-89052ad1af65:localhost] 2022-03-27 23:01:39 | [Mutex] received everything. 2022-03-27 23:01:39 | [Mutex] isItemNotified: received:node:8925307c-9f38-4359-803a-89052ad1af65:localhost:node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d:Node a53e0683-b0fe-40a0-b1e2-dc54e77d454d :: false 2022-03-27 23:01:39 | [Mutex] waiting for: [received:nodes:2215dd43-8695-47ba-ab05-9c195423c893:localhost] 2022-03-27 23:01:39 | [Mutex] received everything. 2022-03-27 23:01:39 | [Mutex] isItemNotified: received:node:2215dd43-8695-47ba-ab05-9c195423c893:localhost:node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d:Node a53e0683-b0fe-40a0-b1e2-dc54e77d454d :: false |
publishItemsToNodes | 0.196s |
2022-03-27 23:01:36 |
2022-03-27 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:36 | ------------------------------------ 2022-03-27 23:01:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d</node><item-id>item-e86aa068-5e8d-4766-b086-e9ca6bcc0d50</item-id><entry><test>item-e86aa068-5e8d-4766-b086-e9ca6bcc0d50</test></entry></data> 2022-03-27 23:01:36 | 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-e86aa068-5e8d-4766-b086-e9ca6bcc0d50</value></item-id></result> 2022-03-27 23:01:36 | [Mutex] waiting for: [published:item:notifieditem-e86aa068-5e8d-4766-b086-e9ca6bcc0d50:admin@test-domain.com] 2022-03-27 23:01:36 | [Mutex] received everything. 2022-03-27 23:01:36 | [Mutex] isItemNotified: published:item:notifieditem-e86aa068-5e8d-4766-b086-e9ca6bcc0d50:admin@test-domain.com :: true |
retractItemsFromNodes | 0.352s |
2022-03-27 23:01:36 |
2022-03-27 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:36 | ------------------------------------ 2022-03-27 23:01:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d</node><item-id>item-e86aa068-5e8d-4766-b086-e9ca6bcc0d50</item-id></data> 2022-03-27 23:01:37 | 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-e86aa068-5e8d-4766-b086-e9ca6bcc0d50</value></item-id></result> 2022-03-27 23:01:37 | [Mutex] received everything. 2022-03-27 23:01:37 | [Mutex] isItemNotified: retracted:item:notifieditem-e86aa068-5e8d-4766-b086-e9ca6bcc0d50:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.196s |
2022-03-27 23:01:36 |
2022-03-27 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:36 | ------------------------------------ 2022-03-27 23:01:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d</node><item-id>item-e86aa068-5e8d-4766-b086-e9ca6bcc0d50</item-id></data> 2022-03-27 23:01:36 | 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-a53e0683-b0fe-40a0-b1e2-dc54e77d454d</value></node><item-id label="Item ID" type="text-single"><value>item-e86aa068-5e8d-4766-b086-e9ca6bcc0d50</value></item-id><item label="Item" type="text-multi"><value><item id="item-e86aa068-5e8d-4766-b086-e9ca6bcc0d50"><test>item-e86aa068-5e8d-4766-b086-e9ca6bcc0d50</test></item></value></item></result> 2022-03-27 23:01:36 | [Mutex] notify: [retrieved:item:item-e86aa068-5e8d-4766-b086-e9ca6bcc0d50:payload-matches:true:localhost] 2022-03-27 23:01:36 | [Mutex] received everything. 2022-03-27 23:01:36 | [Mutex] isItemNotified: retrieved:item:item-e86aa068-5e8d-4766-b086-e9ca6bcc0d50:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-03-27 23:01:36 |
2022-03-27 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:36 | ------------------------------------ 2022-03-27 23:01:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-03-27 23:01:36 | 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-d436142e-151b-4008-8066-0ed893e62323</value><value>node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-03-27 23:01:36 |
2022-03-27 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:36 | ------------------------------------ 2022-03-27 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-a53e0683-b0fe-40a0-b1e2-dc54e77d454d)</node-pattern></data> 2022-03-27 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.119s |
2022-03-27 23:01:35 |
2022-03-27 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:35 | ------------------------------------ 2022-03-27 23:01:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-27 23:01:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.174s |
2022-03-27 23:01:37 |
2022-03-27 23:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-03-27 23:01:37 | ------------------------------------ 2022-03-27 23:01:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a53e0683-b0fe-40a0-b1e2-dc54e77d454d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-03-27 23:01:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |