Test duration : 10.083s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.117s |
2020-09-09 06:47:52 |
2020-09-09 06:47:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:52 | ------------------------------------ 2020-09-09 06:47:52 | [Mutex] waiting for: [configured:node:node-755248ac-2535-48e8-ab9a-f2bf21c7143a:node-3b53c79a-4334-49a0-89ad-ea8b6609bbfb] 2020-09-09 06:47:52 | [Mutex] received everything. 2020-09-09 06:47:52 | [Mutex] isItemNotified: configured:node:node-755248ac-2535-48e8-ab9a-f2bf21c7143a:node-3b53c79a-4334-49a0-89ad-ea8b6609bbfb :: true 2020-09-09 06:47:53 | [Mutex] waiting for: [received:nodes:ea60e095-75df-45e6-a024-1636fdfd91e0:localhost] 2020-09-09 06:47:53 | [Mutex] received everything. 2020-09-09 06:47:53 | [Mutex] isItemNotified: received:node:ea60e095-75df-45e6-a024-1636fdfd91e0:localhost:node-755248ac-2535-48e8-ab9a-f2bf21c7143a:Node 755248ac-2535-48e8-ab9a-f2bf21c7143a :: true 2020-09-09 06:47:53 | [Mutex] waiting for: [received:nodes:25fbb932-4405-48f8-8516-076080edc9d0:localhost] 2020-09-09 06:47:53 | [Mutex] received everything. 2020-09-09 06:47:53 | [Mutex] isItemNotified: received:node:25fbb932-4405-48f8-8516-076080edc9d0:localhost:node-755248ac-2535-48e8-ab9a-f2bf21c7143a:Node 755248ac-2535-48e8-ab9a-f2bf21c7143a :: false |
createNodes | 1.384s |
2020-09-09 06:47:50 |
2020-09-09 06:47:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:50 | ------------------------------------ 2020-09-09 06:47:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-755248ac-2535-48e8-ab9a-f2bf21c7143a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 755248ac-2535-48e8-ab9a-f2bf21c7143a</title></pubsub></data> 2020-09-09 06:47:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 06:47:51 | [Mutex] waiting for: [received:nodes:1ce04816-9b0b-4578-b59e-eebddaf47c1f:localhost] 2020-09-09 06:47:51 | [Mutex] received everything. 2020-09-09 06:47:51 | [Mutex] isItemNotified: received:node:1ce04816-9b0b-4578-b59e-eebddaf47c1f:localhost:node-755248ac-2535-48e8-ab9a-f2bf21c7143a:Node 755248ac-2535-48e8-ab9a-f2bf21c7143a :: true |
createSubnodes | 1.026s |
2020-09-09 06:47:51 |
2020-09-09 06:47:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:51 | ------------------------------------ 2020-09-09 06:47:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3b53c79a-4334-49a0-89ad-ea8b6609bbfb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3b53c79a-4334-49a0-89ad-ea8b6609bbfb</title></pubsub></data> 2020-09-09 06:47:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 06:47:52 | [Mutex] waiting for: [received:nodes:5931fdf8-e4aa-4b87-8b7b-add689514368:localhost] 2020-09-09 06:47:52 | [Mutex] received everything. 2020-09-09 06:47:52 | [Mutex] isItemNotified: received:node:5931fdf8-e4aa-4b87-8b7b-add689514368:localhost:node-3b53c79a-4334-49a0-89ad-ea8b6609bbfb:Node 3b53c79a-4334-49a0-89ad-ea8b6609bbfb :: true |
deleteNodes | 1.024s |
2020-09-09 06:47:58 |
2020-09-09 06:47:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:58 | ------------------------------------ 2020-09-09 06:47:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3b53c79a-4334-49a0-89ad-ea8b6609bbfb</node></data> 2020-09-09 06:47:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 06:47:59 | [Mutex] waiting for: [received:nodes:2e7c96f9-0fdf-4d19-a0ee-db30129f2ff0:localhost] 2020-09-09 06:47:59 | [Mutex] received everything. 2020-09-09 06:47:59 | [Mutex] isItemNotified: received:node:2e7c96f9-0fdf-4d19-a0ee-db30129f2ff0:localhost:node-3b53c79a-4334-49a0-89ad-ea8b6609bbfb:Node 3b53c79a-4334-49a0-89ad-ea8b6609bbfb :: false |
deleteSubnodes | 1.158s |
2020-09-09 06:47:57 |
2020-09-09 06:47:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:57 | ------------------------------------ 2020-09-09 06:47:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-755248ac-2535-48e8-ab9a-f2bf21c7143a</node></data> 2020-09-09 06:47:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-09 06:47:58 | [Mutex] waiting for: [received:nodes:dee9747d-92e6-45dc-b3b3-132bfe165a72:localhost] 2020-09-09 06:47:58 | [Mutex] received everything. 2020-09-09 06:47:58 | [Mutex] isItemNotified: received:node:dee9747d-92e6-45dc-b3b3-132bfe165a72:localhost:node-755248ac-2535-48e8-ab9a-f2bf21c7143a:Node 755248ac-2535-48e8-ab9a-f2bf21c7143a :: false 2020-09-09 06:47:58 | [Mutex] waiting for: [received:nodes:b67a1c1f-e6de-4800-98cc-47fd3b1b63db:localhost] 2020-09-09 06:47:58 | [Mutex] received everything. 2020-09-09 06:47:58 | [Mutex] isItemNotified: received:node:b67a1c1f-e6de-4800-98cc-47fd3b1b63db:localhost:node-755248ac-2535-48e8-ab9a-f2bf21c7143a:Node 755248ac-2535-48e8-ab9a-f2bf21c7143a :: false |
publishItemsToNodes | 0.323s |
2020-09-09 06:47:55 |
2020-09-09 06:47:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:55 | ------------------------------------ 2020-09-09 06:47:55 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-755248ac-2535-48e8-ab9a-f2bf21c7143a</node><item-id>item-a08c74e6-4c95-418b-807f-280f5f05b585</item-id><entry><test>item-a08c74e6-4c95-418b-807f-280f5f05b585</test></entry></data> 2020-09-09 06:47:55 | 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-a08c74e6-4c95-418b-807f-280f5f05b585</value></item-id></result> 2020-09-09 06:47:55 | [Mutex] waiting for: [published:item:notifieditem-a08c74e6-4c95-418b-807f-280f5f05b585:admin@test-domain.com] 2020-09-09 06:47:55 | [Mutex] received everything. 2020-09-09 06:47:55 | [Mutex] isItemNotified: published:item:notifieditem-a08c74e6-4c95-418b-807f-280f5f05b585:admin@test-domain.com :: true |
retractItemsFromNodes | 0.192s |
2020-09-09 06:47:55 |
2020-09-09 06:47:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:55 | ------------------------------------ 2020-09-09 06:47:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-755248ac-2535-48e8-ab9a-f2bf21c7143a</node><item-id>item-a08c74e6-4c95-418b-807f-280f5f05b585</item-id></data> 2020-09-09 06:47:55 | 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-a08c74e6-4c95-418b-807f-280f5f05b585</value></item-id></result> 2020-09-09 06:47:55 | [Mutex] received everything. 2020-09-09 06:47:55 | [Mutex] isItemNotified: retracted:item:notifieditem-a08c74e6-4c95-418b-807f-280f5f05b585:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.297s |
2020-09-09 06:47:55 |
2020-09-09 06:47:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:55 | ------------------------------------ 2020-09-09 06:47:55 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-755248ac-2535-48e8-ab9a-f2bf21c7143a</node><item-id>item-a08c74e6-4c95-418b-807f-280f5f05b585</item-id></data> 2020-09-09 06:47:55 | 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-755248ac-2535-48e8-ab9a-f2bf21c7143a</value></node><item-id label="Item ID" type="text-single"><value>item-a08c74e6-4c95-418b-807f-280f5f05b585</value></item-id><item label="Item" type="text-multi"><value><item id="item-a08c74e6-4c95-418b-807f-280f5f05b585"><test>item-a08c74e6-4c95-418b-807f-280f5f05b585</test></item></value></item></result> 2020-09-09 06:47:55 | [Mutex] notify: [retrieved:item:item-a08c74e6-4c95-418b-807f-280f5f05b585:payload-matches:true:localhost] 2020-09-09 06:47:55 | [Mutex] received everything. 2020-09-09 06:47:55 | [Mutex] isItemNotified: retrieved:item:item-a08c74e6-4c95-418b-807f-280f5f05b585:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-09-09 06:47:55 |
2020-09-09 06:47:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:55 | ------------------------------------ 2020-09-09 06:47:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-09 06:47:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-755248ac-2535-48e8-ab9a-f2bf21c7143a</value><value>test</value><value>node-3b53c79a-4334-49a0-89ad-ea8b6609bbfb</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-09-09 06:47:55 |
2020-09-09 06:47:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:55 | ------------------------------------ 2020-09-09 06:47:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-755248ac-2535-48e8-ab9a-f2bf21c7143a)</node-pattern></data> 2020-09-09 06:47:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.157s |
2020-09-09 06:47:53 |
2020-09-09 06:47:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:53 | ------------------------------------ 2020-09-09 06:47:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-755248ac-2535-48e8-ab9a-f2bf21c7143a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-09 06:47:54 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.308s |
2020-09-09 06:47:55 |
2020-09-09 06:47:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-09 06:47:55 | ------------------------------------ 2020-09-09 06:47:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-755248ac-2535-48e8-ab9a-f2bf21c7143a</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-09 06:47:56 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |