Test duration : 10.743s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.140s |
2020-11-01 21:58:55 |
2020-11-01 21:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:55 | ------------------------------------ 2020-11-01 21:58:55 | [Mutex] waiting for: [configured:node:node-d685e43c-9b9f-472c-8bd6-562e1249b1a1:node-e6a26dcf-348c-4d3a-9341-66fe82b0d277] 2020-11-01 21:58:55 | [Mutex] received everything. 2020-11-01 21:58:55 | [Mutex] isItemNotified: configured:node:node-d685e43c-9b9f-472c-8bd6-562e1249b1a1:node-e6a26dcf-348c-4d3a-9341-66fe82b0d277 :: true 2020-11-01 21:58:56 | [Mutex] waiting for: [received:nodes:b5ce3a09-a315-4aa1-8e1c-9279190f3a9b:localhost] 2020-11-01 21:58:56 | [Mutex] received everything. 2020-11-01 21:58:56 | [Mutex] isItemNotified: received:node:b5ce3a09-a315-4aa1-8e1c-9279190f3a9b:localhost:node-d685e43c-9b9f-472c-8bd6-562e1249b1a1:Node d685e43c-9b9f-472c-8bd6-562e1249b1a1 :: true 2020-11-01 21:58:56 | [Mutex] waiting for: [received:nodes:51ebd3a0-de39-49c8-8337-aa6817efa4e0:localhost] 2020-11-01 21:58:56 | [Mutex] waiting for: [received:nodes:51ebd3a0-de39-49c8-8337-aa6817efa4e0:localhost] 2020-11-01 21:58:56 | [Mutex] waiting for: [received:nodes:51ebd3a0-de39-49c8-8337-aa6817efa4e0:localhost] 2020-11-01 21:58:56 | [Mutex] waiting for: [received:nodes:51ebd3a0-de39-49c8-8337-aa6817efa4e0:localhost] 2020-11-01 21:58:56 | [Mutex] received everything. 2020-11-01 21:58:56 | [Mutex] isItemNotified: received:node:51ebd3a0-de39-49c8-8337-aa6817efa4e0:localhost:node-d685e43c-9b9f-472c-8bd6-562e1249b1a1:Node d685e43c-9b9f-472c-8bd6-562e1249b1a1 :: false |
createNodes | 1.661s |
2020-11-01 21:58:52 |
2020-11-01 21:58:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:52 | ------------------------------------ 2020-11-01 21:58:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d685e43c-9b9f-472c-8bd6-562e1249b1a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d685e43c-9b9f-472c-8bd6-562e1249b1a1</title></pubsub></data> 2020-11-01 21:58:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-01 21:58:54 | [Mutex] waiting for: [received:nodes:6ff2e7f1-66fd-4383-aec7-4186552478db:localhost] 2020-11-01 21:58:54 | [Mutex] received everything. 2020-11-01 21:58:54 | [Mutex] isItemNotified: received:node:6ff2e7f1-66fd-4383-aec7-4186552478db:localhost:node-d685e43c-9b9f-472c-8bd6-562e1249b1a1:Node d685e43c-9b9f-472c-8bd6-562e1249b1a1 :: true |
createSubnodes | 1.042s |
2020-11-01 21:58:54 |
2020-11-01 21:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:54 | ------------------------------------ 2020-11-01 21:58:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e6a26dcf-348c-4d3a-9341-66fe82b0d277</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e6a26dcf-348c-4d3a-9341-66fe82b0d277</title></pubsub></data> 2020-11-01 21:58:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-01 21:58:55 | [Mutex] waiting for: [received:nodes:65f6c985-a039-4ddf-9336-80a36445a3c1:localhost] 2020-11-01 21:58:55 | [Mutex] received everything. 2020-11-01 21:58:55 | [Mutex] isItemNotified: received:node:65f6c985-a039-4ddf-9336-80a36445a3c1:localhost:node-e6a26dcf-348c-4d3a-9341-66fe82b0d277:Node e6a26dcf-348c-4d3a-9341-66fe82b0d277 :: true |
deleteNodes | 1.020s |
2020-11-01 21:59:01 |
2020-11-01 21:59:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:59:01 | ------------------------------------ 2020-11-01 21:59:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e6a26dcf-348c-4d3a-9341-66fe82b0d277</node></data> 2020-11-01 21:59:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-01 21:59:02 | [Mutex] waiting for: [received:nodes:679c33e3-db28-46ea-87e4-ff5b18ef952f:localhost] 2020-11-01 21:59:02 | [Mutex] waiting for: [received:nodes:679c33e3-db28-46ea-87e4-ff5b18ef952f:localhost] 2020-11-01 21:59:02 | [Mutex] received everything. 2020-11-01 21:59:02 | [Mutex] isItemNotified: received:node:679c33e3-db28-46ea-87e4-ff5b18ef952f:localhost:node-e6a26dcf-348c-4d3a-9341-66fe82b0d277:Node e6a26dcf-348c-4d3a-9341-66fe82b0d277 :: false |
deleteSubnodes | 1.156s |
2020-11-01 21:59:00 |
2020-11-01 21:59:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:59:00 | ------------------------------------ 2020-11-01 21:59:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d685e43c-9b9f-472c-8bd6-562e1249b1a1</node></data> 2020-11-01 21:59:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-01 21:59:01 | [Mutex] waiting for: [received:nodes:125c9868-c7f6-4858-80b3-6b5c8a96a141:localhost] 2020-11-01 21:59:01 | [Mutex] received everything. 2020-11-01 21:59:01 | [Mutex] isItemNotified: received:node:125c9868-c7f6-4858-80b3-6b5c8a96a141:localhost:node-d685e43c-9b9f-472c-8bd6-562e1249b1a1:Node d685e43c-9b9f-472c-8bd6-562e1249b1a1 :: false 2020-11-01 21:59:01 | [Mutex] waiting for: [received:nodes:fa00fb13-a450-4bfd-97cb-12f3a6170ccb:localhost] 2020-11-01 21:59:01 | [Mutex] received everything. 2020-11-01 21:59:01 | [Mutex] isItemNotified: received:node:fa00fb13-a450-4bfd-97cb-12f3a6170ccb:localhost:node-d685e43c-9b9f-472c-8bd6-562e1249b1a1:Node d685e43c-9b9f-472c-8bd6-562e1249b1a1 :: false |
publishItemsToNodes | 0.339s |
2020-11-01 21:58:57 |
2020-11-01 21:58:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:57 | ------------------------------------ 2020-11-01 21:58:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d685e43c-9b9f-472c-8bd6-562e1249b1a1</node><item-id>item-45e4845e-8a67-42ed-9ae7-949d0cedf0da</item-id><entry><test>item-45e4845e-8a67-42ed-9ae7-949d0cedf0da</test></entry></data> 2020-11-01 21:58:58 | 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-45e4845e-8a67-42ed-9ae7-949d0cedf0da</value></item-id></result> 2020-11-01 21:58:58 | [Mutex] waiting for: [published:item:notifieditem-45e4845e-8a67-42ed-9ae7-949d0cedf0da:admin@test-domain.com] 2020-11-01 21:58:58 | [Mutex] received everything. 2020-11-01 21:58:58 | [Mutex] isItemNotified: published:item:notifieditem-45e4845e-8a67-42ed-9ae7-949d0cedf0da:admin@test-domain.com :: true |
retractItemsFromNodes | 0.348s |
2020-11-01 21:58:58 |
2020-11-01 21:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:58 | ------------------------------------ 2020-11-01 21:58:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d685e43c-9b9f-472c-8bd6-562e1249b1a1</node><item-id>item-45e4845e-8a67-42ed-9ae7-949d0cedf0da</item-id></data> 2020-11-01 21:58:58 | 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-45e4845e-8a67-42ed-9ae7-949d0cedf0da</value></item-id></result> 2020-11-01 21:58:58 | [Mutex] waiting for: [retracted:item:notifieditem-45e4845e-8a67-42ed-9ae7-949d0cedf0da:admin@test-domain.com] 2020-11-01 21:58:58 | [Mutex] received everything. 2020-11-01 21:58:58 | [Mutex] isItemNotified: retracted:item:notifieditem-45e4845e-8a67-42ed-9ae7-949d0cedf0da:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.215s |
2020-11-01 21:58:58 |
2020-11-01 21:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:58 | ------------------------------------ 2020-11-01 21:58:58 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d685e43c-9b9f-472c-8bd6-562e1249b1a1</node><item-id>item-45e4845e-8a67-42ed-9ae7-949d0cedf0da</item-id></data> 2020-11-01 21:58:58 | 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-d685e43c-9b9f-472c-8bd6-562e1249b1a1</value></node><item-id type="text-single" label="Item ID"><value>item-45e4845e-8a67-42ed-9ae7-949d0cedf0da</value></item-id><item type="text-multi" label="Item"><value><item id="item-45e4845e-8a67-42ed-9ae7-949d0cedf0da"><test>item-45e4845e-8a67-42ed-9ae7-949d0cedf0da</test></item></value></item></result> 2020-11-01 21:58:58 | [Mutex] notify: [retrieved:item:item-45e4845e-8a67-42ed-9ae7-949d0cedf0da:payload-matches:true:localhost] 2020-11-01 21:58:58 | [Mutex] received everything. 2020-11-01 21:58:58 | [Mutex] isItemNotified: retrieved:item:item-45e4845e-8a67-42ed-9ae7-949d0cedf0da:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-11-01 21:58:58 |
2020-11-01 21:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:58 | ------------------------------------ 2020-11-01 21:58:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-01 21:58:58 | 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-e6a26dcf-348c-4d3a-9341-66fe82b0d277</value><value>node-d685e43c-9b9f-472c-8bd6-562e1249b1a1</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.066s |
2020-11-01 21:58:58 |
2020-11-01 21:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:58 | ------------------------------------ 2020-11-01 21:58:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d685e43c-9b9f-472c-8bd6-562e1249b1a1)</node-pattern></data> 2020-11-01 21:58:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.145s |
2020-11-01 21:58:56 |
2020-11-01 21:58:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:56 | ------------------------------------ 2020-11-01 21:58:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d685e43c-9b9f-472c-8bd6-562e1249b1a1</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-01 21:58:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.414s |
2020-11-01 21:58:58 |
2020-11-01 21:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-01 21:58:58 | ------------------------------------ 2020-11-01 21:58:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d685e43c-9b9f-472c-8bd6-562e1249b1a1</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-01 21:58:59 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |