Test duration : 10.024s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2020-08-28 00:00:10 |
2020-08-28 00:00:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:10 | ------------------------------------ 2020-08-28 00:00:10 | [Mutex] waiting for: [configured:node:node-45985386-b9f9-4da9-b2e1-e070b27d59e8:node-e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d] 2020-08-28 00:00:10 | [Mutex] received everything. 2020-08-28 00:00:10 | [Mutex] isItemNotified: configured:node:node-45985386-b9f9-4da9-b2e1-e070b27d59e8:node-e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d :: true 2020-08-28 00:00:11 | [Mutex] waiting for: [received:nodes:3fc61453-04b1-4671-9f9f-577015f13422:localhost] 2020-08-28 00:00:11 | [Mutex] received everything. 2020-08-28 00:00:11 | [Mutex] isItemNotified: received:node:3fc61453-04b1-4671-9f9f-577015f13422:localhost:node-45985386-b9f9-4da9-b2e1-e070b27d59e8:Node 45985386-b9f9-4da9-b2e1-e070b27d59e8 :: true 2020-08-28 00:00:11 | [Mutex] waiting for: [received:nodes:0aa9e49c-9dc4-4712-a5ae-b94d55ba8c32:localhost] 2020-08-28 00:00:11 | [Mutex] received everything. 2020-08-28 00:00:11 | [Mutex] isItemNotified: received:node:0aa9e49c-9dc4-4712-a5ae-b94d55ba8c32:localhost:node-45985386-b9f9-4da9-b2e1-e070b27d59e8:Node 45985386-b9f9-4da9-b2e1-e070b27d59e8 :: false |
createNodes | 1.555s |
2020-08-28 00:00:07 |
2020-08-28 00:00:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:07 | ------------------------------------ 2020-08-28 00:00:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-45985386-b9f9-4da9-b2e1-e070b27d59e8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 45985386-b9f9-4da9-b2e1-e070b27d59e8</title></pubsub></data> 2020-08-28 00:00:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 00:00:09 | [Mutex] waiting for: [received:nodes:4d9f7c5b-4ed1-4c2c-9898-260f7318feba:localhost] 2020-08-28 00:00:09 | [Mutex] received everything. 2020-08-28 00:00:09 | [Mutex] isItemNotified: received:node:4d9f7c5b-4ed1-4c2c-9898-260f7318feba:localhost:node-45985386-b9f9-4da9-b2e1-e070b27d59e8:Node 45985386-b9f9-4da9-b2e1-e070b27d59e8 :: true |
createSubnodes | 1.050s |
2020-08-28 00:00:09 |
2020-08-28 00:00:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:09 | ------------------------------------ 2020-08-28 00:00:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d</title></pubsub></data> 2020-08-28 00:00:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 00:00:10 | [Mutex] waiting for: [received:nodes:0dd44f98-1792-4e9c-bc62-85289df74c2a:localhost] 2020-08-28 00:00:10 | [Mutex] received everything. 2020-08-28 00:00:10 | [Mutex] isItemNotified: received:node:0dd44f98-1792-4e9c-bc62-85289df74c2a:localhost:node-e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d:Node e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d :: true |
deleteNodes | 1.024s |
2020-08-28 00:00:15 |
2020-08-28 00:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:15 | ------------------------------------ 2020-08-28 00:00:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d</node></data> 2020-08-28 00:00:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 00:00:16 | [Mutex] waiting for: [received:nodes:967a8d04-193a-4f8f-9db1-c36d5acd3599:localhost] 2020-08-28 00:00:16 | [Mutex] received everything. 2020-08-28 00:00:16 | [Mutex] isItemNotified: received:node:967a8d04-193a-4f8f-9db1-c36d5acd3599:localhost:node-e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d:Node e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d :: false |
deleteSubnodes | 1.108s |
2020-08-28 00:00:14 |
2020-08-28 00:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:14 | ------------------------------------ 2020-08-28 00:00:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-45985386-b9f9-4da9-b2e1-e070b27d59e8</node></data> 2020-08-28 00:00:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-08-28 00:00:15 | [Mutex] waiting for: [received:nodes:4636578a-9860-4e52-8d18-0b2f978b75b0:localhost] 2020-08-28 00:00:15 | [Mutex] waiting for: [received:nodes:4636578a-9860-4e52-8d18-0b2f978b75b0:localhost] 2020-08-28 00:00:15 | [Mutex] waiting for: [received:nodes:4636578a-9860-4e52-8d18-0b2f978b75b0:localhost] 2020-08-28 00:00:15 | [Mutex] received everything. 2020-08-28 00:00:15 | [Mutex] isItemNotified: received:node:4636578a-9860-4e52-8d18-0b2f978b75b0:localhost:node-45985386-b9f9-4da9-b2e1-e070b27d59e8:Node 45985386-b9f9-4da9-b2e1-e070b27d59e8 :: false 2020-08-28 00:00:15 | [Mutex] waiting for: [received:nodes:23b9435e-ac98-4c10-8da3-0c200023b62c:localhost] 2020-08-28 00:00:15 | [Mutex] received everything. 2020-08-28 00:00:15 | [Mutex] isItemNotified: received:node:23b9435e-ac98-4c10-8da3-0c200023b62c:localhost:node-45985386-b9f9-4da9-b2e1-e070b27d59e8:Node 45985386-b9f9-4da9-b2e1-e070b27d59e8 :: false |
publishItemsToNodes | 0.184s |
2020-08-28 00:00:12 |
2020-08-28 00:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:12 | ------------------------------------ 2020-08-28 00:00:12 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-45985386-b9f9-4da9-b2e1-e070b27d59e8</node><item-id>item-3fc666b5-3c11-4f13-90e5-02f4cbf503ab</item-id><entry><test>item-3fc666b5-3c11-4f13-90e5-02f4cbf503ab</test></entry></data> 2020-08-28 00:00:12 | 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-3fc666b5-3c11-4f13-90e5-02f4cbf503ab</value></item-id></result> 2020-08-28 00:00:12 | [Mutex] waiting for: [published:item:notifieditem-3fc666b5-3c11-4f13-90e5-02f4cbf503ab:admin@test-domain.com] 2020-08-28 00:00:12 | [Mutex] received everything. 2020-08-28 00:00:12 | [Mutex] isItemNotified: published:item:notifieditem-3fc666b5-3c11-4f13-90e5-02f4cbf503ab:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2020-08-28 00:00:13 |
2020-08-28 00:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:13 | ------------------------------------ 2020-08-28 00:00:13 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-45985386-b9f9-4da9-b2e1-e070b27d59e8</node><item-id>item-3fc666b5-3c11-4f13-90e5-02f4cbf503ab</item-id></data> 2020-08-28 00:00:13 | 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-3fc666b5-3c11-4f13-90e5-02f4cbf503ab</value></item-id></result> 2020-08-28 00:00:13 | [Mutex] received everything. 2020-08-28 00:00:13 | [Mutex] isItemNotified: retracted:item:notifieditem-3fc666b5-3c11-4f13-90e5-02f4cbf503ab:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.197s |
2020-08-28 00:00:12 |
2020-08-28 00:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:12 | ------------------------------------ 2020-08-28 00:00:12 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-45985386-b9f9-4da9-b2e1-e070b27d59e8</node><item-id>item-3fc666b5-3c11-4f13-90e5-02f4cbf503ab</item-id></data> 2020-08-28 00:00:13 | 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-45985386-b9f9-4da9-b2e1-e070b27d59e8</value></node><item-id type="text-single" label="Item ID"><value>item-3fc666b5-3c11-4f13-90e5-02f4cbf503ab</value></item-id><item type="text-multi" label="Item"><value><item id="item-3fc666b5-3c11-4f13-90e5-02f4cbf503ab"><test>item-3fc666b5-3c11-4f13-90e5-02f4cbf503ab</test></item></value></item></result> 2020-08-28 00:00:13 | [Mutex] notify: [retrieved:item:item-3fc666b5-3c11-4f13-90e5-02f4cbf503ab:payload-matches:true:localhost] 2020-08-28 00:00:13 | [Mutex] received everything. 2020-08-28 00:00:13 | [Mutex] isItemNotified: retrieved:item:item-3fc666b5-3c11-4f13-90e5-02f4cbf503ab:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-08-28 00:00:13 |
2020-08-28 00:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:13 | ------------------------------------ 2020-08-28 00:00:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-08-28 00:00:13 | 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-e8cf0ea6-d5ea-4b01-9973-2c965a5e1a2d</value><value>node-45985386-b9f9-4da9-b2e1-e070b27d59e8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-08-28 00:00:13 |
2020-08-28 00:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:13 | ------------------------------------ 2020-08-28 00:00:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-45985386-b9f9-4da9-b2e1-e070b27d59e8)</node-pattern></data> 2020-08-28 00:00:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.149s |
2020-08-28 00:00:11 |
2020-08-28 00:00:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:11 | ------------------------------------ 2020-08-28 00:00:11 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-45985386-b9f9-4da9-b2e1-e070b27d59e8</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-28 00:00:11 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.270s |
2020-08-28 00:00:13 |
2020-08-28 00:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-08-28 00:00:13 | ------------------------------------ 2020-08-28 00:00:13 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-45985386-b9f9-4da9-b2e1-e070b27d59e8</node><jids><value>admin@test-domain.com</value></jids></data> 2020-08-28 00:00:13 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |