Test duration : 9.872s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.131s |
2020-11-26 21:28:33 |
2020-11-26 21:28:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:33 | ------------------------------------ 2020-11-26 21:28:33 | [Mutex] waiting for: [configured:node:node-3ec90131-2a20-4b81-90d0-e4fc5608de8f:node-89ef4829-d936-4808-8d1b-4613ab6bc7a6] 2020-11-26 21:28:33 | [Mutex] received everything. 2020-11-26 21:28:33 | [Mutex] isItemNotified: configured:node:node-3ec90131-2a20-4b81-90d0-e4fc5608de8f:node-89ef4829-d936-4808-8d1b-4613ab6bc7a6 :: true 2020-11-26 21:28:34 | [Mutex] waiting for: [received:nodes:ca9d707e-84bf-42cb-ae60-ef780d215ac4:localhost] 2020-11-26 21:28:34 | [Mutex] received everything. 2020-11-26 21:28:34 | [Mutex] isItemNotified: received:node:ca9d707e-84bf-42cb-ae60-ef780d215ac4:localhost:node-3ec90131-2a20-4b81-90d0-e4fc5608de8f:Node 3ec90131-2a20-4b81-90d0-e4fc5608de8f :: true 2020-11-26 21:28:34 | [Mutex] waiting for: [received:nodes:22e0e935-85ba-4d08-b0c3-da46281a65b4:localhost] 2020-11-26 21:28:34 | [Mutex] received everything. 2020-11-26 21:28:34 | [Mutex] isItemNotified: received:node:22e0e935-85ba-4d08-b0c3-da46281a65b4:localhost:node-3ec90131-2a20-4b81-90d0-e4fc5608de8f:Node 3ec90131-2a20-4b81-90d0-e4fc5608de8f :: false |
createNodes | 1.408s |
2020-11-26 21:28:31 |
2020-11-26 21:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:31 | ------------------------------------ 2020-11-26 21:28:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3ec90131-2a20-4b81-90d0-e4fc5608de8f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3ec90131-2a20-4b81-90d0-e4fc5608de8f</title></pubsub></data> 2020-11-26 21:28:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-26 21:28:32 | [Mutex] waiting for: [received:nodes:d21da255-5313-42a2-a1f7-cb1509cc0fa5:localhost] 2020-11-26 21:28:32 | [Mutex] received everything. 2020-11-26 21:28:32 | [Mutex] isItemNotified: received:node:d21da255-5313-42a2-a1f7-cb1509cc0fa5:localhost:node-3ec90131-2a20-4b81-90d0-e4fc5608de8f:Node 3ec90131-2a20-4b81-90d0-e4fc5608de8f :: true |
createSubnodes | 1.021s |
2020-11-26 21:28:32 |
2020-11-26 21:28:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:32 | ------------------------------------ 2020-11-26 21:28:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-89ef4829-d936-4808-8d1b-4613ab6bc7a6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 89ef4829-d936-4808-8d1b-4613ab6bc7a6</title></pubsub></data> 2020-11-26 21:28:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-26 21:28:33 | [Mutex] waiting for: [received:nodes:87a2473b-1da4-485b-a10b-b67303e7a69e:localhost] 2020-11-26 21:28:33 | [Mutex] received everything. 2020-11-26 21:28:33 | [Mutex] isItemNotified: received:node:87a2473b-1da4-485b-a10b-b67303e7a69e:localhost:node-89ef4829-d936-4808-8d1b-4613ab6bc7a6:Node 89ef4829-d936-4808-8d1b-4613ab6bc7a6 :: true |
deleteNodes | 1.021s |
2020-11-26 21:28:39 |
2020-11-26 21:28:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:39 | ------------------------------------ 2020-11-26 21:28:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-89ef4829-d936-4808-8d1b-4613ab6bc7a6</node></data> 2020-11-26 21:28:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-26 21:28:40 | [Mutex] waiting for: [received:nodes:ef6374ee-d19e-4a0d-8e67-cf049168ef26:localhost] 2020-11-26 21:28:40 | [Mutex] received everything. 2020-11-26 21:28:40 | [Mutex] isItemNotified: received:node:ef6374ee-d19e-4a0d-8e67-cf049168ef26:localhost:node-89ef4829-d936-4808-8d1b-4613ab6bc7a6:Node 89ef4829-d936-4808-8d1b-4613ab6bc7a6 :: false |
deleteSubnodes | 1.124s |
2020-11-26 21:28:38 |
2020-11-26 21:28:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:38 | ------------------------------------ 2020-11-26 21:28:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3ec90131-2a20-4b81-90d0-e4fc5608de8f</node></data> 2020-11-26 21:28:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-26 21:28:39 | [Mutex] waiting for: [received:nodes:9c23cd81-e493-4369-bc84-8a9e9e2d11e2:localhost] 2020-11-26 21:28:39 | [Mutex] waiting for: [received:nodes:9c23cd81-e493-4369-bc84-8a9e9e2d11e2:localhost] 2020-11-26 21:28:39 | [Mutex] received everything. 2020-11-26 21:28:39 | [Mutex] isItemNotified: received:node:9c23cd81-e493-4369-bc84-8a9e9e2d11e2:localhost:node-3ec90131-2a20-4b81-90d0-e4fc5608de8f:Node 3ec90131-2a20-4b81-90d0-e4fc5608de8f :: false 2020-11-26 21:28:39 | [Mutex] waiting for: [received:nodes:ae709868-06e3-4229-ad04-2baeb9114bf5:localhost] 2020-11-26 21:28:39 | [Mutex] received everything. 2020-11-26 21:28:39 | [Mutex] isItemNotified: received:node:ae709868-06e3-4229-ad04-2baeb9114bf5:localhost:node-3ec90131-2a20-4b81-90d0-e4fc5608de8f:Node 3ec90131-2a20-4b81-90d0-e4fc5608de8f :: false |
publishItemsToNodes | 0.219s |
2020-11-26 21:28:36 |
2020-11-26 21:28:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:36 | ------------------------------------ 2020-11-26 21:28:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3ec90131-2a20-4b81-90d0-e4fc5608de8f</node><item-id>item-bd71bbbf-0516-4982-a1c1-9a92efa70bec</item-id><entry><test>item-bd71bbbf-0516-4982-a1c1-9a92efa70bec</test></entry></data> 2020-11-26 21:28: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-bd71bbbf-0516-4982-a1c1-9a92efa70bec</value></item-id></result> 2020-11-26 21:28:36 | [Mutex] waiting for: [published:item:notifieditem-bd71bbbf-0516-4982-a1c1-9a92efa70bec:admin@test-domain.com] 2020-11-26 21:28:36 | [Mutex] received everything. 2020-11-26 21:28:36 | [Mutex] isItemNotified: published:item:notifieditem-bd71bbbf-0516-4982-a1c1-9a92efa70bec:admin@test-domain.com :: true |
retractItemsFromNodes | 0.252s |
2020-11-26 21:28:36 |
2020-11-26 21:28:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:36 | ------------------------------------ 2020-11-26 21:28:36 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3ec90131-2a20-4b81-90d0-e4fc5608de8f</node><item-id>item-bd71bbbf-0516-4982-a1c1-9a92efa70bec</item-id></data> 2020-11-26 21:28: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-bd71bbbf-0516-4982-a1c1-9a92efa70bec</value></item-id></result> 2020-11-26 21:28:36 | [Mutex] waiting for: [retracted:item:notifieditem-bd71bbbf-0516-4982-a1c1-9a92efa70bec:admin@test-domain.com] 2020-11-26 21:28:36 | [Mutex] received everything. 2020-11-26 21:28:36 | [Mutex] isItemNotified: retracted:item:notifieditem-bd71bbbf-0516-4982-a1c1-9a92efa70bec:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.183s |
2020-11-26 21:28:36 |
2020-11-26 21:28:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:36 | ------------------------------------ 2020-11-26 21:28:36 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3ec90131-2a20-4b81-90d0-e4fc5608de8f</node><item-id>item-bd71bbbf-0516-4982-a1c1-9a92efa70bec</item-id></data> 2020-11-26 21:28: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-3ec90131-2a20-4b81-90d0-e4fc5608de8f</value></node><item-id label="Item ID" type="text-single"><value>item-bd71bbbf-0516-4982-a1c1-9a92efa70bec</value></item-id><item label="Item" type="text-multi"><value><item id="item-bd71bbbf-0516-4982-a1c1-9a92efa70bec"><test>item-bd71bbbf-0516-4982-a1c1-9a92efa70bec</test></item></value></item></result> 2020-11-26 21:28:36 | [Mutex] notify: [retrieved:item:item-bd71bbbf-0516-4982-a1c1-9a92efa70bec:payload-matches:true:localhost] 2020-11-26 21:28:36 | [Mutex] received everything. 2020-11-26 21:28:36 | [Mutex] isItemNotified: retrieved:item:item-bd71bbbf-0516-4982-a1c1-9a92efa70bec:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2020-11-26 21:28:36 |
2020-11-26 21:28:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:36 | ------------------------------------ 2020-11-26 21:28:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-26 21:28:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-3ec90131-2a20-4b81-90d0-e4fc5608de8f</value><value>test</value><value>node-89ef4829-d936-4808-8d1b-4613ab6bc7a6</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-11-26 21:28:36 |
2020-11-26 21:28:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:36 | ------------------------------------ 2020-11-26 21:28: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-3ec90131-2a20-4b81-90d0-e4fc5608de8f)</node-pattern></data> 2020-11-26 21:28:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.150s |
2020-11-26 21:28:34 |
2020-11-26 21:28:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:34 | ------------------------------------ 2020-11-26 21:28:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3ec90131-2a20-4b81-90d0-e4fc5608de8f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-26 21:28: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.314s |
2020-11-26 21:28:36 |
2020-11-26 21:28:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:28:36 | ------------------------------------ 2020-11-26 21:28:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3ec90131-2a20-4b81-90d0-e4fc5608de8f</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-26 21:28:37 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |