Test duration : 10.155s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.043s |
2020-11-29 22:02:40 |
2020-11-29 22:02:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:40 | ------------------------------------ 2020-11-29 22:02:40 | [Mutex] waiting for: [configured:node:node-3fbbe83d-e09e-48e5-96ae-11e587d935d8:node-fcde5f9e-7d56-437c-97ff-3722563529ac] 2020-11-29 22:02:41 | [Mutex] received everything. 2020-11-29 22:02:41 | [Mutex] isItemNotified: configured:node:node-3fbbe83d-e09e-48e5-96ae-11e587d935d8:node-fcde5f9e-7d56-437c-97ff-3722563529ac :: true 2020-11-29 22:02:42 | [Mutex] waiting for: [received:nodes:1f033ba5-0d3c-4ec8-91ce-65b2e2aa3cdb:localhost] 2020-11-29 22:02:42 | [Mutex] received everything. 2020-11-29 22:02:42 | [Mutex] isItemNotified: received:node:1f033ba5-0d3c-4ec8-91ce-65b2e2aa3cdb:localhost:node-3fbbe83d-e09e-48e5-96ae-11e587d935d8:Node 3fbbe83d-e09e-48e5-96ae-11e587d935d8 :: true 2020-11-29 22:02:42 | [Mutex] waiting for: [received:nodes:27f313f7-c423-4d2e-903f-de56e17d45f8:localhost] 2020-11-29 22:02:42 | [Mutex] waiting for: [received:nodes:27f313f7-c423-4d2e-903f-de56e17d45f8:localhost] 2020-11-29 22:02:42 | [Mutex] received everything. 2020-11-29 22:02:42 | [Mutex] isItemNotified: received:node:27f313f7-c423-4d2e-903f-de56e17d45f8:localhost:node-3fbbe83d-e09e-48e5-96ae-11e587d935d8:Node 3fbbe83d-e09e-48e5-96ae-11e587d935d8 :: false |
createNodes | 1.538s |
2020-11-29 22:02:38 |
2020-11-29 22:02:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:38 | ------------------------------------ 2020-11-29 22:02:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3fbbe83d-e09e-48e5-96ae-11e587d935d8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3fbbe83d-e09e-48e5-96ae-11e587d935d8</title></pubsub></data> 2020-11-29 22:02:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 22:02:39 | [Mutex] waiting for: [received:nodes:5d2a6329-8842-42e1-8969-136d9f90e4bc:localhost] 2020-11-29 22:02:39 | [Mutex] waiting for: [received:nodes:5d2a6329-8842-42e1-8969-136d9f90e4bc:localhost] 2020-11-29 22:02:39 | [Mutex] received everything. 2020-11-29 22:02:39 | [Mutex] isItemNotified: received:node:5d2a6329-8842-42e1-8969-136d9f90e4bc:localhost:node-3fbbe83d-e09e-48e5-96ae-11e587d935d8:Node 3fbbe83d-e09e-48e5-96ae-11e587d935d8 :: true |
createSubnodes | 1.032s |
2020-11-29 22:02:39 |
2020-11-29 22:02:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:39 | ------------------------------------ 2020-11-29 22:02:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fcde5f9e-7d56-437c-97ff-3722563529ac</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node fcde5f9e-7d56-437c-97ff-3722563529ac</title></pubsub></data> 2020-11-29 22:02:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 22:02:40 | [Mutex] waiting for: [received:nodes:9147d337-1600-4ba9-aeb9-8b64952eba57:localhost] 2020-11-29 22:02:40 | [Mutex] received everything. 2020-11-29 22:02:40 | [Mutex] isItemNotified: received:node:9147d337-1600-4ba9-aeb9-8b64952eba57:localhost:node-fcde5f9e-7d56-437c-97ff-3722563529ac:Node fcde5f9e-7d56-437c-97ff-3722563529ac :: true |
deleteNodes | 1.019s |
2020-11-29 22:02:46 |
2020-11-29 22:02:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:46 | ------------------------------------ 2020-11-29 22:02:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fcde5f9e-7d56-437c-97ff-3722563529ac</node></data> 2020-11-29 22:02:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 22:02:47 | [Mutex] waiting for: [received:nodes:8a215bf6-7bde-474d-a622-657d40372acf:localhost] 2020-11-29 22:02:47 | [Mutex] received everything. 2020-11-29 22:02:47 | [Mutex] isItemNotified: received:node:8a215bf6-7bde-474d-a622-657d40372acf:localhost:node-fcde5f9e-7d56-437c-97ff-3722563529ac:Node fcde5f9e-7d56-437c-97ff-3722563529ac :: false |
deleteSubnodes | 1.153s |
2020-11-29 22:02:45 |
2020-11-29 22:02:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:45 | ------------------------------------ 2020-11-29 22:02:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3fbbe83d-e09e-48e5-96ae-11e587d935d8</node></data> 2020-11-29 22:02:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-29 22:02:46 | [Mutex] waiting for: [received:nodes:29b7fcf4-e98f-46d5-8ef2-de22a6b2248f:localhost] 2020-11-29 22:02:46 | [Mutex] received everything. 2020-11-29 22:02:46 | [Mutex] isItemNotified: received:node:29b7fcf4-e98f-46d5-8ef2-de22a6b2248f:localhost:node-3fbbe83d-e09e-48e5-96ae-11e587d935d8:Node 3fbbe83d-e09e-48e5-96ae-11e587d935d8 :: false 2020-11-29 22:02:46 | [Mutex] waiting for: [received:nodes:de0e9379-89b3-4d62-94fd-2968275df91a:localhost] 2020-11-29 22:02:46 | [Mutex] received everything. 2020-11-29 22:02:46 | [Mutex] isItemNotified: received:node:de0e9379-89b3-4d62-94fd-2968275df91a:localhost:node-3fbbe83d-e09e-48e5-96ae-11e587d935d8:Node 3fbbe83d-e09e-48e5-96ae-11e587d935d8 :: false |
publishItemsToNodes | 0.222s |
2020-11-29 22:02:43 |
2020-11-29 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:43 | ------------------------------------ 2020-11-29 22:02:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-3fbbe83d-e09e-48e5-96ae-11e587d935d8</node><item-id>item-ab449529-afb8-4a25-b52b-1a632d5fa1cc</item-id><entry><test>item-ab449529-afb8-4a25-b52b-1a632d5fa1cc</test></entry></data> 2020-11-29 22:02:43 | 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-ab449529-afb8-4a25-b52b-1a632d5fa1cc</value></item-id></result> 2020-11-29 22:02:43 | [Mutex] received everything. 2020-11-29 22:02:43 | [Mutex] isItemNotified: published:item:notifieditem-ab449529-afb8-4a25-b52b-1a632d5fa1cc:admin@test-domain.com :: true |
retractItemsFromNodes | 0.235s |
2020-11-29 22:02:43 |
2020-11-29 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:43 | ------------------------------------ 2020-11-29 22:02:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-3fbbe83d-e09e-48e5-96ae-11e587d935d8</node><item-id>item-ab449529-afb8-4a25-b52b-1a632d5fa1cc</item-id></data> 2020-11-29 22:02:44 | 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-ab449529-afb8-4a25-b52b-1a632d5fa1cc</value></item-id></result> 2020-11-29 22:02:44 | [Mutex] received everything. 2020-11-29 22:02:44 | [Mutex] isItemNotified: retracted:item:notifieditem-ab449529-afb8-4a25-b52b-1a632d5fa1cc:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.267s |
2020-11-29 22:02:43 |
2020-11-29 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:43 | ------------------------------------ 2020-11-29 22:02:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-3fbbe83d-e09e-48e5-96ae-11e587d935d8</node><item-id>item-ab449529-afb8-4a25-b52b-1a632d5fa1cc</item-id></data> 2020-11-29 22:02:43 | 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-3fbbe83d-e09e-48e5-96ae-11e587d935d8</value></node><item-id label="Item ID" type="text-single"><value>item-ab449529-afb8-4a25-b52b-1a632d5fa1cc</value></item-id><item label="Item" type="text-multi"><value><item id="item-ab449529-afb8-4a25-b52b-1a632d5fa1cc"><test>item-ab449529-afb8-4a25-b52b-1a632d5fa1cc</test></item></value></item></result> 2020-11-29 22:02:43 | [Mutex] notify: [retrieved:item:item-ab449529-afb8-4a25-b52b-1a632d5fa1cc:payload-matches:true:localhost] 2020-11-29 22:02:43 | [Mutex] received everything. 2020-11-29 22:02:43 | [Mutex] isItemNotified: retrieved:item:item-ab449529-afb8-4a25-b52b-1a632d5fa1cc:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-29 22:02:43 |
2020-11-29 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:43 | ------------------------------------ 2020-11-29 22:02:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-29 22:02:43 | 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-fcde5f9e-7d56-437c-97ff-3722563529ac</value><value>node-3fbbe83d-e09e-48e5-96ae-11e587d935d8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-11-29 22:02:43 |
2020-11-29 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:43 | ------------------------------------ 2020-11-29 22:02:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3fbbe83d-e09e-48e5-96ae-11e587d935d8)</node-pattern></data> 2020-11-29 22:02:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.185s |
2020-11-29 22:02:42 |
2020-11-29 22:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:42 | ------------------------------------ 2020-11-29 22:02:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-3fbbe83d-e09e-48e5-96ae-11e587d935d8</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-29 22:02:42 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.279s |
2020-11-29 22:02:44 |
2020-11-29 22:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-29 22:02:44 | ------------------------------------ 2020-11-29 22:02:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-3fbbe83d-e09e-48e5-96ae-11e587d935d8</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-29 22:02:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |