Test duration : 10.085s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2021-05-06 22:36:28 |
2021-05-06 22:36:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:28 | ------------------------------------ 2021-05-06 22:36:28 | [Mutex] waiting for: [configured:node:node-76bbc8c1-2ffa-4923-bda2-37e164479e23:node-1746616d-b5c0-416c-9183-6db3cbb73e72] 2021-05-06 22:36:28 | [Mutex] received everything. 2021-05-06 22:36:28 | [Mutex] isItemNotified: configured:node:node-76bbc8c1-2ffa-4923-bda2-37e164479e23:node-1746616d-b5c0-416c-9183-6db3cbb73e72 :: true 2021-05-06 22:36:29 | [Mutex] waiting for: [received:nodes:d3cb0f03-7c8c-4870-b43e-bca71ac67ba9:localhost] 2021-05-06 22:36:29 | [Mutex] received everything. 2021-05-06 22:36:29 | [Mutex] isItemNotified: received:node:d3cb0f03-7c8c-4870-b43e-bca71ac67ba9:localhost:node-76bbc8c1-2ffa-4923-bda2-37e164479e23:Node 76bbc8c1-2ffa-4923-bda2-37e164479e23 :: true 2021-05-06 22:36:29 | [Mutex] waiting for: [received:nodes:d8935772-38c5-45f9-bcc8-dfb18c234dd5:localhost] 2021-05-06 22:36:29 | [Mutex] received everything. 2021-05-06 22:36:29 | [Mutex] isItemNotified: received:node:d8935772-38c5-45f9-bcc8-dfb18c234dd5:localhost:node-76bbc8c1-2ffa-4923-bda2-37e164479e23:Node 76bbc8c1-2ffa-4923-bda2-37e164479e23 :: false |
createNodes | 1.544s |
2021-05-06 22:36:25 |
2021-05-06 22:36:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:25 | ------------------------------------ 2021-05-06 22:36:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-76bbc8c1-2ffa-4923-bda2-37e164479e23</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 76bbc8c1-2ffa-4923-bda2-37e164479e23</title></pubsub></data> 2021-05-06 22:36:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 22:36:27 | [Mutex] waiting for: [received:nodes:8441f54b-d873-4683-bb69-93565f25c443:localhost] 2021-05-06 22:36:27 | [Mutex] received everything. 2021-05-06 22:36:27 | [Mutex] isItemNotified: received:node:8441f54b-d873-4683-bb69-93565f25c443:localhost:node-76bbc8c1-2ffa-4923-bda2-37e164479e23:Node 76bbc8c1-2ffa-4923-bda2-37e164479e23 :: true |
createSubnodes | 1.021s |
2021-05-06 22:36:27 |
2021-05-06 22:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:27 | ------------------------------------ 2021-05-06 22:36:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1746616d-b5c0-416c-9183-6db3cbb73e72</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1746616d-b5c0-416c-9183-6db3cbb73e72</title></pubsub></data> 2021-05-06 22:36:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 22:36:28 | [Mutex] waiting for: [received:nodes:1de8e8db-e161-4e1b-bff7-485a88c26dcc:localhost] 2021-05-06 22:36:28 | [Mutex] received everything. 2021-05-06 22:36:28 | [Mutex] isItemNotified: received:node:1de8e8db-e161-4e1b-bff7-485a88c26dcc:localhost:node-1746616d-b5c0-416c-9183-6db3cbb73e72:Node 1746616d-b5c0-416c-9183-6db3cbb73e72 :: true |
deleteNodes | 1.019s |
2021-05-06 22:36:34 |
2021-05-06 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:34 | ------------------------------------ 2021-05-06 22:36:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1746616d-b5c0-416c-9183-6db3cbb73e72</node></data> 2021-05-06 22:36:34 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 22:36:35 | [Mutex] waiting for: [received:nodes:63ba2efb-eebe-44e8-85e5-60c4d2307c9d:localhost] 2021-05-06 22:36:35 | [Mutex] received everything. 2021-05-06 22:36:35 | [Mutex] isItemNotified: received:node:63ba2efb-eebe-44e8-85e5-60c4d2307c9d:localhost:node-1746616d-b5c0-416c-9183-6db3cbb73e72:Node 1746616d-b5c0-416c-9183-6db3cbb73e72 :: false |
deleteSubnodes | 1.170s |
2021-05-06 22:36:32 |
2021-05-06 22:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:32 | ------------------------------------ 2021-05-06 22:36:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-76bbc8c1-2ffa-4923-bda2-37e164479e23</node></data> 2021-05-06 22:36:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 22:36:34 | [Mutex] waiting for: [received:nodes:00d869e4-0d1c-4d48-b4eb-fa4d60105de2:localhost] 2021-05-06 22:36:34 | [Mutex] waiting for: [received:nodes:00d869e4-0d1c-4d48-b4eb-fa4d60105de2:localhost] 2021-05-06 22:36:34 | [Mutex] received everything. 2021-05-06 22:36:34 | [Mutex] isItemNotified: received:node:00d869e4-0d1c-4d48-b4eb-fa4d60105de2:localhost:node-76bbc8c1-2ffa-4923-bda2-37e164479e23:Node 76bbc8c1-2ffa-4923-bda2-37e164479e23 :: false 2021-05-06 22:36:34 | [Mutex] waiting for: [received:nodes:f324eda3-206d-4f44-aec0-edac06a4d43f:localhost] 2021-05-06 22:36:34 | [Mutex] received everything. 2021-05-06 22:36:34 | [Mutex] isItemNotified: received:node:f324eda3-206d-4f44-aec0-edac06a4d43f:localhost:node-76bbc8c1-2ffa-4923-bda2-37e164479e23:Node 76bbc8c1-2ffa-4923-bda2-37e164479e23 :: false |
publishItemsToNodes | 0.304s |
2021-05-06 22:36:30 |
2021-05-06 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:30 | ------------------------------------ 2021-05-06 22:36:30 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-76bbc8c1-2ffa-4923-bda2-37e164479e23</node><item-id>item-49373a0a-c748-4aa4-ab34-e0d5fc23d07a</item-id><entry><test>item-49373a0a-c748-4aa4-ab34-e0d5fc23d07a</test></entry></data> 2021-05-06 22:36:31 | 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-49373a0a-c748-4aa4-ab34-e0d5fc23d07a</value></item-id></result> 2021-05-06 22:36:31 | [Mutex] received everything. 2021-05-06 22:36:31 | [Mutex] isItemNotified: published:item:notifieditem-49373a0a-c748-4aa4-ab34-e0d5fc23d07a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.219s |
2021-05-06 22:36:31 |
2021-05-06 22:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:31 | ------------------------------------ 2021-05-06 22:36:31 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-76bbc8c1-2ffa-4923-bda2-37e164479e23</node><item-id>item-49373a0a-c748-4aa4-ab34-e0d5fc23d07a</item-id></data> 2021-05-06 22:36:31 | 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-49373a0a-c748-4aa4-ab34-e0d5fc23d07a</value></item-id></result> 2021-05-06 22:36:31 | [Mutex] received everything. 2021-05-06 22:36:31 | [Mutex] isItemNotified: retracted:item:notifieditem-49373a0a-c748-4aa4-ab34-e0d5fc23d07a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.289s |
2021-05-06 22:36:31 |
2021-05-06 22:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:31 | ------------------------------------ 2021-05-06 22:36:31 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-76bbc8c1-2ffa-4923-bda2-37e164479e23</node><item-id>item-49373a0a-c748-4aa4-ab34-e0d5fc23d07a</item-id></data> 2021-05-06 22:36:31 | 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-76bbc8c1-2ffa-4923-bda2-37e164479e23</value></node><item-id label="Item ID" type="text-single"><value>item-49373a0a-c748-4aa4-ab34-e0d5fc23d07a</value></item-id><item label="Item" type="text-multi"><value><item id="item-49373a0a-c748-4aa4-ab34-e0d5fc23d07a"><test>item-49373a0a-c748-4aa4-ab34-e0d5fc23d07a</test></item></value></item></result> 2021-05-06 22:36:31 | [Mutex] notify: [retrieved:item:item-49373a0a-c748-4aa4-ab34-e0d5fc23d07a:payload-matches:true:localhost] 2021-05-06 22:36:31 | [Mutex] received everything. 2021-05-06 22:36:31 | [Mutex] isItemNotified: retrieved:item:item-49373a0a-c748-4aa4-ab34-e0d5fc23d07a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-06 22:36:31 |
2021-05-06 22:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:31 | ------------------------------------ 2021-05-06 22:36:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-06 22:36:31 | 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-1746616d-b5c0-416c-9183-6db3cbb73e72</value><value>node-76bbc8c1-2ffa-4923-bda2-37e164479e23</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-05-06 22:36:31 |
2021-05-06 22:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:31 | ------------------------------------ 2021-05-06 22:36:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-76bbc8c1-2ffa-4923-bda2-37e164479e23)</node-pattern></data> 2021-05-06 22:36:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.134s |
2021-05-06 22:36:29 |
2021-05-06 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:29 | ------------------------------------ 2021-05-06 22:36:29 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-76bbc8c1-2ffa-4923-bda2-37e164479e23</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-06 22:36:29 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.263s |
2021-05-06 22:36:31 |
2021-05-06 22:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 22:36:31 | ------------------------------------ 2021-05-06 22:36:31 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-76bbc8c1-2ffa-4923-bda2-37e164479e23</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-06 22:36:31 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |