Test duration : 10.247s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.112s |
2021-05-05 22:30:32 |
2021-05-05 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:32 | ------------------------------------ 2021-05-05 22:30:32 | [Mutex] waiting for: [configured:node:node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f:node-f1160108-d29d-4e0b-8c12-e4b63a357651] 2021-05-05 22:30:32 | [Mutex] received everything. 2021-05-05 22:30:32 | [Mutex] isItemNotified: configured:node:node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f:node-f1160108-d29d-4e0b-8c12-e4b63a357651 :: true 2021-05-05 22:30:33 | [Mutex] waiting for: [received:nodes:3fcd388f-e184-4b2a-92dd-7156ca19d749:localhost] 2021-05-05 22:30:33 | [Mutex] received everything. 2021-05-05 22:30:33 | [Mutex] isItemNotified: received:node:3fcd388f-e184-4b2a-92dd-7156ca19d749:localhost:node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f:Node 9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f :: true 2021-05-05 22:30:33 | [Mutex] waiting for: [received:nodes:0adbb0bb-6b2d-4822-b55b-515382bb089c:localhost] 2021-05-05 22:30:33 | [Mutex] received everything. 2021-05-05 22:30:33 | [Mutex] isItemNotified: received:node:0adbb0bb-6b2d-4822-b55b-515382bb089c:localhost:node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f:Node 9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f :: false |
createNodes | 1.663s |
2021-05-05 22:30:29 |
2021-05-05 22:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:29 | ------------------------------------ 2021-05-05 22:30:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</title></pubsub></data> 2021-05-05 22:30:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-05 22:30:31 | [Mutex] waiting for: [received:nodes:b3f73d22-db17-4a4c-939f-5a34b4384bfe:localhost] 2021-05-05 22:30:31 | [Mutex] waiting for: [received:nodes:b3f73d22-db17-4a4c-939f-5a34b4384bfe:localhost] 2021-05-05 22:30:31 | [Mutex] received everything. 2021-05-05 22:30:31 | [Mutex] isItemNotified: received:node:b3f73d22-db17-4a4c-939f-5a34b4384bfe:localhost:node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f:Node 9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f :: true |
createSubnodes | 1.025s |
2021-05-05 22:30:31 |
2021-05-05 22:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:31 | ------------------------------------ 2021-05-05 22:30:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f1160108-d29d-4e0b-8c12-e4b63a357651</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f1160108-d29d-4e0b-8c12-e4b63a357651</title></pubsub></data> 2021-05-05 22:30:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-05 22:30:32 | [Mutex] waiting for: [received:nodes:60a56e3c-93dc-4608-a972-727670b3e962:localhost] 2021-05-05 22:30:32 | [Mutex] received everything. 2021-05-05 22:30:32 | [Mutex] isItemNotified: received:node:60a56e3c-93dc-4608-a972-727670b3e962:localhost:node-f1160108-d29d-4e0b-8c12-e4b63a357651:Node f1160108-d29d-4e0b-8c12-e4b63a357651 :: true |
deleteNodes | 1.018s |
2021-05-05 22:30:37 |
2021-05-05 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:37 | ------------------------------------ 2021-05-05 22:30:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f1160108-d29d-4e0b-8c12-e4b63a357651</node></data> 2021-05-05 22:30:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-05 22:30:38 | [Mutex] waiting for: [received:nodes:991344a6-1868-4a51-80de-13d2a8e86f33:localhost] 2021-05-05 22:30:38 | [Mutex] received everything. 2021-05-05 22:30:38 | [Mutex] isItemNotified: received:node:991344a6-1868-4a51-80de-13d2a8e86f33:localhost:node-f1160108-d29d-4e0b-8c12-e4b63a357651:Node f1160108-d29d-4e0b-8c12-e4b63a357651 :: false |
deleteSubnodes | 1.193s |
2021-05-05 22:30:36 |
2021-05-05 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:36 | ------------------------------------ 2021-05-05 22:30:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</node></data> 2021-05-05 22:30:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-05 22:30:37 | [Mutex] waiting for: [received:nodes:5ee57aa1-23ee-494e-9cb1-f6b12a576a51:localhost] 2021-05-05 22:30:37 | [Mutex] waiting for: [received:nodes:5ee57aa1-23ee-494e-9cb1-f6b12a576a51:localhost] 2021-05-05 22:30:37 | [Mutex] received everything. 2021-05-05 22:30:37 | [Mutex] isItemNotified: received:node:5ee57aa1-23ee-494e-9cb1-f6b12a576a51:localhost:node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f:Node 9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f :: false 2021-05-05 22:30:37 | [Mutex] waiting for: [received:nodes:470daedf-85b1-45a9-b35b-bd4833df363e:localhost] 2021-05-05 22:30:37 | [Mutex] received everything. 2021-05-05 22:30:37 | [Mutex] isItemNotified: received:node:470daedf-85b1-45a9-b35b-bd4833df363e:localhost:node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f:Node 9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f :: false |
publishItemsToNodes | 0.229s |
2021-05-05 22:30:34 |
2021-05-05 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:34 | ------------------------------------ 2021-05-05 22:30:34 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</node><item-id>item-486530bd-42cf-4837-a107-9183e51c27c9</item-id><entry><test>item-486530bd-42cf-4837-a107-9183e51c27c9</test></entry></data> 2021-05-05 22:30:34 | 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-486530bd-42cf-4837-a107-9183e51c27c9</value></item-id></result> 2021-05-05 22:30:34 | [Mutex] received everything. 2021-05-05 22:30:34 | [Mutex] isItemNotified: published:item:notifieditem-486530bd-42cf-4837-a107-9183e51c27c9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2021-05-05 22:30:35 |
2021-05-05 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:35 | ------------------------------------ 2021-05-05 22:30:35 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</node><item-id>item-486530bd-42cf-4837-a107-9183e51c27c9</item-id></data> 2021-05-05 22:30:35 | 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-486530bd-42cf-4837-a107-9183e51c27c9</value></item-id></result> 2021-05-05 22:30:35 | [Mutex] received everything. 2021-05-05 22:30:35 | [Mutex] isItemNotified: retracted:item:notifieditem-486530bd-42cf-4837-a107-9183e51c27c9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.283s |
2021-05-05 22:30:34 |
2021-05-05 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:34 | ------------------------------------ 2021-05-05 22:30:34 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</node><item-id>item-486530bd-42cf-4837-a107-9183e51c27c9</item-id></data> 2021-05-05 22:30:35 | 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-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</value></node><item-id type="text-single" label="Item ID"><value>item-486530bd-42cf-4837-a107-9183e51c27c9</value></item-id><item type="text-multi" label="Item"><value><item id="item-486530bd-42cf-4837-a107-9183e51c27c9"><test>item-486530bd-42cf-4837-a107-9183e51c27c9</test></item></value></item></result> 2021-05-05 22:30:35 | [Mutex] notify: [retrieved:item:item-486530bd-42cf-4837-a107-9183e51c27c9:payload-matches:true:localhost] 2021-05-05 22:30:35 | [Mutex] received everything. 2021-05-05 22:30:35 | [Mutex] isItemNotified: retrieved:item:item-486530bd-42cf-4837-a107-9183e51c27c9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-05-05 22:30:35 |
2021-05-05 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:35 | ------------------------------------ 2021-05-05 22:30:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-05 22:30:35 | 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-f1160108-d29d-4e0b-8c12-e4b63a357651</value><value>node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-05-05 22:30:35 |
2021-05-05 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:35 | ------------------------------------ 2021-05-05 22:30:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f)</node-pattern></data> 2021-05-05 22:30:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.242s |
2021-05-05 22:30:33 |
2021-05-05 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:33 | ------------------------------------ 2021-05-05 22:30:33 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-05 22:30:33 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.231s |
2021-05-05 22:30:35 |
2021-05-05 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-05 22:30:35 | ------------------------------------ 2021-05-05 22:30:35 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9c8fcfaf-b8f1-42f7-b91b-17cc6a79676f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-05 22:30:35 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |